Skip to content
Snippets Groups Projects
Commit a5853c8b authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

DOC: add rtd theme

parent 50c3fb2d
Branches
Tags
No related merge requests found
...@@ -29,6 +29,8 @@ version = '0.X.Y' ...@@ -29,6 +29,8 @@ version = '0.X.Y'
release = '0.x.y-beta-rc2' release = '0.x.y-beta-rc2'
import sphinx-rtd-theme
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here. # If your documentation needs a minimal Sphinx version, state it here.
...@@ -45,6 +47,7 @@ extensions = [ ...@@ -45,6 +47,7 @@ extensions = [
'sphinx.ext.napoleon', # For Google style docstrings 'sphinx.ext.napoleon', # For Google style docstrings
"recommonmark", # For markdown files. "recommonmark", # For markdown files.
"sphinx.ext.autosectionlabel", # Allow reference sections using its title "sphinx.ext.autosectionlabel", # Allow reference sections using its title
"sphinx-rtd-theme",
] ]
# Add any paths that contain templates here, relative to this directory. # Add any paths that contain templates here, relative to this directory.
...@@ -80,7 +83,7 @@ pygments_style = None ...@@ -80,7 +83,7 @@ pygments_style = None
# The theme to use for HTML and HTML Help pages. See the documentation for # The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. # 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 # 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 # further. For a list of options available for each theme, see the
......
...@@ -5,7 +5,7 @@ RUN apt-get update && \ ...@@ -5,7 +5,7 @@ RUN apt-get update && \
python3-pip screen libpam0g-dev unzip curl shunit2 \ python3-pip screen libpam0g-dev unzip curl shunit2 \
python3-sphinx \ python3-sphinx \
&& \ && \
pip3 install javasphinx recommonmark pip3 install javasphinx recommonmark sphinx-rtd-theme
# Alternative, if javasphinx fails because python3-sphinx is too recent: # Alternative, if javasphinx fails because python3-sphinx is too recent:
# (`_l` not found): # (`_l` not found):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment