From a5853c8b2245bab13f11b4e22b8198d5b1c8681f 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:03:41 +0100
Subject: [PATCH] DOC: add rtd theme

---
 src/doc/conf.py            | 5 ++++-
 src/test/docker/Dockerfile | 2 +-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/src/doc/conf.py b/src/doc/conf.py
index 0a7eefd8..7ac24dd1 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.
@@ -45,6 +47,7 @@ extensions = [
     'sphinx.ext.napoleon',     # For Google style docstrings
     "recommonmark",            # For markdown files.
     "sphinx.ext.autosectionlabel",  # Allow reference sections using its title
+    "sphinx-rtd-theme",
 ]
 
 # Add any paths that contain templates here, relative to this directory.
@@ -80,7 +83,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/src/test/docker/Dockerfile b/src/test/docker/Dockerfile
index 84564843..08a2a088 100644
--- a/src/test/docker/Dockerfile
+++ b/src/test/docker/Dockerfile
@@ -5,7 +5,7 @@ RUN apt-get update && \
     python3-pip screen libpam0g-dev unzip curl shunit2 \
     python3-sphinx \
   && \
-  pip3 install javasphinx recommonmark
+  pip3 install javasphinx recommonmark sphinx-rtd-theme
 
 # Alternative, if javasphinx fails because python3-sphinx is too recent:
 # (`_l` not found):
-- 
GitLab