From 138c3b2b7026bd4dfc5e9e12d56f9c7e7755c7e6 Mon Sep 17 00:00:00 2001 From: Chris Holdgraf Date: Wed, 17 Oct 2018 21:16:30 -0700 Subject: [PATCH] updating theme and storing docs artifacts --- .circleci/config.yml | 4 ++++ docs/conf.py | 5 ++++- docs/doc-requirements.txt | 1 - docs/requirements.txt | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) delete mode 100644 docs/doc-requirements.txt diff --git a/.circleci/config.yml b/.circleci/config.yml index ed9fac9..572bcd2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -123,6 +123,10 @@ jobs: cd docs make html + - store_artifacts: + path: docs/_build/html/ + destination: html + workflows: version: 2 all-tests: diff --git a/docs/conf.py b/docs/conf.py index 37f9b31..b6ee5ce 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -34,7 +34,10 @@ intersphinx_cache_limit = 90 # days # The name of the Pygments (syntax highlighting) style to use. pygments_style = 'sphinx' -html_theme = 'alabaster' +import alabaster_jupyterhub + +html_theme = 'alabaster_jupyterhub' +html_theme_path = [alabaster_jupyterhub.get_html_theme_path()] # 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, diff --git a/docs/doc-requirements.txt b/docs/doc-requirements.txt deleted file mode 100644 index 2b3f75c..0000000 --- a/docs/doc-requirements.txt +++ /dev/null @@ -1 +0,0 @@ -sphinx_copybutton diff --git a/docs/requirements.txt b/docs/requirements.txt index a22771d..0514bb4 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,2 +1,4 @@ sphinx>=1.4, !=1.5.4 sphinx_copybutton +alabaster +alabaster_jupyterhub \ No newline at end of file