Commit 6d5fb75a authored by Kohei Yoshida's avatar Kohei Yoshida

Switch to RTD theme and add hook for readthedocs integration.

parent 98b1ec3a
Pipeline #48654455 passed with stage
in 4 minutes and 18 seconds
......@@ -15,7 +15,12 @@
import sys
import os
import cloud_sptheme
import subprocess
rtd_build = os.environ.get('READTHEDOCS', None) == 'True'
if rtd_build:
subprocess.call("cd doc; doxygen doxygen.conf", shell=True)
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
......@@ -100,16 +105,12 @@ pygments_style = 'sphinx'
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = 'cloud'
html_theme_path = [cloud_sptheme.get_theme_dir()]
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
# documentation.
html_theme_options = {
"roottarget": "index",
"max_width": "15in"
}
html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment