浏览代码

Improved the docs styling and regenerate

JC Brand 11 年之前
父节点
当前提交
73528f4ced

+ 1 - 1
docs/html/.buildinfo

@@ -1,4 +1,4 @@
 # Sphinx build info version 1
 # This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: a0a7e72b005f3e05b1780540e63bba52
+config: 10e42bcb00305f18f6856c260269639c
 tags: 645f666f9bcd5a90fca523b33c5a78b7

+ 20 - 7
docs/html/_static/stylesheet.css

@@ -1,15 +1,28 @@
-/*******************************************************************************
-Slate Theme for GitHub Pages
-by Jason Costello, @jsncostello
-*******************************************************************************/
-
 @import url("default.css");
-@import url("../../../stylesheets/stylesheet.css");
 @import url(pygment_trac.css);
 
+body {
+    margin: 1em;
+}
+
+body,
+header,
 div.body,
 div.document {
-    background-color: transparent;
+    background-color: white;
+}
+
+header {
+    margin: 1em;
+}
+
+header h1#project_title {
+    color: black;
+    font-size: 44px;
+}
+
+header h1#project_title a {
+    color: black;
 }
 
 div.body h1, 

+ 1 - 8
docs/html/genindex.html

@@ -29,15 +29,8 @@
   <body>
     <div id="header_wrap" class="outer">
         <header class="inner">
-            <a id="forkme_banner" href="https://github.com/jcbrand/converse.js">View on GitHub</a>
-
             <h1 id="project_title"><a href="http://conversejs.org">Converse.js</a></h1>
             <h2 id="project_tagline">Documentation</h2>
-
-            <section id="downloads">
-                <a class="zip_download_link" href="https://github.com/jcbrand/converse.js/zipball/master">Download this project as a .zip file</a>
-                <a class="tar_download_link" href="https://github.com/jcbrand/converse.js/tarball/master">Download this project as a tar.gz file</a>
-            </section>
         </header>
     </div>
 
@@ -84,7 +77,7 @@
 </div>
     <div id="footer_wrap" class="outer">
     <footer class="inner">
-        &copy; Copyright 2013, JC Brand.
+        &copy; Copyright 2014, JC Brand.
     <p class="copyright">Converse.js created by <a href="http://opkode.com" target="_blank">jcbrand</a></p>
     </footer>
     </div>

+ 1 - 8
docs/html/index.html

@@ -28,15 +28,8 @@
   <body>
     <div id="header_wrap" class="outer">
         <header class="inner">
-            <a id="forkme_banner" href="https://github.com/jcbrand/converse.js">View on GitHub</a>
-
             <h1 id="project_title"><a href="http://conversejs.org">Converse.js</a></h1>
             <h2 id="project_tagline">Documentation</h2>
-
-            <section id="downloads">
-                <a class="zip_download_link" href="https://github.com/jcbrand/converse.js/zipball/master">Download this project as a .zip file</a>
-                <a class="tar_download_link" href="https://github.com/jcbrand/converse.js/tarball/master">Download this project as a tar.gz file</a>
-            </section>
         </header>
     </div>
 
@@ -1151,7 +1144,7 @@ The available options are:</p>
 </div>
     <div id="footer_wrap" class="outer">
     <footer class="inner">
-        &copy; Copyright 2013, JC Brand.
+        &copy; Copyright 2014, JC Brand.
     <p class="copyright">Converse.js created by <a href="http://opkode.com" target="_blank">jcbrand</a></p>
     </footer>
     </div>

+ 1 - 8
docs/html/search.html

@@ -36,15 +36,8 @@
   <body>
     <div id="header_wrap" class="outer">
         <header class="inner">
-            <a id="forkme_banner" href="https://github.com/jcbrand/converse.js">View on GitHub</a>
-
             <h1 id="project_title"><a href="http://conversejs.org">Converse.js</a></h1>
             <h2 id="project_tagline">Documentation</h2>
-
-            <section id="downloads">
-                <a class="zip_download_link" href="https://github.com/jcbrand/converse.js/zipball/master">Download this project as a .zip file</a>
-                <a class="tar_download_link" href="https://github.com/jcbrand/converse.js/tarball/master">Download this project as a tar.gz file</a>
-            </section>
         </header>
     </div>
 
@@ -107,7 +100,7 @@
 </div>
     <div id="footer_wrap" class="outer">
     <footer class="inner">
-        &copy; Copyright 2013, JC Brand.
+        &copy; Copyright 2014, JC Brand.
     <p class="copyright">Converse.js created by <a href="http://opkode.com" target="_blank">jcbrand</a></p>
     </footer>
     </div>

文件差异内容过多而无法显示
+ 0 - 0
docs/html/searchindex.js


+ 0 - 48
docs/html/static/stylesheet.css

@@ -1,48 +0,0 @@
-/*******************************************************************************
-Slate Theme for GitHub Pages
-by Jason Costello, @jsncostello
-*******************************************************************************/
-
-@import url("default.css");
-@import url("../../../stylesheets/stylesheet.css");
-@import url(pygment_trac.css);
-
-div.body h1 {
-    font-size: 36px;
-    margin-top: 1em;
-}
-
-div.body,
-div.document {
-    background-color: transparent;
-}
-
-div.body h1, 
-div.body h2, 
-div.body h3, 
-div.body h4, 
-div.body h5, 
-div.body h6 {
-    background-color: transparent;
-    border-bottom: 0;
-}
-
-h1#project_title a {
-    color: white;
-}
-
-h1 a {
-    color: #0069ba;
-}
-
-ul {
-    margin-bottom: 0;
-}
-
-tt.literal {
-    color: #222;
-    background-color: #fff;
-    font-family: Monaco, "Bitstream Vera Sans Mono", "Lucida Console", Terminal, monospace;
-    font-size: 14px;
-}
-

+ 0 - 7
docs/source/_templates/layout.html

@@ -147,15 +147,8 @@
 {%- block header %}
     <div id="header_wrap" class="outer">
         <header class="inner">
-            <a id="forkme_banner" href="https://github.com/jcbrand/converse.js">View on GitHub</a>
-
             <h1 id="project_title"><a href="http://conversejs.org">Converse.js</a></h1>
             <h2 id="project_tagline">Documentation</h2>
-
-            <section id="downloads">
-                <a class="zip_download_link" href="https://github.com/jcbrand/converse.js/zipball/master">Download this project as a .zip file</a>
-                <a class="tar_download_link" href="https://github.com/jcbrand/converse.js/tarball/master">Download this project as a tar.gz file</a>
-            </section>
         </header>
     </div>
 {% endblock %}

+ 1 - 1
docs/source/conf.py

@@ -41,7 +41,7 @@ master_doc = 'index'
 
 # General information about the project.
 project = u'Converse.js'
-copyright = u'2013, JC Brand'
+copyright = u'2014, JC Brand'
 
 # The version info for the project you're documenting, acts as replacement for
 # |version| and |release|, also used in various other places throughout the

+ 20 - 7
docs/source/theme/static/stylesheet.css_t

@@ -1,15 +1,28 @@
-/*******************************************************************************
-Slate Theme for GitHub Pages
-by Jason Costello, @jsncostello
-*******************************************************************************/
-
 @import url("default.css");
-@import url("../../../stylesheets/stylesheet.css");
 @import url(pygment_trac.css);
 
+body {
+    margin: 1em;
+}
+
+body,
+header,
 div.body,
 div.document {
-    background-color: transparent;
+    background-color: white;
+}
+
+header {
+    margin: 1em;
+}
+
+header h1#project_title {
+    color: black;
+    font-size: 44px;
+}
+
+header h1#project_title a {
+    color: black;
 }
 
 div.body h1, 

部分文件因为文件数量过多而无法显示