mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 04:53:01 +00:00
use autodoc-traits extension for docbuild
This commit is contained in:
@@ -24,3 +24,4 @@ dependencies:
|
||||
- attrs>=17.4.0
|
||||
- sphinx-copybutton
|
||||
- alabaster_jupyterhub
|
||||
- autodoc-traits
|
||||
|
@@ -2,6 +2,7 @@
|
||||
# if you change this file
|
||||
-r ../requirements.txt
|
||||
alabaster_jupyterhub
|
||||
autodoc-traits
|
||||
recommonmark==0.5.0
|
||||
sphinx-copybutton
|
||||
sphinx>=1.7
|
||||
|
@@ -17,7 +17,7 @@ extensions = [
|
||||
'sphinx.ext.autodoc',
|
||||
'sphinx.ext.intersphinx',
|
||||
'sphinx.ext.napoleon',
|
||||
'autodoc_traits',
|
||||
'autodoc-traits',
|
||||
'sphinx_copybutton',
|
||||
]
|
||||
|
||||
@@ -37,7 +37,6 @@ from os.path import dirname
|
||||
docs = dirname(dirname(__file__))
|
||||
root = dirname(docs)
|
||||
sys.path.insert(0, root)
|
||||
sys.path.insert(0, os.path.join(docs, 'sphinxext'))
|
||||
|
||||
import jupyterhub
|
||||
|
||||
|
Reference in New Issue
Block a user