From ff6142d262177d8dca09d27351fb5cbfa31f58f4 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:05:35 +0100 Subject: [PATCH] DOC: add rtd theme --- src/doc/conf.py | 5 ++++- unittests/docker/Dockerfile | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/doc/conf.py b/src/doc/conf.py index a91ed6b3..8a9b4ad4 100644 --- a/src/doc/conf.py +++ b/src/doc/conf.py @@ -29,6 +29,8 @@ 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. @@ -43,6 +45,7 @@ extensions = [ 'sphinx.ext.intersphinx', 'sphinx.ext.napoleon', # For Google style docstrings "recommonmark", # For markdown files. + "sphinx-rtd-theme", ] # Add any paths that contain templates here, relative to this directory. @@ -82,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/unittests/docker/Dockerfile b/unittests/docker/Dockerfile index 1944c48e..e41fb91b 100644 --- a/unittests/docker/Dockerfile +++ b/unittests/docker/Dockerfile @@ -7,4 +7,4 @@ RUN apt-get update && \ ARG COMMIT="dev" RUN git clone -b dev https://gitlab.com/caosdb/caosdb-pylib.git && \ cd caosdb-pylib && git checkout $COMMIT && pip3 install . -RUN pip3 install recommonmark +RUN pip3 install recommonmark sphinx-rtd-theme -- GitLab