aboutsummaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorMarti Bolivar <mbolivar@leaflabs.com>2011-10-07 17:41:30 -0400
committerMarti Bolivar <mbolivar@leaflabs.com>2011-10-07 17:44:58 -0400
commit0b5fd1df1a87f240b9a93c4f46983ebcb9d71242 (patch)
treefacc86b1dc74330bd29dec917624beb8d1e2268e /source
parent5051a512141f642f90f53f2749ddd8cc815226e4 (diff)
downloadlibrambutan-0b5fd1df1a87f240b9a93c4f46983ebcb9d71242.tar.gz
librambutan-0b5fd1df1a87f240b9a93c4f46983ebcb9d71242.zip
configuration: Cleanups and tweaks.
Start coloring visited links differently. I have no idea why that was disabled. Remove ' Documentation' from the HTML title. It's too long. Clean up some whitespace. Remove unused apilist.html and ancillary conf.py. Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
Diffstat (limited to 'source')
-rw-r--r--source/_static/apilist.html5
-rw-r--r--source/conf.py10
2 files changed, 3 insertions, 12 deletions
diff --git a/source/_static/apilist.html b/source/_static/apilist.html
deleted file mode 100644
index 556fcc9..0000000
--- a/source/_static/apilist.html
+++ /dev/null
@@ -1,5 +0,0 @@
-{# Filename: .static/apilist.html #}
-{% set parents = parents.pop() %}
-{% if parents %}
-<a href="{{ parents.link|e }}">{{ parents.title }}</a>
-{% endif %}
diff --git a/source/conf.py b/source/conf.py
index 7380f8e..1e18f25 100644
--- a/source/conf.py
+++ b/source/conf.py
@@ -14,7 +14,6 @@
import sys, os
-
# 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
# documentation root, use os.path.abspath to make it absolute, like shown here.
@@ -37,7 +36,7 @@ extensions = ['sphinx.ext.autodoc', 'sphinx.ext.doctest',
'sphinx.ext.coverage', 'breathe']
# Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates', '_static']
+templates_path = ['_templates']
# The suffix of source filenames.
source_suffix = '.rst'
@@ -132,7 +131,7 @@ html_theme_options = {
'relbarbgcolor' : 'green',
'headlinkcolor' : '#000000',
'linkcolor' : 'green',
- 'visitedlinkcolor' : 'green',
+ #'visitedlinkcolor' : 'green',
## Font
'headfont' : 'Georgia',
@@ -144,7 +143,7 @@ html_theme_options = {
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
-html_title = project + ' v' + release + ' Documentation'
+html_title = project + ' v' + release
# A shorter title for the navigation bar. Default is the same as html_title.
html_short_title = 'Index'
@@ -172,13 +171,10 @@ html_last_updated_fmt = '%b %d, %Y'
#html_use_smartypants = True
# Custom sidebar templates, maps document names to template names.
-# re-add commented line when custom template for api finished
html_sidebars = {
'**': ['globaltoc.html', 'searchbox.html'],
- #'lang/api**':['searchbox.html', 'apilist.html'],
}
-
# Additional templates that should be rendered to pages, maps page names to
# template names.
#html_additional_pages = {}