mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Fix non-readthedocs sphinx build
Note, this means you have to set the environment variable READTHEDOCS=True to use the RTD theme, which appears to have been the intent.
This commit is contained in:
parent
bdd29df7c7
commit
fa95dc64e8
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +95,7 @@ pygments_style = 'sphinx'
|
|||
|
||||
# -- Options for HTML output ----------------------------------------------
|
||||
|
||||
if not os.environ.get('READTHEDOCS', None) == 'True':
|
||||
if os.environ.get('READTHEDOCS', None) == 'True':
|
||||
import sphinx_rtd_theme
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||||
|
|
Loading…
Reference in a new issue