mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 08:02:54 +11:00
Readthedocs fixes
This commit is contained in:
parent
be691b4b43
commit
be4fa62bd7
2 changed files with 5 additions and 5 deletions
|
@ -7,4 +7,4 @@ possible to be installed into an existing Django project like a regular app.
|
|||
|
||||
You can find a live example on http://dpaste.de/
|
||||
|
||||
Further documentation can be found here:
|
||||
Further documentation can be found here: http://dpaste.readthedocs.org/en/latest/
|
||||
|
|
|
@ -96,10 +96,10 @@ pygments_style = 'sphinx'
|
|||
|
||||
# -- Options for HTML output ----------------------------------------------
|
||||
|
||||
import sphinx_rtd_theme
|
||||
html_theme = "sphinx_rtd_theme"
|
||||
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
|
||||
|
||||
if not 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()]
|
||||
|
||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||
# a list of builtin themes.
|
||||
|
|
Loading…
Reference in a new issue