Updated flatpages example in plugins.rst to reflect reality & point to flatpages docs

This commit is contained in:
Christopher Allan Webber 2012-08-20 08:54:09 -05:00
parent 9022f358a7
commit 7a690a5ae5
2 changed files with 11 additions and 5 deletions

View File

@ -79,14 +79,18 @@ should come with documentation that tells you how to configure them.
Example 1: Core MediaGoblin plugin Example 1: Core MediaGoblin plugin
If you wanted to use the core MediaGoblin flatpages plugin, the module If you wanted to use the core MediaGoblin flatpages plugin, the module
for that is ``mediagoblin.plugins.flatpages`` and you would add that for that is ``mediagoblin.plugins.flatpagesfile`` and you would add
to your ``.ini`` file like this:: that to your ``.ini`` file like this::
[plugins] [plugins]
[[mediagoblin.plugins.flatpages]] [[mediagoblin.plugins.flatpagesfile]]
# configuration for flatpages plugin here! # configuration for flatpagesfile plugin here!
directory = /srv/mediagoblin/flatpages about-view = '/about', about.html
terms-view = '/terms', terms.html
(Want to know more about the flatpagesfile plugin? See
:ref:`flatpagesfile-chapter`)
Example 2: Plugin that is not a core MediaGoblin plugin Example 2: Plugin that is not a core MediaGoblin plugin

View File

@ -1,3 +1,5 @@
.. _flatpagesfile-chapter:
====================== ======================
flatpagesfile plugin flatpagesfile plugin
====================== ======================