[Commits] r2252 - in sandbox/foss4g2010/src/doc: . _theme _theme/foss4g_2010 _theme/foss4g_2010/static _theme/foss4g_2010/static/img
commits at geoext.org
commits at geoext.org
Mon Aug 2 14:11:09 CEST 2010
Author: yjacolin
Date: 2010-08-02 14:11:09 +0200 (Mon, 02 Aug 2010)
New Revision: 2252
Added:
sandbox/foss4g2010/src/doc/_theme/
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/layout.html
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/favicon.ico
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/foss4g.css
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/.directory
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/cc-by-sa.png
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/logo_c2c.jpg
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/logo_c2c.png
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/opengeo-logo.png
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/page-heading-bg.png
sandbox/foss4g2010/src/doc/_theme/foss4g_2010/theme.conf
Modified:
sandbox/foss4g2010/src/doc/conf.py
Log:
Add _theme directory (from foss4g_2009 opengeo theme)
Added: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/layout.html
===================================================================
--- sandbox/foss4g2010/src/doc/_theme/foss4g_2010/layout.html (rev 0)
+++ sandbox/foss4g2010/src/doc/_theme/foss4g_2010/layout.html 2010-08-02 12:11:09 UTC (rev 2252)
@@ -0,0 +1,76 @@
+{% 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>About OpenGeo</h1>
+ <p>OpenGeo provides <a href="http://opengeo.org/products/">commercial open source software</a> for internet mapping and geospatial application development. We are a <a href="http://opengeo.org/about/">social enterprise</a> dedicated to the growth and support of open source software.</p>
+
+ <h1>About Camptocamp</h1>
+ <p><a href="http://www.camptocamp.com/en/company">Camptocamp</a> is a service-oriented editor and integrator of Open Source software applications for Geospatial Solutions, Business Solutions, and Infrastructure Solutions.</p>
+
+ <h1>License</h1>
+ <p>This workshop is freely available for use and re-use under the terms of the <a href="http://creativecommons.org/licenses/by-sa/3.0/us/">Creative Commons Attribution-Share Alike 3.0</a> license. Feel free to use this material, but retain the OpenGeo branding, logos and style.</p>
+ </div>
+ </div>
+{%- endmacro %}
+
+{% block extrahead %}
+ {% if pagename == "index" %}
+ {% endif %}
+{% endblock %}
+
+{% block header %}
+ <div class="header">
+ <div class="wrap">
+ <h1 class="logo"><a href="/"><img src="{{ pathto('_static/img/opengeo-logo.png',1) }}" alt="OpenGeo" /></a> <a href="/"><img src="{{ pathto('_static/img/logo_c2c.png',1) }}" alt="Camptocamp" /></a></h1>
+ <h2 class="docstitle"><a href="{{ pathto('index') }}">{{ docstitle }}</a></h2>
+ </div>
+ </div>
+{% endblock %}
+
+{% block relbar1 %}
+{% 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 %}
+
+{%- block footer %}
+ <div class="footer">
+ {%- if hasdoc('copyright') %}
+ {% trans path=pathto('copyright'), copyright=copyright|e %}© <a href="{{ path }}">Copyright</a> {{ copyright }}.{% endtrans %}
+ {%- else %}
+ {% trans copyright=copyright|e %}© Copyright {{ copyright }}.{% endtrans %}
+ {%- endif %}
+ <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/us/"><img alt="Creative Commons License" style="border-width:0;vertical-align:text-bottom;" src="{{ pathto('_static/img/cc-by-sa.png',1) }}" /></a>
+ </div>
+{%- endblock %}
Added: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/favicon.ico
===================================================================
(Binary files differ)
Property changes on: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/favicon.ico
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/foss4g.css
===================================================================
--- sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/foss4g.css (rev 0)
+++ sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/foss4g.css 2010-08-02 12:11:09 UTC (rev 2252)
@@ -0,0 +1,172 @@
+
+ at import url("sphinxdoc.css");
+
+body
+{
+ margin: 0;
+ padding: 0;
+ font-family: helvetica,"microsoft sans serif",arial,sans-serif;
+}
+
+div.wrap
+{
+ background-color: #FEFDF1;
+ border-bottom: 1px solid #A8BCCF;
+ text-align: left;
+}
+
+#content
+{
+ margin: 0px;
+ padding: 0px;
+ margin-left: 45px;
+ margin-right: 45px;
+ margin-bottom: 45px;
+}
+
+h1.logo
+{
+ padding: 0px;
+ margin: 0px;
+ padding-top: 15px;
+ padding-bottom: 7px;
+ padding-left: 45px;
+ border-top: 8px solid #6c9400;
+}
+
+h1.logo img
+{
+ border: none;
+}
+
+h2.docstitle
+{
+ border: none;
+ margin: 0px;
+ padding: 0px;
+ padding-top: 25px;
+ padding-left: 45px;
+ background: transparent url(img/page-heading-bg.png);
+ font-weight: lighter;
+ font-family: Univers, Helvetica, Verdana, Arial, sans-serif;
+ font-size: 1.4em;
+ color: #0a2742;
+ height: 29px; /* 54 after padding*/
+ letter-spacing: 0.03em;
+}
+
+h2.docstitle a
+{
+ text-decoration: none;
+ color: #0a2742;
+}
+
+
+div.related
+{
+ margin: 0px;
+ padding: 0px;
+ padding-top: 6px;
+ padding-bottom: 5px;
+ background: white;
+ vertical-align: middle;
+}
+
+div.related ul
+{
+ margin: 0;
+ margin-left: 45px;
+ padding: 0;
+ height: 2em;
+ background-image: none;
+ border: none;
+}
+
+div.related ul li
+{
+ height: 2em;
+ padding: 0 0.5em 0 0;
+}
+
+div.related ul li a
+{
+ padding: 0 0.3em 0 0;
+ color: #1A3752;
+ text-decoration: underline;
+}
+
+div.clearer
+{
+ border-bottom: 1px solid #ccc;
+}
+
+div.body
+{
+ padding: 0.5em 45px 0.5em 45px;
+}
+
+div.body p.caption
+{
+ font-style: italic;
+ font-size: small;
+}
+
+div.bodywrapper
+{
+ margin-right: 280px;
+}
+
+h1,h2,h3
+{
+ font-family: Univers, Helvetica, Verdana, Arial, sans-serif;
+ color: #0A2742;
+ font-weight: lighter;
+}
+
+a,a.reference
+{
+ color: #1A3752;
+ text-decoration: underline;
+}
+
+a:hover
+{
+ color: #3366CC;
+}
+
+div.sphinxsidebar
+{
+ padding: 0;
+ padding-top: 0.8em;
+ padding-bottom: 20px;
+ padding-right: 45px;
+ width: 210px;
+}
+
+div.sphinxsidebar h3, div.sphinxsidebar h4
+{
+ margin: 1em 0 0.5em 0;
+ font-size: 1em;
+ padding: 0.5em 0 0.15em 0.6em;
+ color: white;
+ font-weight: bold;
+ border: 0;
+ background-color: #A8BCCF;
+}
+
+div.sphinxsidebar h3 a
+{
+ text-decoration: none;
+}
+
+div.footer
+{
+ border-top: 1px solid #ccc;
+ background-color: #D7E6EB;
+}
+
+div.documentwrapper
+{
+ width: auto;
+}
+
Added: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/.directory
===================================================================
--- sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/.directory (rev 0)
+++ sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/.directory 2010-08-02 12:11:09 UTC (rev 2252)
@@ -0,0 +1,3 @@
+[Dolphin]
+ShowPreview=true
+Timestamp=2010,8,2,13,59,51
Added: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/cc-by-sa.png
===================================================================
(Binary files differ)
Property changes on: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/cc-by-sa.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/logo_c2c.jpg
===================================================================
(Binary files differ)
Property changes on: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/logo_c2c.jpg
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/logo_c2c.png
===================================================================
(Binary files differ)
Property changes on: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/logo_c2c.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/opengeo-logo.png
===================================================================
(Binary files differ)
Property changes on: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/opengeo-logo.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/page-heading-bg.png
===================================================================
(Binary files differ)
Property changes on: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/static/img/page-heading-bg.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: sandbox/foss4g2010/src/doc/_theme/foss4g_2010/theme.conf
===================================================================
--- sandbox/foss4g2010/src/doc/_theme/foss4g_2010/theme.conf (rev 0)
+++ sandbox/foss4g2010/src/doc/_theme/foss4g_2010/theme.conf 2010-08-02 12:11:09 UTC (rev 2252)
@@ -0,0 +1,7 @@
+[theme]
+inherit = sphinxdoc
+stylesheet = foss4g.css
+pygments_style = sphinx
+
+[options]
+nosidebar = false
Modified: sandbox/foss4g2010/src/doc/conf.py
===================================================================
--- sandbox/foss4g2010/src/doc/conf.py 2010-08-02 07:57:22 UTC (rev 2251)
+++ sandbox/foss4g2010/src/doc/conf.py 2010-08-02 12:11:09 UTC (rev 2252)
@@ -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 = 'foss4g_2010'
+html_theme = 'foss4g_2010'
# 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
More information about the Commits
mailing list