doc: Allow using rtd theme locally
This commit is contained in:
parent
3e4f8d402e
commit
1d9365e74f
@ -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'
|
||||
|
@ -9,7 +9,7 @@ Polybar Documentation
|
||||
Welcome to the official polybar documentation.
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
:maxdepth: 1
|
||||
:caption: Contents:
|
||||
|
||||
user/actions
|
||||
|
Loading…
Reference in New Issue
Block a user