|
18 | 18 | sys.path.insert(0, os.path.abspath('../../..')) |
19 | 19 | sys.path.insert(0, os.path.abspath('../../../mdf_forge')) |
20 | 20 | sys.path.insert(0, os.path.abspath('../../../tests')) |
21 | | -import recommonmark |
22 | | -from recommonmark.parser import CommonMarkParser |
23 | | -from recommonmark.transform import AutoStructify |
24 | | - |
25 | 21 |
|
26 | 22 | # -- Project information ----------------------------------------------------- |
27 | 23 |
|
|
49 | 45 | 'sphinx.ext.intersphinx', |
50 | 46 | 'sphinx.ext.ifconfig', |
51 | 47 | 'sphinx.ext.napoleon', |
52 | | - 'nbsphinx', |
53 | 48 | 'sphinx.ext.mathjax', |
54 | 49 | 'IPython.sphinxext.ipython_console_highlighting', |
55 | 50 | ] |
|
67 | 62 |
|
68 | 63 |
|
69 | 64 | # Use Markdown and reStructuredText in the same Sphinx project. |
70 | | -source_parsers = { |
71 | | - '.md': CommonMarkParser, |
72 | | -} |
| 65 | +# from recommonmark.parser import CommonMarkParser |
| 66 | + |
| 67 | +# source_parsers = { |
| 68 | +# '.md': CommonMarkParser, |
| 69 | +# } |
| 70 | + |
73 | 71 | source_suffix = ['.rst', '.md'] |
74 | 72 |
|
75 | 73 | # The master toctree document. |
|
225 | 223 | # Example configuration for inter sphinx: refer to the Python standard library. |
226 | 224 | #intersphinx_mapping = {'python': ('https://docs.python.org/3', None)} |
227 | 225 |
|
228 | | -# app setup hook |
229 | | -github_doc_root = 'https://github.com/rtfd/recommonmark/tree/master/doc/' |
230 | | -def setup(app): |
231 | | - app.add_config_value('recommonmark_config', { |
232 | | - 'url_resolver': lambda url: github_doc_root + url, |
233 | | - 'auto_toc_tree_section': 'Contents', |
234 | | - 'enable_eval_rst': True, |
235 | | - 'enable_auto_doc_ref': True, |
236 | | - }, True) |
237 | | - app.add_transform(AutoStructify) |
238 | 226 |
|
0 commit comments