summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEli Collins <elic@assurancetechnologies.com>2016-07-15 15:19:37 -0400
committerEli Collins <elic@assurancetechnologies.com>2016-07-15 15:19:37 -0400
commit847dcb6625fef0d83256ee9cf6f35ce773ee178a (patch)
tree0b46a6bb37b123b7e56cb35708641c35d1bf6091
parentf95fbd9d0761ea39cea1a8535a06441fe653e9b0 (diff)
downloadpasslib-847dcb6625fef0d83256ee9cf6f35ce773ee178a.tar.gz
docs: updated theme (requires latest cloud_sptheme)
-rw-r--r--docs/conf.py20
-rw-r--r--docs/install.rst2
2 files changed, 17 insertions, 5 deletions
diff --git a/docs/conf.py b/docs/conf.py
index 5e7dcf1..7c703e0 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -49,7 +49,7 @@ extensions = [
'sphinx.ext.autodoc',
'sphinx.ext.todo',
'sphinx.ext.intersphinx',
- 'sphinx.ext.viewcode',
+ # 'sphinx.ext.viewcode',
# 3rd part extensions
'sphinxcontrib.fulltoc',
@@ -171,10 +171,22 @@ if csp.is_cloud_theme(html_theme):
issueicon=None,
# lighter_decor=True,
borderless_decor=True,
- sidebar_localtoc_title="Page contents",
- max_width="12in",
- sidebarwidth="3.5in",
+ sidebarbgcolor='transparent',
+ bodytrimcolor='transparent',
+ max_width="12.5in",
+ sidebarwidth="3in",
+ large_sidebar_width="3.5in",
hyphenation_language="en",
+ headfont='"Bitstream Vera Sans", sans-serif',
+ bodyfont='arial, helvetica, sans-serif',
+ relbarbgcolor='#821f4d',
+ sectionbgcolor='#964361',
+ rubricbgcolor='#B4748B',
+ sidebarlinkcolor='#6A3051',
+ link_hover_text_color='#ff0000',
+ link_hover_trim_color='#ddb1b8',
+ toc_local_bg_color='#eddbdb',
+ toc_local_trim_color='#ddb1b8',
)
if 'for-pypi' in options:
html_theme_options.update(
diff --git a/docs/install.rst b/docs/install.rst
index 5231e8b..70cbe2c 100644
--- a/docs/install.rst
+++ b/docs/install.rst
@@ -115,7 +115,7 @@ If you wish to generate your own copy of the documentation,
you will need to:
1. Install `Sphinx <http://sphinx.pocoo.org/>`_ (1.3 or newer)
-2. Install the `Cloud Sphinx Theme <http://packages.python.org/cloud_sptheme>`_ (1.7 or newer).
+2. Install the `Cloud Sphinx Theme <http://packages.python.org/cloud_sptheme>`_ (1.8 or newer).
3. Download the Passlib source
4. From the Passlib source directory, run :samp:`python setup.py build_sphinx`.
5. Once Sphinx completes its run, point a web browser to the file at :samp:`{SOURCE}/build/sphinx/html/index.html`