diff --git a/docs/conf.py b/docs/conf.py index c113c17..505fab4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -82,7 +82,7 @@ todo_include_todos = True # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -html_theme = 'alabaster' +# html_theme = 'alabaster' # 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 @@ -100,12 +100,12 @@ html_static_path = ['_static'] # # This is required for the alabaster theme # refs: http://alabaster.readthedocs.io/en/latest/installation.html#sidebars -html_sidebars = { - '**': [ - 'relations.html', # needs 'show_related': True theme option to display - 'searchbox.html', - ] -} +# html_sidebars = { +# '**': [ +# 'relations.html', # needs 'show_related': True theme option to display +# 'searchbox.html', +# ] +# } # -- Options for HTMLHelp output ------------------------------------------ @@ -165,4 +165,16 @@ texinfo_documents = [ ] +# -- Use the RTD Sphinx Theme ------------------------------------------- + +import sphinx_rtd_theme +html_theme = "sphinx_rtd_theme" +html_theme_path = [sphinx_rtd_theme.get_html_theme_path()] + +# RTD theme options (see theme.conf for more information) +html_theme_options = { + 'canonical_url': "https://mobarena.readthedocs.io/en/latest/", + 'collapse_navigation': False, + 'navigation_depth': 2, +}