diff options
author | tmartins <thigm85@gmail.com> | 2020-09-01 21:33:45 +0200 |
---|---|---|
committer | tmartins <thigm85@gmail.com> | 2020-09-01 21:33:45 +0200 |
commit | 5b5e81ada288d8523983c1bfe1448f5843dd67a9 (patch) | |
tree | 2e9fd6b1895009a0c9d2205c5575ab6c901fb3a9 /python | |
parent | e880236daead46bae9058b622e9464534e711211 (diff) |
try readthedocs theme
Diffstat (limited to 'python')
-rw-r--r-- | python/vespa/docs/sphinx/source/conf.py | 4 | ||||
-rw-r--r-- | python/vespa/docs/sphinx/source/requirements.txt | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/python/vespa/docs/sphinx/source/conf.py b/python/vespa/docs/sphinx/source/conf.py index 1ce13ce9993..bb608f6b1ec 100644 --- a/python/vespa/docs/sphinx/source/conf.py +++ b/python/vespa/docs/sphinx/source/conf.py @@ -28,7 +28,7 @@ author = "Vespa team" # Add any Sphinx extension module names here, as strings. They can be # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom # ones. -extensions = ["sphinx.ext.autodoc", "nbsphinx"] +extensions = ["sphinx.ext.autodoc", "nbsphinx", "sphinx_rtd_theme"] # Add any paths that contain templates here, relative to this directory. templates_path = ["_templates"] @@ -45,7 +45,7 @@ master_doc = "index" # 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" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, diff --git a/python/vespa/docs/sphinx/source/requirements.txt b/python/vespa/docs/sphinx/source/requirements.txt index 1dd5ab01722..261dd62a660 100644 --- a/python/vespa/docs/sphinx/source/requirements.txt +++ b/python/vespa/docs/sphinx/source/requirements.txt @@ -1,4 +1,5 @@ python/vespa sphinx>=1.4 ipykernel -nbsphinx
\ No newline at end of file +nbsphinx +sphinx-rtd-theme
\ No newline at end of file |