Merge branch 'default-theme'

This commit is contained in:
amercader 2015-05-15 13:07:19 +01:00
commit e768f3c9ab
10 changed files with 30 additions and 41 deletions

3
.gitmodules vendored
View File

@ -1,3 +0,0 @@
[submodule "doc/_themes/sphinx-theme-okfn"]
path = doc/_themes/sphinx-theme-okfn
url = https://github.com/okfn/sphinx-theme-okfn.git

View File

@ -6,3 +6,4 @@ OWSLib==0.8.6
lxml>=2.3
pyparsing==1.5.6
Sphinx==1.2.3
sphinx-rtd-theme==0.1.7

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 232 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

View File

@ -1,29 +1,24 @@
<p>An <a href="http://okfn.org">Open Knowledge Foundation</a> project.</p>
<div>
<p class="copyright">
{%- if show_copyright %}
{% trans copyright=copyright|safe|e %}{{ copyright }}{% endtrans %}<br/>
{%- endif %}
</p>
<hr/ >
<p>
<a href="https://github.com/okfn/ckanext-spatial">Source</a>
&mdash;
<a href="https://github.com/okfn/ckanext-spatial/issues">Issues</a>
&mdash;
<a href="http://lists.okfn.org/mailman/listinfo/ckan-dev">Mailing List</a>
&mdash;
<a href="http://twitter.com/CKANProject">Twitter @CKANProject</a>
</p>
<p>An <a href="http://okfn.org">Open Knowledge</a> project.</p>
<p>
Related Projects:
<a href="http://thedatahub.org/">The DataHub</a>
&mdash;
<a href="http://datacatalogs.org">DataCatalogs.org</a>
&mdash;
<a href="http://openspending.org">OpenSpending.org</a>
&mdash;
<a href="http://opendatahandbook.org">Open Data Handbook</a>
</p>
<p class="copyright">
{%- if show_copyright %}
{% trans copyright=copyright|safe|e %}{{ copyright }}{% endtrans %}<br/>
{%- endif %}
</p>
<p>
<a href="https://github.com/okfn/ckanext-spatial">Source</a>
&mdash;
<a href="https://github.com/okfn/ckanext-spatial/issues">Issues</a>
&mdash;
<a href="http://lists.okfn.org/mailman/listinfo/ckan-dev">Mailing List</a>
&mdash;
<a href="http://twitter.com/CKANProject">Twitter @CKANProject</a>
</p>
</div>

@ -1 +0,0 @@
Subproject commit 59688a6679f3373a57e8d4e60e43f1b249878eb3

View File

@ -41,7 +41,7 @@ master_doc = 'index'
# General information about the project.
project = u'ckanext-spatial'
copyright = u'2013, Open Knowledge Foundation'
copyright = u'2015, Open Knowledge'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
@ -96,6 +96,12 @@ exclude_trees = ['.build']
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
if not on_rtd:
import sphinx_rtd_theme
html_theme = 'sphinx_rtd_theme'
html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]
#html_theme = 'default'
# Theme options are theme-specific and customize the look and feel of a theme
@ -105,14 +111,6 @@ exclude_trees = ['.build']
# Add any paths that contain custom themes here, relative to this directory.
#html_theme_path = []
sys.path.append(os.path.abspath('_themes'))
html_theme_path = ['_themes']
html_theme = 'sphinx-theme-okfn'
html_theme_options = {
'logo_icon': 'ckanlogo.png',
'show_version': False,
'show_okfn_logo': False,
}
html_sidebars = {
'**': ['globaltoc.html']
}

View File

@ -11,9 +11,7 @@ The extension adds a spatial field to the default CKAN dataset schema,
using PostGIS_ as the backend. This allows to perform spatial queries and
display the dataset extent on the frontend. It also provides harvesters to
import geospatial metadata into CKAN from other sources, as well as commands
to support the OGC CSW standard via pycsw_. Finally, it also includes plugins to preview
spatial formats such as GeoJSON_.
to support the OGC CSW standard via pycsw_.
Contents:

View File

@ -106,6 +106,7 @@ details about the available options:
<field name="minx" type="float" indexed="true" stored="true" />
<field name="miny" type="float" indexed="true" stored="true" />
</fields>
The solr schema file is typically located at: (..)/src/ckan/ckan/config/solr/schema.xml
* ``solr-spatial-field``