mirror of
https://github.com/jupyterhub/the-littlest-jupyterhub.git
synced 2025-12-18 21:54:05 +08:00
Merge pull request #130 from yuvipanda/doc-it-fix
Switch back to a venv for docs + fix .circle config
This commit is contained in:
@@ -104,7 +104,7 @@ jobs:
|
|||||||
name: install dependencies
|
name: install dependencies
|
||||||
command: |
|
command: |
|
||||||
pip install sphinx
|
pip install sphinx
|
||||||
pip install -r docs/doc-requirements.txt
|
pip install -r docs/requirements.txt
|
||||||
|
|
||||||
- save_cache:
|
- save_cache:
|
||||||
paths:
|
paths:
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
# Support markdown too
|
import os
|
||||||
|
|
||||||
source_suffix = ['.rst']
|
source_suffix = ['.rst']
|
||||||
|
|
||||||
project = 'The Littlest JupyterHub'
|
project = 'The Littlest JupyterHub'
|
||||||
@@ -38,7 +39,10 @@ html_theme = 'alabaster'
|
|||||||
# Add any paths that contain custom static files (such as style sheets) here,
|
# Add any paths that contain custom static files (such as style sheets) here,
|
||||||
# relative to this directory. They are copied after the builtin static files,
|
# relative to this directory. They are copied after the builtin static files,
|
||||||
# so a file named "default.css" will overwrite the builtin "default.css".
|
# so a file named "default.css" will overwrite the builtin "default.css".
|
||||||
html_static_path = ['_static']
|
# Do this only if _static exists, otherwise this will error
|
||||||
|
here = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
if os.path.exists(os.path.join(here, '_static')):
|
||||||
|
html_static_path = ['_static']
|
||||||
|
|
||||||
# Configure the sidebar to be how we want it to be
|
# Configure the sidebar to be how we want it to be
|
||||||
# We don't have 'navigation' here, since it is very cluttered
|
# We don't have 'navigation' here, since it is very cluttered
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
name: tljh
|
|
||||||
channels:
|
|
||||||
- conda-forge
|
|
||||||
dependencies:
|
|
||||||
- python=3.6
|
|
||||||
- traitlets>=4.1
|
|
||||||
- sphinx>=1.4, !=1.5.4
|
|
||||||
- pip:
|
|
||||||
- sphinx_copybutton
|
|
||||||
2
docs/requirements.txt
Normal file
2
docs/requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
sphinx>=1.4, !=1.5.4
|
||||||
|
sphinx_copybutton
|
||||||
Reference in New Issue
Block a user