Skip to content

Commit 6978bd5

Browse files
committed
docs: Update to use myst_parser
1 parent 2042a69 commit 6978bd5

File tree

1 file changed

+1
-18
lines changed

1 file changed

+1
-18
lines changed

docs/conf.py

Lines changed: 1 addition & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
from os.path import dirname, relpath
55

66
import alagitpull
7-
from recommonmark.transform import AutoStructify
87

98
import tmuxp
109

@@ -30,7 +29,7 @@
3029
'aafig',
3130
'alagitpull',
3231
'sphinx_issues',
33-
'recommonmark',
32+
'myst_parser',
3433
]
3534

3635
issues_github_path = about['__github__'].replace('https://github.com/', '')
@@ -41,22 +40,6 @@
4140

4241
master_doc = 'index'
4342

44-
# app setup hook
45-
def setup(app):
46-
app.add_config_value(
47-
'recommonmark_config',
48-
{
49-
#'url_resolver': lambda url: github_doc_root + url,
50-
'enable_auto_toc_tree': True,
51-
'auto_toc_tree_section': 'Contents',
52-
'auto_code_block': True,
53-
'enable_eval_rst': True,
54-
},
55-
True,
56-
)
57-
app.add_transform(AutoStructify)
58-
59-
6043
project = about['__title__']
6144
copyright = about['__copyright__']
6245

0 commit comments

Comments
 (0)