-
Notifications
You must be signed in to change notification settings - Fork 14
/
conf.py
62 lines (49 loc) · 2.21 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
52
53
54
55
56
57
58
59
60
61
62
# Configuration file for the Sphinx documentation builder.
#
# For the full list of built-in configuration values, see the documentation:
# https://www.sphinx-doc.org/en/master/usage/configuration.html
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'OpenType Shaping Documents'
copyright = '2022, Sponsored by YesLogic'
author = 'Sponsored by YesLogic'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
extensions = ['myst_parser', 'sphinx_external_toc', 'sphinx_multitoc_numbering']
source_suffix = {'.md': 'markdown'}
templates_path = ['_templates']
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store', 'BUILD.md', '**-image-generation-log.md'] # Eventually need to remove the links to image-generation-logs from the root README.md
root_doc = 'README' # Will need to be renamed, eventually....
numfig = True
myst_heading_anchors = 6
myst_enable_extensions = ['smartquotes', 'colon_fence']
external_toc_path = "_toc.yml"
# -- Options for HTML output -------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
html_theme = 'alabaster'
html_static_path = ['_static']
html_sidebars = {
'**': [
'about.html',
'navigation.html',
'searchbox.html',
'sourcelink.html',
]
}
html_theme_options = {
'page_width': '1040px',
'sidebar_width': '260px',
'github_user': 'n8willis',
'github_repo': 'opentype-shaping-documents',
'font_family': 'Source\ Serif\ 4',
'head_font_family': 'Source\ Serif\ 4',
'caption_font_family': 'Source\ Serif\ 4',
'code_font_family': 'Source\ Code\ Pro',
'github_button': True,
'github_type': 'watch',
'github_count': True,
'extra_nav_links': {
'GitHub issues': 'https://github.com/n8willis/opentype-shaping-documents/issues',
'Build process': 'https://github.com/n8willis/opentype-shaping-documents/blob/sphinx/BUILD.md', # Fix the directory path after PR merge; Add contributor-guide link
}
}