Merge pull request #2915 from onceuponatimeforever/alabaster_sphinx_theme
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Switch to alabaster sphinx theme in the docs
authored by Kenneth Reitz · committed by Kenneth Reitz · parents fe0850f, 4d5e534 · Browse files · 11 files·+91 added−994 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
11 files+91 added−994 removed
- other:+91 added−994 removed
Provenance
- Commit
820d31d- Tree
5496e12- Author
Kenneth Reitz <me@kennethreitz.org>- Committer
Kenneth Reitz <me@kennethreitz.org>- Parent 1
fe0850f- Parent 2
4d5e534
11 files changed+91 added−994 removed
added:docs/_templates/layout.html+82 added
1+{%- extends "basic/layout.html" %}2+{%- block extrahead %}3+ {{ super() }}4+ {% if theme_touch_icon %}5+ <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />6+ {% endif %}7+ <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">8+{% endblock %}9+{%- block relbar2 %}{% endblock %}10+{%- block footer %}11+ <div class="footer">12+ © Copyright {{ copyright }}.13+ </div>14+ <a href="https://github.com/kennethreitz/requests" class="github">15+ <img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/>16+ </a>17+18+ <script type="text/javascript" src="https://gumroad.com/js/gumroad.js"></script>19+20+ <script type="text/javascript">21+ /* <![CDATA[ */22+ (function() {23+ var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];24+ s.type = 'text/javascript';25+ s.async = true;26+ s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';27+ t.parentNode.insertBefore(s, t);28+ })();29+ /* ]]> */30+ </script>31+ <script type="text/javascript">32+ setTimeout(function(){var a=document.createElement("script");33+ var b=document.getElementsByTagName("script")[0];34+ a.src=document.location.protocol+"//dnn506yrbagrg.cloudfront.net/pages/scripts/0013/7219.js?"+Math.floor(new Date().getTime()/3600000);35+ a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1);36+ </script>37+38+ <script type="text/javascript">39+ new HelloBar(36402,48802);40+ </script>41+42+43+ <script type="text/javascript">44+45+ var _gaq = _gaq || [];46+ _gaq.push(['_setAccount', 'UA-8742933-11']);47+ _gaq.push(['_setDomainName', 'none']);48+ _gaq.push(['_setAllowLinker', true]);49+ _gaq.push(['_trackPageview']);50+51+ (function() {52+ var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;53+ ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';54+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);55+ })();56+57+ </script>58+59+ <script type="text/javascript">60+ (function() {61+ var t = document.createElement('script');62+ t.type = 'text/javascript';63+ t.async = true;64+ t.id = 'gauges-tracker';65+ t.setAttribute('data-site-id',66+ '4ddc27f6613f5d186d000007');67+ t.src = '//secure.gaug.es/track.js';68+ var s = document.getElementsByTagName('script')[0];69+ s.parentNode.insertBefore(t, s);70+ })();71+ </script>72+73+ <script type="text/javascript">74+ (function() {75+ window._pa = window._pa || {};76+ _pa.productId = "requests-docs";77+ var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;78+ pa.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + "//tag.perfectaudience.com/serve/5226171f87bc6890da0000a0.js";79+ var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pa, s);80+ })();81+</script>82+{%- endblock %}deleted:docs/_themes/kr/static/flasky.css_t-536 removed
1-/*2- * flasky.css_t3- * ~~~~~~~~~~~~4- *5- * :copyright: Copyright 2010 by Armin Ronacher. Modifications by Kenneth Reitz.6- * :license: Flask Design License, see LICENSE for details.7- */8-9-{% set page_width = '940px' %}10-{% set sidebar_width = '220px' %}11-12-@import url("basic.css");13-14-/* -- page layout ----------------------------------------------------------- */15-16-body {17- font-family: 'goudy old style', 'minion pro', 'bell mt', Georgia, 'Hiragino Mincho Pro';18- font-size: 17px;19- background-color: white;20- color: #000;21- margin: 0;22- padding: 0;23-}24-25-div.document {26- width: {{ page_width }};27- margin: 30px auto 0 auto;28-}29-30-div.documentwrapper {31- float: left;32- width: 100%;33-}34-35-div.bodywrapper {36- margin: 0 0 0 {{ sidebar_width }};37-}38-39-div.sphinxsidebar {40- width: {{ sidebar_width }};41-}42-43-hr {44- border: 1px solid #B1B4B6;45-}46-47-div.body {48- background-color: #ffffff;49- color: #3E4349;50- padding: 0 30px 0 30px;51-}52-53-img.floatingflask {54- padding: 0 0 10px 10px;55- float: right;56-}57-58-div.footer {59- width: {{ page_width }};60- margin: 20px auto 30px auto;61- font-size: 14px;62- color: #888;63- text-align: right;64-}65-66-div.footer a {67- color: #888;68-}69-70-div.related {71- display: none;72-}73-74-div.sphinxsidebar a {75- color: #444;76- text-decoration: none;77- border-bottom: 1px dotted #999;78-}79-80-div.sphinxsidebar a:hover {81- border-bottom: 1px solid #999;82-}83-84-div.sphinxsidebar {85- font-size: 14px;86- line-height: 1.5;87-}88-89-div.sphinxsidebarwrapper {90- padding: 18px 10px;91-}92-93-div.sphinxsidebarwrapper p.logo {94- padding: 0;95- margin: -10px 0 0 -20px;96- text-align: center;97-}98-99-div.sphinxsidebar h3,100-div.sphinxsidebar h4 {101- font-family: 'Garamond', 'Georgia', serif;102- color: #444;103- font-size: 24px;104- font-weight: normal;105- margin: 0 0 5px 0;106- padding: 0;107-}108-109-div.sphinxsidebar h4 {110- font-size: 20px;111-}112-113-div.sphinxsidebar h3 a {114- color: #444;115-}116-117-div.sphinxsidebar p.logo a,118-div.sphinxsidebar h3 a,119-div.sphinxsidebar p.logo a:hover,120-div.sphinxsidebar h3 a:hover {121- border: none;122-}123-124-div.sphinxsidebar p {125- color: #555;126- margin: 10px 0;127-}128-129-div.sphinxsidebar ul {130- margin: 10px 0;131- padding: 0;132- color: #000;133-}134-135-div.sphinxsidebar input {136- border: 1px solid #ccc;137- font-family: 'Georgia', serif;138- font-size: 1em;139-}140-141-/* -- body styles ----------------------------------------------------------- */142-143-a {144- color: #004B6B;145- text-decoration: underline;146-}147-148-a:hover {149- color: #6D4100;150- text-decoration: underline;151-}152-153-div.body h1,154-div.body h2,155-div.body h3,156-div.body h4,157-div.body h5,158-div.body h6 {159- font-family: 'Garamond', 'Georgia', serif;160- font-weight: normal;161- margin: 30px 0px 10px 0px;162- padding: 0;163-}164-165-div.body h1 { margin-top: 0; padding-top: 0; font-size: 240%; }166-div.body h2 { font-size: 180%; }167-div.body h3 { font-size: 150%; }168-div.body h4 { font-size: 130%; }169-div.body h5 { font-size: 100%; }170-div.body h6 { font-size: 100%; }171-172-a.headerlink {173- color: #ddd;174- padding: 0 4px;175- text-decoration: none;176-}177-178-a.headerlink:hover {179- color: #444;180- background: #eaeaea;181-}182-183-div.body p, div.body dd, div.body li {184- line-height: 1.4em;185-}186-187-div.admonition {188- background: #fafafa;189- margin: 20px -30px;190- padding: 10px 30px;191- border-top: 1px solid #ccc;192- border-bottom: 1px solid #ccc;193-}194-195-div.admonition tt.xref, div.admonition a tt {196- border-bottom: 1px solid #fafafa;197-}198-199-dd div.admonition {200- margin-left: -60px;201- padding-left: 60px;202-}203-204-div.admonition p.admonition-title {205- font-family: 'Garamond', 'Georgia', serif;206- font-weight: normal;207- font-size: 24px;208- margin: 0 0 10px 0;209- padding: 0;210- line-height: 1;211-}212-213-div.admonition p.last {214- margin-bottom: 0;215-}216-217-div.highlight {218- background-color: white;219-}220-221-dt:target, .highlight {222- background: #FAF3E8;223-}224-225-div.note {226- background-color: #eee;227- border: 1px solid #ccc;228-}229-230-div.seealso {231- background-color: #ffc;232- border: 1px solid #ff6;233-}234-235-div.topic {236- background-color: #eee;237-}238-239-p.admonition-title {240- display: inline;241-}242-243-p.admonition-title:after {244- content: ":";245-}246-247-pre, tt {248- font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;249- font-size: 0.9em;250-}251-252-img.screenshot {253-}254-255-tt.descname, tt.descclassname {256- font-size: 0.95em;257-}258-259-tt.descname {260- padding-right: 0.08em;261-}262-263-img.screenshot {264- -moz-box-shadow: 2px 2px 4px #eee;265- -webkit-box-shadow: 2px 2px 4px #eee;266- box-shadow: 2px 2px 4px #eee;267-}268-269-table.docutils {270- border: 1px solid #888;271- -moz-box-shadow: 2px 2px 4px #eee;272- -webkit-box-shadow: 2px 2px 4px #eee;273- box-shadow: 2px 2px 4px #eee;274-}275-276-table.docutils td, table.docutils th {277- border: 1px solid #888;278- padding: 0.25em 0.7em;279-}280-281-table.field-list, table.footnote {282- border: none;283- -moz-box-shadow: none;284- -webkit-box-shadow: none;285- box-shadow: none;286-}287-288-table.footnote {289- margin: 15px 0;290- width: 100%;291- border: 1px solid #eee;292- background: #fdfdfd;293- font-size: 0.9em;294-}295-296-table.footnote + table.footnote {297- margin-top: -15px;298- border-top: none;299-}300-301-table.field-list th {302- padding: 0 0.8em 0 0;303-}304-305-table.field-list td {306- padding: 0;307-}308-309-table.footnote td.label {310- width: 0px;311- padding: 0.3em 0 0.3em 0.5em;312-}313-314-table.footnote td {315- padding: 0.3em 0.5em;316-}317-318-dl {319- margin: 0;320- padding: 0;321-}322-323-dl dd {324- margin-left: 30px;325-}326-327-blockquote {328- margin: 0 0 0 30px;329- padding: 0;330-}331-332-ul, ol {333- margin: 10px 0 10px 30px;334- padding: 0;335-}336-337-pre {338- background: #eee;339- padding: 7px 30px;340- margin: 15px -30px;341- line-height: 1.3em;342-}343-344-dl pre, blockquote pre, li pre {345- margin-left: -60px;346- padding-left: 60px;347-}348-349-dl dl pre {350- margin-left: -90px;351- padding-left: 90px;352-}353-354-tt {355- background-color: #ecf0f3;356- color: #222;357- /* padding: 1px 2px; */358-}359-360-tt.xref, a tt {361- background-color: #FBFBFB;362- border-bottom: 1px solid white;363-}364-365-a.reference {366- text-decoration: none;367- border-bottom: 1px dotted #004B6B;368-}369-370-a.reference:hover {371- border-bottom: 1px solid #6D4100;372-}373-374-a.footnote-reference {375- text-decoration: none;376- font-size: 0.7em;377- vertical-align: top;378- border-bottom: 1px dotted #004B6B;379-}380-381-a.footnote-reference:hover {382- border-bottom: 1px solid #6D4100;383-}384-385-a:hover tt {386- background: #EEE;387-}388-389-390-@media screen and (max-width: 870px) {391-392- div.sphinxsidebar {393- display: none;394- }395-396- div.document {397- width: 100%;398-399- }400-401- div.documentwrapper {402- margin-left: 0;403- margin-top: 0;404- margin-right: 0;405- margin-bottom: 0;406- }407-408- div.bodywrapper {409- margin-top: 0;410- margin-right: 0;411- margin-bottom: 0;412- margin-left: 0;413- }414-415- ul {416- margin-left: 0;417- }418-419- .document {420- width: auto;421- }422-423- .footer {424- width: auto;425- }426-427- .bodywrapper {428- margin: 0;429- }430-431- .footer {432- width: auto;433- }434-435- .github {436- display: none;437- }438-439-440-441-}442-443-444-445-@media screen and (max-width: 875px) {446-447- body {448- margin: 0;449- padding: 20px 30px;450- }451-452- div.documentwrapper {453- float: none;454- background: white;455- }456-457- div.sphinxsidebar {458- display: block;459- float: none;460- width: 102.5%;461- margin: 50px -30px -20px -30px;462- padding: 10px 20px;463- background: #333;464- color: white;465- }466-467- div.sphinxsidebar h3, div.sphinxsidebar h4, div.sphinxsidebar p,468- div.sphinxsidebar h3 a {469- color: white;470- }471-472- div.sphinxsidebar a {473- color: #aaa;474- }475-476- div.sphinxsidebar p.logo {477- display: none;478- }479-480- div.document {481- width: 100%;482- margin: 0;483- }484-485- div.related {486- display: block;487- margin: 0;488- padding: 10px 0 20px 0;489- }490-491- div.related ul,492- div.related ul li {493- margin: 0;494- padding: 0;495- }496-497- div.footer {498- display: none;499- }500-501- div.bodywrapper {502- margin: 0;503- }504-505- div.body {506- min-height: 0;507- padding: 0;508- }509-510- .rtd_doc_footer {511- display: none;512- }513-514- .document {515- width: auto;516- }517-518- .footer {519- width: auto;520- }521-522- .footer {523- width: auto;524- }525-526- .github {527- display: none;528- }529-}530-531-532-/* misc. */533-534-.revsys-inline {535- display: none!important;536-}deleted:docs/_themes/kr/layout.html-85 removed
1-{%- extends "basic/layout.html" %}2-{%- block extrahead %}3- {{ super() }}4- {% if theme_touch_icon %}5- <link rel="apple-touch-icon" href="{{ pathto('_static/' ~ theme_touch_icon, 1) }}" />6- {% endif %}7- <meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9">8- <script type="text/javascript" src="https://gumroad.com/js/gumroad.js"></script>9-{% endblock %}10-{%- block relbar2 %}{% endblock %}11-{%- block footer %}12- <div class="footer">13- © Copyright {{ copyright }}.14- </div>15- <a href="https://github.com/kennethreitz/requests" class="github">16- <img style="position: absolute; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" class="github"/>17- </a>18-19- <script type="text/javascript" src="https://gumroad.com/js/gumroad.js"></script>20-21- <script type="text/javascript">22- /* <![CDATA[ */23- (function() {24- var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];25- s.type = 'text/javascript';26- s.async = true;27- s.src = 'http://api.flattr.com/js/0.6/load.js?mode=auto';28- t.parentNode.insertBefore(s, t);29- })();30- /* ]]> */31- </script>32- <script type="text/javascript">33- setTimeout(function(){var a=document.createElement("script");34- var b=document.getElementsByTagName("script")[0];35- a.src=document.location.protocol+"//dnn506yrbagrg.cloudfront.net/pages/scripts/0013/7219.js?"+Math.floor(new Date().getTime()/3600000);36- a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}, 1);37- </script>38-39- <script type="text/javascript">40- new HelloBar(36402,48802);41- </script>42-43-44- <script type="text/javascript">45-46- var _gaq = _gaq || [];47- _gaq.push(['_setAccount', 'UA-8742933-11']);48- _gaq.push(['_setDomainName', 'none']);49- _gaq.push(['_setAllowLinker', true]);50- _gaq.push(['_trackPageview']);51-52- (function() {53- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;54- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';55- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);56- })();57-58- </script>59-60- <script type="text/javascript">61- (function() {62- var t = document.createElement('script');63- t.type = 'text/javascript';64- t.async = true;65- t.id = 'gauges-tracker';66- t.setAttribute('data-site-id',67- '4ddc27f6613f5d186d000007');68- t.src = '//secure.gaug.es/track.js';69- var s = document.getElementsByTagName('script')[0];70- s.parentNode.insertBefore(t, s);71- })();72- </script>73-74- <script type="text/javascript">75- (function() {76- window._pa = window._pa || {};77- _pa.productId = "requests-docs";78- var pa = document.createElement('script'); pa.type = 'text/javascript'; pa.async = true;79- pa.src = ('https:' == document.location.protocol ? 'https:' : 'http:') + "//tag.perfectaudience.com/serve/5226171f87bc6890da0000a0.js";80- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(pa, s);81- })();82-</script>83-84-85-{%- endblock %}deleted:docs/_themes/kr/relations.html-19 removed
12345678910111213141516171819<h3>Related Topics</h3><ul> <li><a href="{{ pathto(master_doc) }}">Documentation overview</a><ul> {%- for parent in parents %} <li><a href="{{ parent.link|e }}">{{ parent.title }}</a><ul> {%- endfor %} {%- if prev %} <li>Previous: <a href="{{ prev.link|e }}" title="{{ _('previous chapter') }}">{{ prev.title }}</a></li> {%- endif %} {%- if next %} <li>Next: <a href="{{ next.link|e }}" title="{{ _('next chapter') }}">{{ next.title }}</a></li> {%- endif %} {%- for parent in parents %} </ul></li> {%- endfor %} </ul></li></ul>deleted:docs/_themes/kr/theme.conf-7 removed
1-[theme]2-inherit = basic3-stylesheet = flasky.css4-pygments_style = flask_theme_support.FlaskyStyle5-6-[options]7-touch_icon =deleted:docs/_themes/kr_small/static/flasky.css_t-287 removed
1-/*2- * flasky.css_t3- * ~~~~~~~~~~~~4- *5- * Sphinx stylesheet -- flasky theme based on nature theme.6- *7- * :copyright: Copyright 2007-2010 by the Sphinx team, see AUTHORS.8- * :license: BSD, see LICENSE for details.9- *10- */11-12-@import url("basic.css");13-14-/* -- page layout ----------------------------------------------------------- */15-16-body {17- font-family: 'Georgia', serif;18- font-size: 17px;19- color: #000;20- background: white;21- margin: 0;22- padding: 0;23-}24-25-div.documentwrapper {26- float: left;27- width: 100%;28-}29-30-div.bodywrapper {31- margin: 40px auto 0 auto;32- width: 700px;33-}34-35-hr {36- border: 1px solid #B1B4B6;37-}38-39-div.body {40- background-color: #ffffff;41- color: #3E4349;42- padding: 0 30px 30px 30px;43-}44-45-img.floatingflask {46- padding: 0 0 10px 10px;47- float: right;48-}49-50-div.footer {51- text-align: right;52- color: #888;53- padding: 10px;54- font-size: 14px;55- width: 650px;56- margin: 0 auto 40px auto;57-}58-59-div.footer a {60- color: #888;61- text-decoration: underline;62-}63-64-div.related {65- line-height: 32px;66- color: #888;67-}68-69-div.related ul {70- padding: 0 0 0 10px;71-}72-73-div.related a {74- color: #444;75-}76-77-/* -- body styles ----------------------------------------------------------- */78-79-a {80- color: #004B6B;81- text-decoration: underline;82-}83-84-a:hover {85- color: #6D4100;86- text-decoration: underline;87-}88-89-div.body {90- padding-bottom: 40px; /* saved for footer */91-}92-93-div.body h1,94-div.body h2,95-div.body h3,96-div.body h4,97-div.body h5,98-div.body h6 {99- font-family: 'Garamond', 'Georgia', serif;100- font-weight: normal;101- margin: 30px 0px 10px 0px;102- padding: 0;103-}104-105-{% if theme_index_logo %}106-div.indexwrapper h1 {107- text-indent: -999999px;108- background: url({{ theme_index_logo }}) no-repeat center center;109- height: {{ theme_index_logo_height }};110-}111-{% endif %}112-113-div.body h2 { font-size: 180%; }114-div.body h3 { font-size: 150%; }115-div.body h4 { font-size: 130%; }116-div.body h5 { font-size: 100%; }117-div.body h6 { font-size: 100%; }118-119-a.headerlink {120- color: white;121- padding: 0 4px;122- text-decoration: none;123-}124-125-a.headerlink:hover {126- color: #444;127- background: #eaeaea;128-}129-130-div.body p, div.body dd, div.body li {131- line-height: 1.4em;132-}133-134-div.admonition {135- background: #fafafa;136- margin: 20px -30px;137- padding: 10px 30px;138- border-top: 1px solid #ccc;139- border-bottom: 1px solid #ccc;140-}141-142-div.admonition p.admonition-title {143- font-family: 'Garamond', 'Georgia', serif;144- font-weight: normal;145- font-size: 24px;146- margin: 0 0 10px 0;147- padding: 0;148- line-height: 1;149-}150-151-div.admonition p.last {152- margin-bottom: 0;153-}154-155-div.highlight{156- background-color: white;157-}158-159-dt:target, .highlight {160- background: #FAF3E8;161-}162-163-div.note {164- background-color: #eee;165- border: 1px solid #ccc;166-}167-168-div.seealso {169- background-color: #ffc;170- border: 1px solid #ff6;171-}172-173-div.topic {174- background-color: #eee;175-}176-177-div.warning {178- background-color: #ffe4e4;179- border: 1px solid #f66;180-}181-182-p.admonition-title {183- display: inline;184-}185-186-p.admonition-title:after {187- content: ":";188-}189-190-pre, tt {191- font-family: 'Consolas', 'Menlo', 'Deja Vu Sans Mono', 'Bitstream Vera Sans Mono', monospace;192- font-size: 0.85em;193-}194-195-img.screenshot {196-}197-198-tt.descname, tt.descclassname {199- font-size: 0.95em;200-}201-202-tt.descname {203- padding-right: 0.08em;204-}205-206-img.screenshot {207- -moz-box-shadow: 2px 2px 4px #eee;208- -webkit-box-shadow: 2px 2px 4px #eee;209- box-shadow: 2px 2px 4px #eee;210-}211-212-table.docutils {213- border: 1px solid #888;214- -moz-box-shadow: 2px 2px 4px #eee;215- -webkit-box-shadow: 2px 2px 4px #eee;216- box-shadow: 2px 2px 4px #eee;217-}218-219-table.docutils td, table.docutils th {220- border: 1px solid #888;221- padding: 0.25em 0.7em;222-}223-224-table.field-list, table.footnote {225- border: none;226- -moz-box-shadow: none;227- -webkit-box-shadow: none;228- box-shadow: none;229-}230-231-table.footnote {232- margin: 15px 0;233- width: 100%;234- border: 1px solid #eee;235-}236-237-table.field-list th {238- padding: 0 0.8em 0 0;239-}240-241-table.field-list td {242- padding: 0;243-}244-245-table.footnote td {246- padding: 0.5em;247-}248-249-dl {250- margin: 0;251- padding: 0;252-}253-254-dl dd {255- margin-left: 30px;256-}257-258-pre {259- padding: 0;260- margin: 15px -30px;261- padding: 8px;262- line-height: 1.3em;263- padding: 7px 30px;264- background: #eee;265- border-radius: 2px;266- -moz-border-radius: 2px;267- -webkit-border-radius: 2px;268-}269-270-dl pre {271- margin-left: -60px;272- padding-left: 60px;273-}274-275-tt {276- background-color: #ecf0f3;277- color: #222;278- /* padding: 1px 2px; */279-}280-281-tt.xref, a tt {282- background-color: #FBFBFB;283-}284-285-a:hover tt {286- background: #EEE;287-}deleted:docs/_themes/kr_small/layout.html-22 removed
12345678910111213141516171819202122{% extends "basic/layout.html" %}{% block header %} {{ super() }} {% if pagename == 'index' %} <div class=indexwrapper> {% endif %}{% endblock %}{% block footer %} {% if pagename == 'index' %} </div> {% endif %}{% endblock %}{# do not display relbars #}{% block relbar1 %}{% endblock %}{% block relbar2 %} {% if theme_github_fork %} <a href="http://github.com/{{ theme_github_fork }}"><img style="position: fixed; top: 0; right: 0; border: 0;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub" /></a> {% endif %}{% endblock %}{% block sidebar1 %}{% endblock %}{% block sidebar2 %}{% endblock %}deleted:docs/_themes/kr_small/theme.conf-10 removed
1-[theme]2-inherit = basic3-stylesheet = flasky.css4-nosidebar = true5-pygments_style = flask_theme_support.FlaskyStyle6-7-[options]8-index_logo = ''9-index_logo_height = 120px10-github_fork = ''deleted:docs/_themes/README.rst-25 removed
1-krTheme Sphinx Style2-====================3-4-This repository contains sphinx styles Kenneth Reitz uses in most of5-his projects. It is a derivative of Mitsuhiko's themes for Flask and Flask related6-projects. To use this style in your Sphinx documentation, follow7-this guide:8-9-1. put this folder as _themes into your docs folder. Alternatively10- you can also use git submodules to check out the contents there.11-12-2. add this to your conf.py: ::13-14- sys.path.append(os.path.abspath('_themes'))15- html_theme_path = ['_themes']16- html_theme = 'flask'17-18-The following themes exist:19-20-**kr**21- the standard flask documentation theme for large projects22-23-**kr_small**24- small one-page theme. Intended to be used by very small addon libraries.25-modified:docs/conf.py+8 added-3 removed
18 unmodified lines19 sys.path.insert(0, os.path.abspath('..'))20 import requests21 from requests import __version__22 23+import alabaster24+25 # -- General configuration -----------------------------------------------------26 27 # If your documentation needs a minimal Sphinx version, state it here.28 #needs_sphinx = '1.0'2 unmodified lines31 # coming with Sphinx (named 'sphinx.ext.*') or your custom ones.32 extensions = [33 'sphinx.ext.autodoc',34 'sphinx.ext.intersphinx',35+ 'alabaster'36 ]37 38 # Add any paths that contain templates here, relative to this directory.39 templates_path = ['_templates']63 unmodified lines103 104 # Theme options are theme-specific and customize the look and feel of a theme105 # further. For a list of options available for each theme, see the106 # documentation.104-#html_theme_options = {}107+html_theme_options = {108+ 'show_powered_by': False109+}110 111 # Add any paths that contain custom themes here, relative to this directory.112 #html_theme_path = []113 132 unmodified lines246 # Documents to append as an appendix to all manuals.247 texinfo_appendices = []248 249 sys.path.append(os.path.abspath('_themes'))245-html_theme_path = ['_themes']246-html_theme = 'kr'250+html_theme_path =[alabaster.get_path()]251+html_theme = 'alabaster'252 253 intersphinx_mapping = {'urllib3': ('http://urllib3.readthedocs.org/en/latest', None)}modified:docs/requirements.txt+1 added
1+alabaster==0.7.32 Sphinx==1.1.3