-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
conf.py
61 lines (49 loc) · 1.37 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
import sys, os
import sphinx_rtd_theme
#import recommonmark
import myst_parser
#from recommonmark.transform import AutoStructify
from sphinx.highlighting import lexers
from pygments.lexers.web import PhpLexer
from pygments.lexers.web import HtmlLexer
from pygments.lexers.web import JsonLexer
from datetime import datetime
lexers['php'] = PhpLexer(startinline=True)
lexers['php-annotations'] = PhpLexer(startinline=True)
lexers['html'] = HtmlLexer(startinline=True)
lexers['json'] = JsonLexer(startinline=True)
extensions = [
#'recommonmark',
'myst_parser',
'sphinx_rtd_theme',
'sphinx_copybutton',
'sphinx_markdown_tables',
]
source_suffix = ['.rst', '.md']
master_doc = 'index'
project = 'Warden'
copyright = '2019-2022 by David Alger.'
author = 'David Alger'
version = ''
release = ''
exclude_patterns = ['_build']
html_theme = "sphinx_rtd_theme"
html_show_sourcelink = False
templates_path = ['_templates']
html_extra_path = ['_redirects']
myst_enable_extensions = [
"html_admonition",
"strikethrough",
"colon_fence",
]
#def setup(app):
#app.add_config_value('myst_parser_config', {
#
#}, True)
#app.add_config_value('recommonmark_config', {
# 'auto_toc_tree_section': ['Table of Contents'],
# 'enable_math': False,
# 'enable_inline_math': False,
# 'enable_eval_rst': True,
#}, True)
#app.add_transform(AutoStructify)