1 From bd1bfd86fbeacd893ff5d9abb969c7b0c994fbf4 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?P=C3=A1draig=20Brady?= <P@draigBrady.com>
3 Date: Mon, 22 Jul 2013 03:14:27 +0100
4 Subject: [PATCH] Revert "Use oslo.sphinx and remove local copy of doc theme"
6 This reverts commit 8b1ae18ba95f04fedc04592b419401d75d448543.
12 doc/source/_static/.gitignore | 0
13 doc/source/_static/.placeholder | 0
14 doc/source/_static/basic.css | 416 +++++++++++++++++++++++++++++++++++++
15 doc/source/_static/default.css | 230 ++++++++++++++++++++
16 doc/source/_static/jquery.tweet.js | 154 ++++++++++++++
17 doc/source/_static/tweaks.css | 218 +++++++++++++++++++
18 doc/source/_templates/.gitignore | 0
19 doc/source/_templates/.placeholder | 0
20 doc/source/_theme/layout.html | 95 +++++++++
21 doc/source/_theme/theme.conf | 5 +
22 doc/source/conf.py | 8 +-
23 test-requirements.txt | 1 -
24 12 files changed, 1121 insertions(+), 6 deletions(-)
25 create mode 100644 doc/source/_static/.gitignore
26 create mode 100644 doc/source/_static/.placeholder
27 create mode 100644 doc/source/_static/basic.css
28 create mode 100644 doc/source/_static/default.css
29 create mode 100644 doc/source/_static/jquery.tweet.js
30 create mode 100644 doc/source/_static/tweaks.css
31 create mode 100644 doc/source/_templates/.gitignore
32 create mode 100644 doc/source/_templates/.placeholder
33 create mode 100644 doc/source/_theme/layout.html
34 create mode 100644 doc/source/_theme/theme.conf
36 diff --git a/doc/source/_static/.gitignore b/doc/source/_static/.gitignore
38 index 0000000..e69de29
39 diff --git a/doc/source/_static/.placeholder b/doc/source/_static/.placeholder
41 index 0000000..e69de29
42 diff --git a/doc/source/_static/basic.css b/doc/source/_static/basic.css
44 index 0000000..d909ce3
46 +++ b/doc/source/_static/basic.css
49 + * Sphinx stylesheet -- basic theme
50 + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53 +/* -- main layout ----------------------------------------------------------- */
59 +/* -- relbar ---------------------------------------------------------------- */
72 + padding: 0 0 0 10px;
80 +div.related li.right {
85 +/* -- sidebar --------------------------------------------------------------- */
87 +div.sphinxsidebarwrapper {
88 + padding: 10px 5px 0 10px;
98 +div.sphinxsidebar ul {
102 +div.sphinxsidebar ul ul,
103 +div.sphinxsidebar ul.want-points {
105 + list-style: square;
108 +div.sphinxsidebar ul ul {
113 +div.sphinxsidebar form {
117 +div.sphinxsidebar input {
118 + border: 1px solid #98dbcc;
119 + font-family: sans-serif;
127 +/* -- search page ----------------------------------------------------------- */
130 + margin: 10px 0 0 20px;
135 + padding: 5px 0 5px 20px;
136 + background-image: url(file.png);
137 + background-repeat: no-repeat;
138 + background-position: 0 7px;
145 +ul.search li div.context {
147 + margin: 2px 0 0 30px;
151 +ul.keywordmatches li.goodmatch a {
155 +/* -- index page ------------------------------------------------------------ */
157 +table.contentstable {
161 +table.contentstable p.biglink {
170 + font-style: italic;
175 +/* -- general index --------------------------------------------------------- */
177 +table.indextable td {
179 + vertical-align: top;
182 +table.indextable dl, table.indextable dd {
187 +table.indextable tr.pcap {
191 +table.indextable tr.cap {
193 + background-color: #f2f2f2;
202 +/* -- general body styles --------------------------------------------------- */
205 + visibility: hidden;
208 +h1:hover > a.headerlink,
209 +h2:hover > a.headerlink,
210 +h3:hover > a.headerlink,
211 +h4:hover > a.headerlink,
212 +h5:hover > a.headerlink,
213 +h6:hover > a.headerlink,
214 +dt:hover > a.headerlink {
215 + visibility: visible;
218 +div.body p.caption {
219 + text-align: inherit;
238 +/* -- sidebars -------------------------------------------------------------- */
241 + margin: 0 0 0.5em 1em;
242 + border: 1px solid #ddb;
243 + padding: 7px 7px 0 7px;
244 + background-color: #ffe;
253 +/* -- topics ---------------------------------------------------------------- */
256 + border: 1px solid #ccc;
257 + padding: 7px 7px 0 7px;
258 + margin: 10px 0 10px 0;
267 +/* -- admonitions ----------------------------------------------------------- */
271 + margin-bottom: 10px;
283 +p.admonition-title {
284 + margin: 0px 10px 5px 0px;
288 +div.body p.centered {
289 + text-align: center;
293 +/* -- tables ---------------------------------------------------------------- */
297 + border-collapse: collapse;
300 +table.docutils td, table.docutils th {
301 + padding: 1px 8px 1px 0;
305 + border-bottom: 1px solid #aaa;
308 +table.field-list td, table.field-list th {
309 + border: 0 !important;
312 +table.footnote td, table.footnote th {
313 + border: 0 !important;
318 + padding-right: 5px;
321 +/* -- other body styles ----------------------------------------------------- */
324 + margin-bottom: 15px;
332 + margin-bottom: 10px;
337 + margin-bottom: 10px;
341 +dt:target, .highlight {
342 + background-color: #fbe54e;
368 + font-style: italic;
372 + background-color: #fda;
374 + border: 3px solid red;
378 + background-color: #ffa
384 + margin-bottom: 1em;
387 +.line-block .line-block {
390 + margin-left: 1.5em;
393 +/* -- code displays --------------------------------------------------------- */
402 + background-color: transparent;
406 +table.highlighttable {
407 + margin-left: 0.5em;
410 +table.highlighttable td {
411 + padding: 0 0.5em 0 0.5em;
415 + background-color: transparent;
421 + background-color: transparent;
425 + background-color: transparent;
429 +h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
430 + background-color: transparent;
433 +/* -- math display ---------------------------------------------------------- */
436 + vertical-align: middle;
439 +div.body div.math p {
440 + text-align: center;
447 +/* -- printout stylesheet --------------------------------------------------- */
451 + div.documentwrapper,
453 + margin: 0 !important;
464 diff --git a/doc/source/_static/default.css b/doc/source/_static/default.css
466 index 0000000..c8091ec
468 +++ b/doc/source/_static/default.css
471 + * Sphinx stylesheet -- default theme
472 + * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
475 +@import url("basic.css");
477 +/* -- page layout ----------------------------------------------------------- */
480 + font-family: sans-serif;
482 + background-color: #11303d;
489 + background-color: #1c4e63;
492 +div.documentwrapper {
498 + margin: 0 0 0 230px;
502 + background-color: #ffffff;
504 + padding: 0 20px 30px 20px;
510 + padding: 9px 0 9px 0;
511 + text-align: center;
517 + text-decoration: underline;
521 + background-color: #133f52;
533 +div.sphinxsidebar h3 {
534 + font-family: 'Trebuchet MS', sans-serif;
537 + font-weight: normal;
542 +div.sphinxsidebar h3 a {
546 +div.sphinxsidebar h4 {
547 + font-family: 'Trebuchet MS', sans-serif;
550 + font-weight: normal;
555 +div.sphinxsidebar p {
559 +div.sphinxsidebar p.topless {
560 + margin: 5px 10px 10px 10px;
563 +div.sphinxsidebar ul {
569 +div.sphinxsidebar a {
573 +div.sphinxsidebar input {
574 + border: 1px solid #98dbcc;
575 + font-family: sans-serif;
579 +/* -- body styles ----------------------------------------------------------- */
583 + text-decoration: none;
587 + text-decoration: underline;
590 +div.body p, div.body dd, div.body li {
601 + font-family: 'Trebuchet MS', sans-serif;
602 + background-color: #f2f2f2;
603 + font-weight: normal;
605 + border-bottom: 1px solid #ccc;
606 + margin: 20px -20px 10px -20px;
607 + padding: 3px 0 3px 10px;
610 +div.body h1 { margin-top: 0; font-size: 200%; }
611 +div.body h2 { font-size: 160%; }
612 +div.body h3 { font-size: 140%; }
613 +div.body h4 { font-size: 120%; }
614 +div.body h5 { font-size: 110%; }
615 +div.body h6 { font-size: 100%; }
620 + padding: 0 4px 0 4px;
621 + text-decoration: none;
624 +a.headerlink:hover {
625 + background-color: #c60f0f;
629 +div.body p, div.body dd, div.body li {
634 +div.admonition p.admonition-title + p {
639 + margin-bottom: 5px;
642 +div.admonition pre {
643 + margin-bottom: 5px;
646 +div.admonition ul, div.admonition ol {
647 + margin-bottom: 5px;
651 + background-color: #eee;
652 + border: 1px solid #ccc;
656 + background-color: #ffc;
657 + border: 1px solid #ff6;
661 + background-color: #eee;
665 + background-color: #ffe4e4;
666 + border: 1px solid #f66;
669 +p.admonition-title {
673 +p.admonition-title:after {
679 + background-color: #eeffcc;
682 + border: 1px solid #ac9;
684 + border-right: none;
688 + background-color: #ecf0f3;
689 + padding: 0 1px 0 1px;
694 + background: #efc2c2;
698 + background: #d6d6d6;
700 diff --git a/doc/source/_static/jquery.tweet.js b/doc/source/_static/jquery.tweet.js
702 index 0000000..79bf0bd
704 +++ b/doc/source/_static/jquery.tweet.js
708 + $.fn.tweet = function(o){
710 + username: ["seaofclouds"], // [string] required, unless you want to display our tweets. :) it can be an array, just do ["username1","username2","etc"]
711 + list: null, //[string] optional name of list belonging to username
712 + avatar_size: null, // [integer] height and width of avatar if displayed (48px max)
713 + count: 3, // [integer] how many tweets to display?
714 + intro_text: null, // [string] do you want text BEFORE your your tweets?
715 + outro_text: null, // [string] do you want text AFTER your tweets?
716 + join_text: null, // [string] optional text in between date and tweet, try setting to "auto"
717 + auto_join_text_default: "i said,", // [string] auto text for non verb: "i said" bullocks
718 + auto_join_text_ed: "i", // [string] auto text for past tense: "i" surfed
719 + auto_join_text_ing: "i am", // [string] auto tense for present tense: "i was" surfing
720 + auto_join_text_reply: "i replied to", // [string] auto tense for replies: "i replied to" @someone "with"
721 + auto_join_text_url: "i was looking at", // [string] auto tense for urls: "i was looking at" http:...
722 + loading_text: null, // [string] optional loading text, displayed while tweets load
723 + query: null // [string] optional search query
726 + if(o) $.extend(s, o);
729 + linkUrl: function() {
730 + var returning = [];
731 + var regexp = /((ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?)/gi;
732 + this.each(function() {
733 + returning.push(this.replace(regexp,"<a href=\"$1\">$1</a>"));
735 + return $(returning);
737 + linkUser: function() {
738 + var returning = [];
739 + var regexp = /[\@]+([A-Za-z0-9-_]+)/gi;
740 + this.each(function() {
741 + returning.push(this.replace(regexp,"<a href=\"http://twitter.com/$1\">@$1</a>"));
743 + return $(returning);
745 + linkHash: function() {
746 + var returning = [];
747 + var regexp = / [\#]+([A-Za-z0-9-_]+)/gi;
748 + this.each(function() {
749 + returning.push(this.replace(regexp, ' <a href="http://search.twitter.com/search?q=&tag=$1&lang=all&from='+s.username.join("%2BOR%2B")+'">#$1</a>'));
751 + return $(returning);
753 + capAwesome: function() {
754 + var returning = [];
755 + this.each(function() {
756 + returning.push(this.replace(/\b(awesome)\b/gi, '<span class="awesome">$1</span>'));
758 + return $(returning);
760 + capEpic: function() {
761 + var returning = [];
762 + this.each(function() {
763 + returning.push(this.replace(/\b(epic)\b/gi, '<span class="epic">$1</span>'));
765 + return $(returning);
767 + makeHeart: function() {
768 + var returning = [];
769 + this.each(function() {
770 + returning.push(this.replace(/(<)+[3]/gi, "<tt class='heart'>♥</tt>"));
772 + return $(returning);
776 + function relative_time(time_value) {
777 + var parsed_date = Date.parse(time_value);
778 + var relative_to = (arguments.length > 1) ? arguments[1] : new Date();
779 + var delta = parseInt((relative_to.getTime() - parsed_date) / 1000);
780 + var pluralize = function (singular, n) {
781 + return '' + n + ' ' + singular + (n == 1 ? '' : 's');
784 + return 'less than a minute ago';
785 + } else if(delta < (45*60)) {
786 + return 'about ' + pluralize("minute", parseInt(delta / 60)) + ' ago';
787 + } else if(delta < (24*60*60)) {
788 + return 'about ' + pluralize("hour", parseInt(delta / 3600)) + ' ago';
790 + return 'about ' + pluralize("day", parseInt(delta / 86400)) + ' ago';
794 + function build_url() {
795 + var proto = ('https:' == document.location.protocol ? 'https:' : 'http:');
797 + return proto+"//api.twitter.com/1/"+s.username[0]+"/lists/"+s.list+"/statuses.json?per_page="+s.count+"&callback=?";
798 + } else if (s.query == null && s.username.length == 1) {
799 + return proto+'//twitter.com/status/user_timeline/'+s.username[0]+'.json?count='+s.count+'&callback=?';
801 + var query = (s.query || 'from:'+s.username.join('%20OR%20from:'));
802 + return proto+'//search.twitter.com/search.json?&q='+query+'&rpp='+s.count+'&callback=?';
806 + return this.each(function(){
807 + var list = $('<ul class="tweet_list">').appendTo(this);
808 + var intro = '<p class="tweet_intro">'+s.intro_text+'</p>';
809 + var outro = '<p class="tweet_outro">'+s.outro_text+'</p>';
810 + var loading = $('<p class="loading">'+s.loading_text+'</p>');
812 + if(typeof(s.username) == "string"){
813 + s.username = [s.username];
816 + if (s.loading_text) $(this).append(loading);
817 + $.getJSON(build_url(), function(data){
818 + if (s.loading_text) loading.remove();
819 + if (s.intro_text) list.before(intro);
820 + $.each((data.results || data), function(i,item){
821 + // auto join text based on verb tense and content
822 + if (s.join_text == "auto") {
823 + if (item.text.match(/^(@([A-Za-z0-9-_]+)) .*/i)) {
824 + var join_text = s.auto_join_text_reply;
825 + } else if (item.text.match(/(^\w+:\/\/[A-Za-z0-9-_]+\.[A-Za-z0-9-_:%&\?\/.=]+) .*/i)) {
826 + var join_text = s.auto_join_text_url;
827 + } else if (item.text.match(/^((\w+ed)|just) .*/im)) {
828 + var join_text = s.auto_join_text_ed;
829 + } else if (item.text.match(/^(\w*ing) .*/i)) {
830 + var join_text = s.auto_join_text_ing;
832 + var join_text = s.auto_join_text_default;
835 + var join_text = s.join_text;
838 + var from_user = item.from_user || item.user.screen_name;
839 + var profile_image_url = item.profile_image_url || item.user.profile_image_url;
840 + var join_template = '<span class="tweet_join"> '+join_text+' </span>';
841 + var join = ((s.join_text) ? join_template : ' ');
842 + var avatar_template = '<a class="tweet_avatar" href="http://twitter.com/'+from_user+'"><img src="'+profile_image_url+'" height="'+s.avatar_size+'" width="'+s.avatar_size+'" alt="'+from_user+'\'s avatar" title="'+from_user+'\'s avatar" border="0"/></a>';
843 + var avatar = (s.avatar_size ? avatar_template : '');
844 + var date = '<a href="http://twitter.com/'+from_user+'/statuses/'+item.id+'" title="view tweet on twitter">'+relative_time(item.created_at)+'</a>';
845 + var text = '<span class="tweet_text">' +$([item.text]).linkUrl().linkUser().linkHash().makeHeart().capAwesome().capEpic()[0]+ '</span>';
847 + // until we create a template option, arrange the items below to alter a tweet's display.
848 + list.append('<li>' + avatar + date + join + text + '</li>');
850 + list.children('li:first').addClass('tweet_first');
851 + list.children('li:odd').addClass('tweet_even');
852 + list.children('li:even').addClass('tweet_odd');
854 + if (s.outro_text) list.after(outro);
860 \ No newline at end of file
861 diff --git a/doc/source/_static/tweaks.css b/doc/source/_static/tweaks.css
863 index 0000000..046ead8
865 +++ b/doc/source/_static/tweaks.css
868 + list-style-type: none;
877 + border-top: 1px solid #eee;
884 +ul.todo_list li p.link {
888 +ul.todo_list li p.details {
889 + font-style: italic;
896 + border: 1px solid #8F1000;
899 +div.admonition p.admonition-title {
900 + background-color: #8F1000;
901 + border-bottom: 1px solid #8E8E8E;
908 +div.related ul li a {
912 +div.sphinxsidebar h4 {
913 + background-color:#8E8E8E;
914 + border:1px solid #255E6E;
917 + margin:1em 0 0.5em;
918 + padding:0.1em 0 0.1em 0.5em;
922 + font-style: normal;
931 + border-bottom: 1px solid #eee;
935 +.tweet_list li .tweet_avatar {
939 +/* ------------------------------------------
940 +PURE CSS SPEECH BUBBLES
941 +by Nicolas Gallagher
942 +- http://nicolasgallagher.com/pure-css-speech-bubbles/
944 +http://nicolasgallagher.com
945 +http://twitter.com/necolas
947 +Created: 02 March 2010
948 +Version: 1.1 (21 October 2010)
950 +Dual licensed under MIT and GNU GPLv2 © Nicolas Gallagher
951 +------------------------------------------ */
952 +/* THE SPEECH BUBBLE
953 +------------------------------------------------------------------------------------------------------------------------------- */
955 +/* THE SPEECH BUBBLE
956 +------------------------------------------------------------------------------------------------------------------------------- */
962 + border:5px solid #BC1518;
967 + -moz-border-radius:10px;
968 + -webkit-border-radius:10px;
969 + border-radius:10px;
972 +/* Variant : for left positioned triangle
973 +------------------------------------------ */
975 +.triangle-border.left {
979 +/* Variant : for right positioned triangle
980 +------------------------------------------ */
982 +.triangle-border.right {
987 +------------------------------------------------------------------------------------------------------------------------------- */
989 +.triangle-border:before {
991 + display:block; /* reduce the damage in FF3.0 */
993 + bottom:-40px; /* value = - border-top-width - border-bottom-width */
994 + left:40px; /* controls horizontal position */
997 + border:20px solid transparent;
998 + border-top-color:#BC1518;
1001 +/* creates the smaller triangle */
1002 +.triangle-border:after {
1004 + display:block; /* reduce the damage in FF3.0 */
1005 + position:absolute;
1006 + bottom:-26px; /* value = - border-top-width - border-bottom-width */
1007 + left:47px; /* value = (:before left) + (:before border-left) - (:after border-left) */
1010 + border:13px solid transparent;
1011 + border-top-color:#fff;
1015 +------------------------------------------ */
1017 +/* creates the larger triangle */
1018 +.triangle-border.top:before {
1019 + top:-40px; /* value = - border-top-width - border-bottom-width */
1020 + right:40px; /* controls horizontal position */
1023 + border:20px solid transparent;
1024 + border-bottom-color:#BC1518;
1027 +/* creates the smaller triangle */
1028 +.triangle-border.top:after {
1029 + top:-26px; /* value = - border-top-width - border-bottom-width */
1030 + right:47px; /* value = (:before right) + (:before border-right) - (:after border-right) */
1033 + border:13px solid transparent;
1034 + border-bottom-color:#fff;
1038 +------------------------------------------ */
1040 +/* creates the larger triangle */
1041 +.triangle-border.left:before {
1042 + top:10px; /* controls vertical position */
1043 + left:-30px; /* value = - border-left-width - border-right-width */
1045 + border-width:15px 30px 15px 0;
1046 + border-style:solid;
1047 + border-color:transparent #BC1518;
1050 +/* creates the smaller triangle */
1051 +.triangle-border.left:after {
1052 + top:16px; /* value = (:before top) + (:before border-top) - (:after border-top) */
1053 + left:-21px; /* value = - border-left-width - border-right-width */
1055 + border-width:9px 21px 9px 0;
1056 + border-style:solid;
1057 + border-color:transparent #fff;
1061 +------------------------------------------ */
1063 +/* creates the larger triangle */
1064 +.triangle-border.right:before {
1065 + top:10px; /* controls vertical position */
1066 + right:-30px; /* value = - border-left-width - border-right-width */
1069 + border-width:15px 0 15px 30px;
1070 + border-style:solid;
1071 + border-color:transparent #BC1518;
1074 +/* creates the smaller triangle */
1075 +.triangle-border.right:after {
1076 + top:16px; /* value = (:before top) + (:before border-top) - (:after border-top) */
1077 + right:-21px; /* value = - border-left-width - border-right-width */
1080 + border-width:9px 0 9px 21px;
1081 + border-style:solid;
1082 + border-color:transparent #fff;
1085 diff --git a/doc/source/_templates/.gitignore b/doc/source/_templates/.gitignore
1086 new file mode 100644
1087 index 0000000..e69de29
1088 diff --git a/doc/source/_templates/.placeholder b/doc/source/_templates/.placeholder
1089 new file mode 100644
1090 index 0000000..e69de29
1091 diff --git a/doc/source/_theme/layout.html b/doc/source/_theme/layout.html
1092 new file mode 100644
1093 index 0000000..f5b388c
1095 +++ b/doc/source/_theme/layout.html
1097 +{% extends "sphinxdoc/layout.html" %}
1098 +{% set css_files = css_files + ['_static/tweaks.css'] %}
1099 +{% set script_files = script_files + ['_static/jquery.tweet.js'] %}
1100 +{% block extrahead %}
1101 + <script type='text/javascript'>
1102 + $(document).ready(function(){
1103 + $("#twitter_feed").tweet({
1104 + username: "openstack",
1105 + query: "from:openstack",
1108 + loading_text: "loading tweets..."
1114 +{%- macro sidebar() %}
1115 + {%- if not embedded %}{% if not theme_nosidebar|tobool %}
1116 + <div class="sphinxsidebar">
1117 + <div class="sphinxsidebarwrapper">
1118 + {%- block sidebarlogo %}
1120 + <p class="logo"><a href="{{ pathto(master_doc) }}">
1121 + <img class="logo" src="{{ pathto('_static/' + logo, 1) }}" alt="Logo"/>
1125 + {%- block sidebartoc %}
1126 + {%- if display_toc %}
1127 + <h3><a href="{{ pathto(master_doc) }}">{{ _('Table Of Contents') }}</a></h3>
1131 + {%- block sidebarrel %}
1133 + <h4>{{ _('Previous topic') }}</h4>
1134 + <p class="topless"><a href="{{ prev.link|e }}"
1135 + title="{{ _('previous chapter') }}">{{ prev.title }}</a></p>
1138 + <h4>{{ _('Next topic') }}</h4>
1139 + <p class="topless"><a href="{{ next.link|e }}"
1140 + title="{{ _('next chapter') }}">{{ next.title }}</a></p>
1143 + {%- block sidebarsourcelink %}
1144 + {%- if show_source and has_source and sourcename %}
1145 + <h3>{{ _('This Page') }}</h3>
1146 + <ul class="this-page-menu">
1147 + <li><a href="{{ pathto('_sources/' + sourcename, true)|e }}"
1148 + rel="nofollow">{{ _('Show Source') }}</a></li>
1152 + {%- if customsidebar %}
1153 + {% include customsidebar %}
1155 + {%- block sidebarsearch %}
1156 + {%- if pagename != "search" %}
1157 + <div id="searchbox" style="display: none">
1158 + <h3>{{ _('Quick search') }}</h3>
1159 + <form class="search" action="{{ pathto('search') }}" method="get">
1160 + <input type="text" name="q" size="18" />
1161 + <input type="submit" value="{{ _('Go') }}" />
1162 + <input type="hidden" name="check_keywords" value="yes" />
1163 + <input type="hidden" name="area" value="default" />
1165 + <p class="searchtip" style="font-size: 90%">
1166 + {{ _('Enter search terms or a module, class or function name.') }}
1169 + <script type="text/javascript">$('#searchbox').show(0);</script>
1171 + <p class="triangle-border right">
1172 + Psst... hey. You're reading the latest content, but it's for the Block Storage project only. You can read <a href="http://docs.openstack.org">all OpenStack docs</a> too.
1177 + {%- if pagename == "index" %}
1180 + <h3>{{ _('Twitter Feed') }}</h3>
1181 + <div id="twitter_feed" class='twitter_feed'></div>
1190 + {%- endif %}{% endif %}
1192 diff --git a/doc/source/_theme/theme.conf b/doc/source/_theme/theme.conf
1193 new file mode 100644
1194 index 0000000..e039fe0
1196 +++ b/doc/source/_theme/theme.conf
1199 +inherit = sphinxdoc
1200 +stylesheet = sphinxdoc.css
1201 +pygments_style = friendly
1203 diff --git a/doc/source/conf.py b/doc/source/conf.py
1204 index 7a2bf1a..01bd3b4 100644
1205 --- a/doc/source/conf.py
1206 +++ b/doc/source/conf.py
1207 @@ -33,9 +33,7 @@ extensions = ['sphinx.ext.autodoc',
1208 'sphinx.ext.coverage',
1209 'sphinx.ext.pngmath',
1210 'sphinx.ext.ifconfig',
1211 - 'sphinx.ext.graphviz',
1214 + 'sphinx.ext.graphviz']
1216 # autodoc generation is a bit aggressive and a nuisance
1217 # when doing heavy text edit cycles. Execute "export SPHINX_DEBUG=1"
1218 @@ -133,8 +131,8 @@ man_pages = [
1220 # The theme to use for HTML and HTML Help pages. Major themes that come with
1221 # Sphinx are currently 'default' and 'sphinxdoc'.
1222 -# html_theme_path = ["."]
1223 -# html_theme = '_theme'
1224 +html_theme_path = ["."]
1225 +html_theme = '_theme'
1227 # Theme options are theme-specific and customize the look and feel of a theme
1228 # further. For a list of options available for each theme, see the
1229 diff --git a/test-requirements.txt b/test-requirements.txt
1230 index 3d8e9bf..f83b20b 100644
1231 --- a/test-requirements.txt
1232 +++ b/test-requirements.txt
1237 testrepository>=0.0.17