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
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# 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'
|
html_theme = 'sphinx_rtd_theme'
|
||||||
else:
|
else:
|
||||||
html_theme = 'alabaster'
|
html_theme = 'alabaster'
|
||||||
|
@ -9,7 +9,7 @@ Polybar Documentation
|
|||||||
Welcome to the official polybar documentation.
|
Welcome to the official polybar documentation.
|
||||||
|
|
||||||
.. toctree::
|
.. toctree::
|
||||||
:maxdepth: 2
|
:maxdepth: 1
|
||||||
:caption: Contents:
|
:caption: Contents:
|
||||||
|
|
||||||
user/actions
|
user/actions
|
||||||
|
Loading…
Reference in New Issue
Block a user