-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconf.py
51 lines (42 loc) · 1.32 KB
/
conf.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
from pathlib import Path
import sys
sys.path.append(str(Path(__file__).parent / "src"))
# Project information
project = "POR"
master_doc = "contents"
# Sphinx extension modules as fully qualified strings
extensions = [
"por.sphinx_extensions",
"sphinx.ext.githubpages",
]
# The file extensions of source files. Sphinx uses these suffixes as sources.
source_suffix = {
".rst": "por",
}
# List of relative patterns to ignore when looking for source files.
exclude_patterns = [
# Windows:
"Thumbs.db",
".DS_Store",
# Python:
"venv",
"requirements.txt",
# Sphinx:
"build",
"output.txt", # Link-check output
]
# General settings
gettext_auto_build = False
# HTML output settings
html_show_copyright = False
html_show_sphinx = False
html_title = "por.scouts.org.uk" # Set <title/>
# Theme settings
html_theme_path = ["src/por/sphinx_extensions"]
html_theme = "por_theme" # The actual theme directory (child of html_theme_path)
html_use_index = False
html_style = "" # must be defined here or in theme.conf, but is unused
html_permalinks = False # handled in the Contents transform
pygments_style = 'none' # no need for pygments
html_scaled_image_link = False # don't link to images
templates_path = ['src/por/sphinx_extensions/por_theme/templates'] # Theme template relative paths from `confdir`