Skip to content

Commit

Permalink
Switched to super purdy cloud Sphinx theme.
Browse files Browse the repository at this point in the history
  • Loading branch information
JNRowe committed Jun 23, 2011
1 parent 8084f62 commit e20c3dd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
10 changes: 7 additions & 3 deletions doc/conf.py
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@


import sys, os import sys, os


import cloud_sptheme as csp

# If extensions (or modules to document with autodoc) are in another directory, # If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the # add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here. # documentation root, use os.path.abspath to make it absolute, like shown here.
Expand Down Expand Up @@ -93,15 +95,17 @@


# 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.
html_theme = 'default' html_theme = 'cloud'


# 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
# documentation. # documentation.
#html_theme_options = {} html_theme_options = {
"externalrefs": True,
}


# Add any paths that contain custom themes here, relative to this directory. # Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = [] html_theme_path = [csp.get_theme_dir(), ]


# The name for this set of Sphinx documents. If None, it defaults to # The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation". # "<project> v<release> documentation".
Expand Down
1 change: 1 addition & 0 deletions tox.ini
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ commands =
[testenv:sphinx] [testenv:sphinx]
deps = deps =
sphinx sphinx
cloud_sptheme
commands = commands =
# Test HTML output # Test HTML output
sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html sphinx-build -W -b html -d {envtmpdir}/doctrees doc {envtmpdir}/html

0 comments on commit e20c3dd

Please sign in to comment.