From 6589ec55180be701355579a5b51cfc554dc0aeaa Mon Sep 17 00:00:00 2001 From: SP Mohanty <spmohanty91@gmail.com> Date: Wed, 3 Apr 2019 16:29:07 +0200 Subject: [PATCH] Update docs theme to rtd --- docs/conf.py | 8 +++----- requirements_dev.txt | 1 + 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/docs/conf.py b/docs/conf.py index d0cdadb..f1b9a59 100755 --- a/docs/conf.py +++ b/docs/conf.py @@ -18,11 +18,11 @@ # relative to the documentation root, use os.path.abspath to make it # absolute, like shown here. # +import flatland import os import sys sys.path.insert(0, os.path.abspath('..')) -import flatland # -- General configuration --------------------------------------------- @@ -84,7 +84,8 @@ todo_include_todos = False # 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 @@ -158,6 +159,3 @@ texinfo_documents = [ 'One line description of project.', 'Miscellaneous'), ] - - - diff --git a/requirements_dev.txt b/requirements_dev.txt index 4ea07ea..cba711f 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -10,3 +10,4 @@ twine==1.12.1 pytest==3.8.2 pytest-runner==4.2 +sphinx-rtd-theme==0.4.3 -- GitLab