Skip to content

Commit

Permalink
[#2205] First round of resource views docs
Browse files Browse the repository at this point in the history
  • Loading branch information
amercader committed Feb 12, 2015
1 parent d722c54 commit f9bafae
Show file tree
Hide file tree
Showing 4 changed files with 204 additions and 143 deletions.
Binary file added doc/images/manage_views.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/images/views_overview.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions doc/maintaining/configuration.rst
Expand Up @@ -1035,6 +1035,44 @@ default views are created.

ckan.views.default_views = image_view webpage_view recline_grid_view

.. _ckan.preview.json_formats:

ckan.preview.json_formats
^^^^^^^^^^^^^^^^^^^^^^^^^

Example::

ckan.preview.json_formats = json

Default value: ``json``

JSON based resource formats that will be rendered by the Text view plugin (``text_view``)

.. _ckan.preview.xml_formats:

ckan.preview.xml_formats
^^^^^^^^^^^^^^^^^^^^^^^^^

Example::

ckan.preview.xml_formats = xml rdf rss

Default value: ``xml rdf rdf+xml owl+xml atom rss``

XML based resource formats that will be rendered by the Text view plugin (``text_view``)

.. _ckan.preview.text_formats:

ckan.preview.text_formats
^^^^^^^^^^^^^^^^^^^^^^^^^

Example::

ckan.preview.text_formats = text plain

Default value: ``text plain text/plain``

Plain text based resource formats that will be rendered by the Text view plugin (``text_view``)

.. end_resource-views
Expand Down

0 comments on commit f9bafae

Please sign in to comment.