[Commits] r727 - in sandbox/docsrc: . _theme _theme/geoext _theme/geoext/static _theme/geoext/static/img
commits at geoext.org
commits at geoext.org
Thu May 14 01:27:32 CEST 2009
Author: tschaub
Date: 2009-05-14 01:27:32 +0200 (Thu, 14 May 2009)
New Revision: 727
Added:
sandbox/docsrc/_theme/
sandbox/docsrc/_theme/geoext/
sandbox/docsrc/_theme/geoext/index_sidebar.html
sandbox/docsrc/_theme/geoext/layout.html
sandbox/docsrc/_theme/geoext/static/
sandbox/docsrc/_theme/geoext/static/geoext.css
sandbox/docsrc/_theme/geoext/static/img/
sandbox/docsrc/_theme/geoext/static/img/blog-callout-bg.png
sandbox/docsrc/_theme/geoext/static/img/blog-callout-rss.png
sandbox/docsrc/_theme/geoext/static/img/blog-callout.png
sandbox/docsrc/_theme/geoext/static/img/content-bg.png
sandbox/docsrc/_theme/geoext/static/img/favicon.ico
sandbox/docsrc/_theme/geoext/static/img/footer-bg.png
sandbox/docsrc/_theme/geoext/static/img/geoext-logo.png
sandbox/docsrc/_theme/geoext/static/img/geoext-logo.psd
sandbox/docsrc/_theme/geoext/static/img/header-bg.png
sandbox/docsrc/_theme/geoext/static/img/html-bg.png
sandbox/docsrc/_theme/geoext/static/img/main-bg.png
sandbox/docsrc/_theme/geoext/static/img/search-box.png
sandbox/docsrc/_theme/geoext/static/img/search_icon_green.png
sandbox/docsrc/_theme/geoext/static/img/toc-contrast-bg.gif
sandbox/docsrc/_theme/geoext/static/img/toc-contrast-bg.png
sandbox/docsrc/_theme/geoext/static/img/toc-contrast-top-bg.png
sandbox/docsrc/_theme/geoext/theme.conf
Removed:
sandbox/docsrc/_static/
sandbox/docsrc/_templates/
Modified:
sandbox/docsrc/conf.py
sandbox/docsrc/index.rst
Log:
Bundling up a theme.
Added: sandbox/docsrc/_theme/geoext/index_sidebar.html
===================================================================
--- sandbox/docsrc/_theme/geoext/index_sidebar.html (rev 0)
+++ sandbox/docsrc/_theme/geoext/index_sidebar.html 2009-05-13 23:27:32 UTC (rev 727)
@@ -0,0 +1 @@
+<b>foo</b>
\ No newline at end of file
Added: sandbox/docsrc/_theme/geoext/layout.html
===================================================================
--- sandbox/docsrc/_theme/geoext/layout.html (rev 0)
+++ sandbox/docsrc/_theme/geoext/layout.html 2009-05-13 23:27:32 UTC (rev 727)
@@ -0,0 +1,75 @@
+{% extends "sphinxdoc/layout.html" %}
+{%- macro customrelbar(showrel=True) %}
+ <div class="related">
+ <h3>{{ _('Navigation') }}</h3>
+ <ul>
+ {%- if showrel %}
+ {%- for rellink in rellinks %}
+ <li class="right" {% if loop.first %}style="margin-right: 10px"{% endif %}>
+ <a href="{{ pathto(rellink[0]) }}" title="{{ rellink[1]|striptags }}"
+ {{ accesskey(rellink[2]) }}>{{ rellink[3] }}</a>
+ {%- if not loop.first %}{{ reldelim2 }}{% endif %}</li>
+ {%- endfor %}
+ {%- endif %}
+ {%- block rootrellink %}
+ <li><a href="{{ pathto(master_doc) }}">{{ shorttitle|e }}</a>{{ reldelim1 }}</li>
+ {%- endblock %}
+ {%- for parent in parents %}
+ <li><a href="{{ parent.link|e }}" {% if loop.last %}{{ accesskey("U") }}{% endif %}>{{ parent.title }}</a>{{ reldelim1 }}</li>
+ {%- endfor %}
+ <li><a href="#">{{ title }}</a></li>
+ </ul>
+ </div>
+{%- endmacro %}
+{%- macro index_sidebar() %}
+ <div class="sphinxsidebar">
+ <div class="sphinxsidebarwrapper">
+ <h1>Download</h1>
+ <p>Current release: <a href="{{ pathto('downloads') }}">{{ version }}</a></p>
+ </div>
+ </div>
+{%- endmacro %}
+
+{% block extrahead %}
+ <link rel="stylesheet" href="{{ pathto('_static/geoext.css', 1) }}" type="text/css" />
+{% endblock %}
+
+{% block header %}
+ <div class="header">
+ <div class="wrap">
+ <h1 id="logo"><a href="{{ pathto('index') }}">GeoExt</a></h1>
+ <ul id="top-nav">
+ <li class="first"><a href="{{ pathto('docs') }}">Documentation</a></li>
+ <li><a href="{{ pathto('examples/index') }}">Demos</a></li>
+ <li><a href="{{ pathto('downloads') }}">Download</a></li>
+ <li><a href="http://www.geoext.org/trac/geoext/">Development</a></li>
+ </ul>
+ {%- if pagename != "search" %}
+ <div id="searchbox">
+ <form class="search" action="{{ pathto('search') }}" method="get">
+ <input id="searchbox-query" type="text" name="q" size="25" value="Search …" tabindex="3" onblur="if(this.value=='') this.value='Search …';" onfocus="if(this.value=='Search …') this.value='';" />
+ <input id="searchbox-submit" type="image" value="Search" src="{{ pathto('_static/img/search_icon_green.png', 1)}}" />
+ <input type="hidden" name="check_keywords" value="yes" />
+ <input type="hidden" name="area" value="default" />
+ </form>
+ </div>
+ <script type="text/javascript">$('#searchbox').show(0);</script>
+ {%- endif %}
+ </div>
+ </div>
+{% endblock %}
+
+{% block relbar1 %}
+ {%- if pagename != 'index' %}{{ customrelbar(False) }}{% endif %}
+{% endblock %}
+
+{% block sidebarsearch %}{% endblock %}
+
+{%- block sidebar1 %}
+ {%- if pagename == 'index' %}{{ index_sidebar() }}{% else %}{{ super() }}{% endif %}
+{% endblock %}
+{%- block sidebar2 %}{% endblock %}
+
+{%- block relbar2 %}
+ {%- if pagename != 'index' %}{{ customrelbar(True) }}{% endif %}
+{% endblock %}
Added: sandbox/docsrc/_theme/geoext/static/geoext.css
===================================================================
--- sandbox/docsrc/_theme/geoext/static/geoext.css (rev 0)
+++ sandbox/docsrc/_theme/geoext/static/geoext.css 2009-05-13 23:27:32 UTC (rev 727)
@@ -0,0 +1,152 @@
+/* override inherited style declarations */
+html {
+ margin: 0;
+ padding: 0;
+}
+body {
+ border: none;
+ background-color: white;
+ margin: 0;
+ padding: 0;
+ min-width: 900px;
+}
+h1, h2, h3, h4, h5, h6 {
+ color: #385F95;
+}
+div.related {
+ margin: 0 80px;
+ width: auto;
+}
+div.sphinxsidebar {
+ padding-right: 95px;
+}
+div.sphinxsidebar h3, div.sphinxsidebar h4 {
+ background: inherit;
+ border: none;
+ color: #385F95;
+ padding: 0;
+}
+div.sphinxsidebar h3 a {
+ color: inherit;
+}
+div.document {
+ margin: 0 80px;
+}
+div.footer {
+ background: #4E7AB2 url(img/footer-bg.png) repeat-x;
+ color: #d9d9d9;
+ padding: 60px 0 35px;
+ text-align: center;
+}
+
+/* custom header */
+div.header {
+ position: relative;
+ overflow: hidden;
+ height: 120px;
+ background: #97b7e1 url(img/header-bg.png) 0 0 repeat-x;
+}
+div.header div.wrap {
+ margin: 0 80px;
+}
+#logo {
+ padding: 0;
+}
+#logo a {
+ float: left;
+ width: 300px;
+ height: 120px;
+ overflow: hidden;
+ text-indent: -9999em;
+ background: url(img/geoext-logo.png) no-repeat;
+}
+#top-nav {
+ position: absolute;
+ bottom: 22px;
+ right: 90px;
+ list-style: none;
+ margin: 0;
+}
+
+#top-nav li {
+ display: inline;
+ margin: 0;
+ padding: 0 8px;
+ border-left: 1px solid #fff;
+}
+
+#top-nav li:first-child, #top-nav li.first {
+ border-left: 0;
+}
+
+#top-nav li a {
+ color: #fff;
+ font-weight: bold;
+ text-decoration: none;
+ font-family: "Lucida Sans", "Lucida Sans Unicode", "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
+}
+
+#top-nav li a:hover {
+ color: #e0e0e0;
+}
+
+/* search box style */
+#searchbox {
+ position: absolute;
+ bottom: 70px;
+ right: 95px;
+ background: transparent url(img/search-box.png) top left no-repeat;
+ height: 28px;
+ width: 190px;
+}
+#searchbox-query {
+ color: #72a629;
+ font-size: 0.92em;
+ border: 0;
+ background: transparent;
+ width: 175px;
+ margin: 5px 0 0 8px;
+}
+#searchbox-submit {
+ position: absolute;
+ top: 6px;
+ right: 5px;
+}
+a.headerlink {
+ display: none;
+}
+
+/* meta-info about a class/module get pulled out */
+.meta {
+ float: right;
+ padding: 0 2em;
+ background-color: white;
+}
+.meta ul {
+ list-style-type: none;
+ padding: 0;
+}
+
+/* overriding clear: both on dl */
+dl.class {
+ clear: left;
+}
+
+/* don't display class names for attributes or methods*/
+.attribute .descclassname {
+ display: none;
+}
+.method .descclassname {
+ display: none;
+}
+
+/* headers with bottom border get some padding */
+h2, h3, h4 {
+ padding-bottom: 4px;
+}
+
+/* making code samples less gigantic */
+pre {
+ font-size: 0.8em;
+}
+
Added: sandbox/docsrc/_theme/geoext/static/img/blog-callout-bg.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/blog-callout-bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/blog-callout-rss.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/blog-callout-rss.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/blog-callout.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/blog-callout.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/content-bg.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/content-bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/favicon.ico
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/favicon.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/footer-bg.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/footer-bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/geoext-logo.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/geoext-logo.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/geoext-logo.psd
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/geoext-logo.psd
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/header-bg.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/header-bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/html-bg.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/html-bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/main-bg.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/main-bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/search-box.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/search-box.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/search_icon_green.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/search_icon_green.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/toc-contrast-bg.gif
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/toc-contrast-bg.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/toc-contrast-bg.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/toc-contrast-bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/static/img/toc-contrast-top-bg.png
===================================================================
(Binary files differ)
Property changes on: sandbox/docsrc/_theme/geoext/static/img/toc-contrast-top-bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/docsrc/_theme/geoext/theme.conf
===================================================================
--- sandbox/docsrc/_theme/geoext/theme.conf (rev 0)
+++ sandbox/docsrc/_theme/geoext/theme.conf 2009-05-13 23:27:32 UTC (rev 727)
@@ -0,0 +1,7 @@
+[theme]
+inherit = sphinxdoc
+stylesheet = sphinxdoc.css
+pygments_style = sphinx
+
+[options]
+nosidebar = false
Modified: sandbox/docsrc/conf.py
===================================================================
--- sandbox/docsrc/conf.py 2009-05-13 17:52:58 UTC (rev 726)
+++ sandbox/docsrc/conf.py 2009-05-13 23:27:32 UTC (rev 727)
@@ -25,7 +25,7 @@
extensions = ['sphinx.ext.todo']
# Add any paths that contain templates here, relative to this directory.
-templates_path = ['_templates']
+#templates_path = ['_templates']
# The suffix of source filenames.
source_suffix = '.rst'
@@ -45,9 +45,9 @@
# built documents.
#
# The short X.Y version.
-version = 'Pre 1.0'
+version = '0.1'
# The full version, including alpha/beta/rc tags.
-release = '0.1'
+release = '0.1 beta'
# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
@@ -64,7 +64,7 @@
# List of directories, relative to source directory, that shouldn't be searched
# for source files.
-exclude_trees = ['_build']
+exclude_trees = ['_build', '_templates']
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
@@ -91,7 +91,7 @@
# The theme to use for HTML and HTML Help pages. Major themes that come with
# Sphinx are currently 'default' and 'sphinxdoc'.
-html_theme = 'sphinxdoc'
+html_theme = 'geoext'
# 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
@@ -99,7 +99,7 @@
#html_theme_options = {}
# Add any paths that contain custom themes here, relative to this directory.
-#html_theme_path = []
+html_theme_path = ["_theme"]
# The name for this set of Sphinx documents. If None, it defaults to
# "<project> v<release> documentation".
@@ -120,7 +120,7 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
-html_static_path = ['_static']
+#html_static_path = ['_static']
# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
# using the given strftime format.
Modified: sandbox/docsrc/index.rst
===================================================================
--- sandbox/docsrc/index.rst 2009-05-13 17:52:58 UTC (rev 726)
+++ sandbox/docsrc/index.rst 2009-05-13 23:27:32 UTC (rev 727)
@@ -11,12 +11,6 @@
Quisque ac molestie tellus.
-Download
---------
-
-`Current release: 0.1 <downloads>`_
-
-
Using GeoExt
------------
More information about the Commits
mailing list