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 4
4
from os .path import dirname , relpath
5
5
6
6
import alagitpull
7
- from recommonmark .transform import AutoStructify
8
7
9
8
import libtmux # NOQA
10
9
from libtmux import test # NOQA
25
24
extensions = [
26
25
'sphinx.ext.autodoc' ,
27
26
'sphinx.ext.intersphinx' ,
27
+ 'sphinx_autodoc_typehints' ,
28
28
'sphinx.ext.todo' ,
29
29
'sphinx.ext.linkcode' ,
30
30
'sphinx.ext.napoleon' ,
31
31
'alagitpull' ,
32
32
'sphinx_issues' ,
33
- 'recommonmark ' ,
33
+ 'myst_parser ' ,
34
34
]
35
35
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
-
52
36
issues_github_path = about ['__github__' ].replace ('https://github.com/' , '' )
53
37
54
38
templates_path = ['_templates' ]
You can’t perform that action at this time.
0 commit comments