mirror of
https://github.com/jupyterhub/jupyterhub.git
synced 2025-10-13 21:13:01 +00:00
Some theme updates; no double NEXT/PREV buttons.
- Install pip in the docs conda env (or conda complains). - Do not override page.html, the next/previous buttons are now handled by alabaster_jupyterhub (this actually remove the duplicated next/prev buttons) - use alabaster_jupyterhub when building locally, this make it easy for new contributor to get the _exact_ same appearance than on readthedocs.
This commit is contained in:
@@ -192,9 +192,7 @@ intersphinx_mapping = {'https://docs.python.org/3/': None}
|
||||
# -- Read The Docs --------------------------------------------------------
|
||||
|
||||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
||||
if not on_rtd:
|
||||
html_theme = 'alabaster'
|
||||
else:
|
||||
if on_rtd:
|
||||
# readthedocs.org uses their theme by default, so no need to specify it
|
||||
# build rest-api, since RTD doesn't run make
|
||||
from subprocess import check_call as sh
|
||||
|
Reference in New Issue
Block a user