Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
pygeoip
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
pygeoip
Commits
1e086874
Commit
1e086874
authored
Feb 02, 2014
by
William Tisäter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Only use sphinx_rtd_theme locally
parent
5e9ad257
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
docs/conf.py
+9
-6
No files found.
docs/conf.py
View file @
1e086874
...
@@ -98,14 +98,17 @@ pygments_style = 'sphinx'
...
@@ -98,14 +98,17 @@ pygments_style = 'sphinx'
# -- Options for HTML output ----------------------------------------------
# -- Options for HTML output ----------------------------------------------
import
sphinx_rtd_theme
on_rtd
=
os
.
environ
.
get
(
'READTHEDOCS'
,
None
)
==
'True'
# The theme to use for HTML and HTML Help pages. See the documentation for
if
not
on_rtd
:
# a list of builtin themes.
import
sphinx_rtd_theme
html_theme
=
"sphinx_rtd_theme"
# Add any paths that contain custom themes here, relative to this directory.
# The theme to use for HTML and HTML Help pages. See the documentation for
html_theme_path
=
[
sphinx_rtd_theme
.
get_html_theme_path
()]
# a list of builtin themes.
html_theme
=
"sphinx_rtd_theme"
# Add any paths that contain custom themes here, relative to this directory.
html_theme_path
=
[
sphinx_rtd_theme
.
get_html_theme_path
()]
# Theme options are theme-specific and customize the look and feel of a theme
# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
# further. For a list of options available for each theme, see the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment