incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brond...@apache.org
Subject [4/6] git commit: simplify documentation nav links
Date Tue, 19 Nov 2013 23:56:23 GMT
simplify documentation nav links


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/280e6009
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/280e6009
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/280e6009

Branch: refs/heads/db/6701
Commit: 280e600961bac6d3b95ba4dffc71940db9924051
Parents: 8204af9
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Tue Nov 19 18:16:22 2013 -0500
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Tue Nov 19 18:26:58 2013 -0500

----------------------------------------------------------------------
 Allura/docs/_templates/layout.html |  5 +++++
 Allura/docs/conf.py                | 12 +++++++-----
 2 files changed, 12 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/280e6009/Allura/docs/_templates/layout.html
----------------------------------------------------------------------
diff --git a/Allura/docs/_templates/layout.html b/Allura/docs/_templates/layout.html
new file mode 100644
index 0000000..d098c91
--- /dev/null
+++ b/Allura/docs/_templates/layout.html
@@ -0,0 +1,5 @@
+{% extends "!layout.html" %}
+{% block rootrellink %}
+    <li><a href="https://forge-allura.apache.org/p/allura/">Allura Home</a>
&raquo;</li>
+    {{ super() }}
+{% endblock %}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/280e6009/Allura/docs/conf.py
----------------------------------------------------------------------
diff --git a/Allura/docs/conf.py b/Allura/docs/conf.py
index 3029c64..7b20c15 100644
--- a/Allura/docs/conf.py
+++ b/Allura/docs/conf.py
@@ -113,7 +113,9 @@ html_theme = 'nature'
 # 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
 # documentation.
-#html_theme_options = {}
+html_theme_options = {
+    'sidebarwidth': 280,  # default 230 (px)
+}
 
 # Add any paths that contain custom themes here, relative to this directory.
 #html_theme_path = []
@@ -123,7 +125,7 @@ html_theme = 'nature'
 html_title = 'Allura documentation'
 
 # A shorter title for the navigation bar.  Default is the same as html_title.
-#html_short_title = None
+html_short_title = 'Documentation'
 
 # The name of an image file (relative to this directory) to place at the top
 # of the sidebar.
@@ -155,16 +157,16 @@ html_static_path = ['_static']
 #html_additional_pages = {}
 
 # If false, no module index is generated.
-#html_use_modindex = True
+html_use_modindex = False
 
 # If false, no index is generated.
-#html_use_index = True
+html_use_index = False
 
 # If true, the index is split into individual pages for each letter.
 #html_split_index = False
 
 # If true, links to the reST sources are added to the pages.
-#html_show_sourcelink = True
+html_show_sourcelink = False
 
 # If true, an OpenSearch description file will be output, and all pages will
 # contain a <link> tag referring to it.  The value of this option must be the


Mime
View raw message