mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-08 10:34:10 +00:00
move to alabaster theme
This commit is contained in:
@@ -21,7 +21,6 @@ extensions = [
|
|||||||
'sphinx.ext.intersphinx',
|
'sphinx.ext.intersphinx',
|
||||||
'sphinx.ext.napoleon',
|
'sphinx.ext.napoleon',
|
||||||
'autodoc_traits',
|
'autodoc_traits',
|
||||||
'jupyter_alabaster_theme',
|
|
||||||
]
|
]
|
||||||
|
|
||||||
templates_path = ['_templates']
|
templates_path = ['_templates']
|
||||||
@@ -67,7 +66,7 @@ source_suffix = ['.rst', '.md']
|
|||||||
# -- Options for HTML output ----------------------------------------------
|
# -- Options for HTML output ----------------------------------------------
|
||||||
|
|
||||||
# The theme to use for HTML and HTML Help pages.
|
# The theme to use for HTML and HTML Help pages.
|
||||||
html_theme = 'jupyter_alabaster_theme'
|
html_theme = 'alabaster'
|
||||||
|
|
||||||
#html_theme_options = {}
|
#html_theme_options = {}
|
||||||
#html_theme_path = []
|
#html_theme_path = []
|
||||||
@@ -170,9 +169,7 @@ intersphinx_mapping = {'https://docs.python.org/3/': None}
|
|||||||
|
|
||||||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
||||||
if not on_rtd:
|
if not on_rtd:
|
||||||
import jupyter_alabaster_theme
|
html_theme = 'alabaster'
|
||||||
html_theme = 'jupyter_alabaster_theme'
|
|
||||||
html_theme_path = [jupyter_alabaster_theme.get_path()]
|
|
||||||
else:
|
else:
|
||||||
# readthedocs.org uses their theme by default, so no need to specify it
|
# readthedocs.org uses their theme by default, so no need to specify it
|
||||||
# build rest-api, since RTD doesn't run make
|
# build rest-api, since RTD doesn't run make
|
||||||
|
Reference in New Issue
Block a user