mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-10 11:33:01 +00:00
Merge pull request #3021 from rkdarst/fix-docs
Fix docs CI test failure: duplicate object description
This commit is contained in:
@@ -1,7 +1,9 @@
|
|||||||
-r ../requirements.txt
|
-r ../requirements.txt
|
||||||
|
|
||||||
alabaster_jupyterhub
|
alabaster_jupyterhub
|
||||||
autodoc-traits
|
# Temporary fix of #3021. Revert back to released autodoc-traits when
|
||||||
|
# 0.1.0 released.
|
||||||
|
https://github.com/jupyterhub/autodoc-traits/archive/75885ee24636efbfebfceed1043459715049cd84.zip
|
||||||
pydata-sphinx-theme
|
pydata-sphinx-theme
|
||||||
recommonmark>=0.6
|
recommonmark>=0.6
|
||||||
sphinx-copybutton
|
sphinx-copybutton
|
||||||
|
@@ -20,6 +20,7 @@ extensions = [
|
|||||||
'autodoc_traits',
|
'autodoc_traits',
|
||||||
'sphinx_copybutton',
|
'sphinx_copybutton',
|
||||||
'sphinx-jsonschema',
|
'sphinx-jsonschema',
|
||||||
|
'recommonmark',
|
||||||
]
|
]
|
||||||
|
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
@@ -62,12 +63,10 @@ from recommonmark.transform import AutoStructify
|
|||||||
|
|
||||||
def setup(app):
|
def setup(app):
|
||||||
app.add_config_value('recommonmark_config', {'enable_eval_rst': True}, True)
|
app.add_config_value('recommonmark_config', {'enable_eval_rst': True}, True)
|
||||||
app.add_stylesheet('custom.css')
|
app.add_css_file('custom.css')
|
||||||
app.add_transform(AutoStructify)
|
app.add_transform(AutoStructify)
|
||||||
|
|
||||||
|
|
||||||
source_parsers = {'.md': 'recommonmark.parser.CommonMarkParser'}
|
|
||||||
|
|
||||||
source_suffix = ['.rst', '.md']
|
source_suffix = ['.rst', '.md']
|
||||||
# source_encoding = 'utf-8-sig'
|
# source_encoding = 'utf-8-sig'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user