diff --git a/doc/conf.py b/doc/conf.py index 9b85ded9..a68eaa55 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -99,7 +99,7 @@ smartquotes = False # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. # -if on_rtd: +if on_rtd or os.environ.get('USE_RTD_THEME', '0') == '1': html_theme = 'sphinx_rtd_theme' else: html_theme = 'alabaster' diff --git a/doc/index.rst b/doc/index.rst index 89a8ada8..a6bcc4e3 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -9,7 +9,7 @@ Polybar Documentation Welcome to the official polybar documentation. .. toctree:: - :maxdepth: 2 + :maxdepth: 1 :caption: Contents: user/actions