Skip to content

Commit b47bdb1

Browse files
committed
Remove recommonmark setup
This is something I forgot to do in JuliaPy#283.
1 parent e189b40 commit b47bdb1

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

docs/source/conf.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@
4242
'sphinx.ext.napoleon',
4343
'sphinx.ext.autodoc',
4444
'sphinx.ext.intersphinx',
45-
'recommonmark',
4645
]
4746

4847
# Add any paths that contain templates here, relative to this directory.
@@ -53,7 +52,6 @@
5352
#
5453
source_suffix = {
5554
'.rst': 'restructuredtext',
56-
'.md': 'markdown',
5755
}
5856

5957
# The master toctree document.
@@ -204,17 +202,3 @@
204202

205203
# Example configuration for intersphinx: refer to the Python standard library.
206204
intersphinx_mapping = {'https://docs.python.org/': None}
207-
208-
# -- Options for recommonmark extension --------------------------------------
209-
210-
github_doc_root = 'https://github.com/JuliaPy/pyjulia/tree/master/docs/source'
211-
212-
213-
def setup(app):
214-
from recommonmark.transform import AutoStructify
215-
216-
app.add_config_value('recommonmark_config', {
217-
'url_resolver': lambda url: github_doc_root + url,
218-
'auto_toc_tree_section': 'Contents',
219-
}, True)
220-
app.add_transform(AutoStructify)

0 commit comments

Comments
 (0)