From 86f5723a7c7a751a951d70efd7c27554850a63ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20tom=20W=C3=B6rden?= <h.tomwoerden@indiscale.com> Date: Thu, 10 Dec 2020 12:00:46 +0100 Subject: [PATCH] DOC: add rtd theme --- src/doc/conf.py | 6 +++++- test/docker/Dockerfile | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/doc/conf.py b/src/doc/conf.py index 56fbccb7..c935d2dd 100644 --- a/src/doc/conf.py +++ b/src/doc/conf.py @@ -29,6 +29,9 @@ version = '0.X.Y' release = '0.x.y-beta-rc2' +import sphinx-rtd-theme + + # -- General configuration --------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. @@ -44,6 +47,7 @@ extensions = [ "sphinx.ext.autodoc", 'autoapi.extension', "recommonmark", # For markdown files. + "sphinx-rtd-theme", # 'sphinx.ext.intersphinx', # 'sphinx.ext.napoleon', # For Google style docstrings ] @@ -81,7 +85,7 @@ pygments_style = None # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'alabaster' +html_theme = "sphinx-rtd-theme" # Theme options are theme-specific and customize the look and feel of a theme # further. For a list of options available for each theme, see the diff --git a/test/docker/Dockerfile b/test/docker/Dockerfile index f355939c..35a3918e 100644 --- a/test/docker/Dockerfile +++ b/test/docker/Dockerfile @@ -13,4 +13,4 @@ RUN pip3 install pandas xlrd RUN pip3 install git+https://gitlab.com/caosdb/caosdb-advanced-user-tools.git@dev # For automatic documentation RUN npm install -g jsdoc -RUN pip3 install sphinx-js sphinx-autoapi +RUN pip3 install sphinx-js sphinx-autoapi sphinx-rtd-theme -- GitLab