File tree Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Expand file tree Collapse file tree 1 file changed +2
-18
lines changed Original file line number Diff line number Diff line change 44from os .path import dirname , relpath
55
66import alagitpull
7- from recommonmark .transform import AutoStructify
87
98import libtmux # NOQA
109from libtmux import test # NOQA
2524extensions = [
2625 'sphinx.ext.autodoc' ,
2726 'sphinx.ext.intersphinx' ,
27+ 'sphinx_autodoc_typehints' ,
2828 'sphinx.ext.todo' ,
2929 'sphinx.ext.linkcode' ,
3030 'sphinx.ext.napoleon' ,
3131 'alagitpull' ,
3232 'sphinx_issues' ,
33- 'recommonmark ' ,
33+ 'myst_parser ' ,
3434]
3535
36- # app setup hook
37- def setup (app ):
38- app .add_config_value (
39- 'recommonmark_config' ,
40- {
41- #'url_resolver': lambda url: github_doc_root + url,
42- 'enable_auto_toc_tree' : True ,
43- 'auto_toc_tree_section' : 'Contents' ,
44- 'auto_code_block' : True ,
45- 'enable_eval_rst' : True ,
46- },
47- True ,
48- )
49- app .add_transform (AutoStructify )
50-
51-
5236issues_github_path = about ['__github__' ].replace ('https://github.com/' , '' )
5337
5438templates_path = ['_templates' ]
You can’t perform that action at this time.
0 commit comments