aboutsummaryrefslogtreecommitdiffstats
path: root/docs/source/_templates
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2014-09-01 17:00:13 -0400
committerbnewbold <bnewbold@robocracy.org>2014-09-01 19:58:58 -0400
commitb1ef722fa3de0ca3f4bb495fff2ff1cd3f4739cf (patch)
tree90b53bcd146c57a522decfe75d571e8577104168 /docs/source/_templates
parent1057cd2e5f01869869a68580b717d0ddd3aa95fe (diff)
downloadlibrambutan-b1ef722fa3de0ca3f4bb495fff2ff1cd3f4739cf.tar.gz
librambutan-b1ef722fa3de0ca3f4bb495fff2ff1cd3f4739cf.zip
docs: several small theme tweaks
- CSS improvements - two-part links at page top (project/subproject) - "Project Resources" links
Diffstat (limited to 'docs/source/_templates')
-rw-r--r--docs/source/_templates/layout.html18
-rw-r--r--docs/source/_templates/sidebarresources.html8
2 files changed, 26 insertions, 0 deletions
diff --git a/docs/source/_templates/layout.html b/docs/source/_templates/layout.html
new file mode 100644
index 0000000..994ad53
--- /dev/null
+++ b/docs/source/_templates/layout.html
@@ -0,0 +1,18 @@
+{% extends "!layout.html" %}
+
+{# TODO: this block is broken under Sphinx better theme? #}
+{% block rootrellink %}
+ <li><a href="http://rambutan.cc/">
+ <img width="16px" src="_static/img/logo_32x32.png"></img>
+ rambutan.cc
+ </a>&middot;</li>
+ <li><a href="http://docs.rambutan.cc">Project Docs</a>{{ reldelim1 }}</li>
+ {{ super() }}
+{% endblock %}
+
+{% block header %}
+ <header id="pageheader"><h1>
+ <a href="http://docs.rambutan.cc">Rambutan Documentation:</a>
+ <a href="{{ pathto(master_doc) }} ">{{ shorttitle }} {{ release}}</a>
+ </h1></header>
+{% endblock %}
diff --git a/docs/source/_templates/sidebarresources.html b/docs/source/_templates/sidebarresources.html
new file mode 100644
index 0000000..ff82669
--- /dev/null
+++ b/docs/source/_templates/sidebarresources.html
@@ -0,0 +1,8 @@
+<h3>Project Resources</h3>
+
+<ul>
+ <li><a href="http://rambutan.cc/">Homepage</a></li>
+ <li><a href="https://github.com/rambutan32/">Code on Github</a></li>
+ <li><a href="http://forums.rambutan.cc/">Discussion Forums</a></li>
+ <li><a href="irc://irc.oftc.net/rambutan">IRC: #rambutan on oftc.net</a></li>
+</ul>