Updated flatpages example in plugins.rst to reflect reality & point to flatpages docs
This commit is contained in:
parent
9022f358a7
commit
7a690a5ae5
@ -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
|
||||||
|
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
.. _flatpagesfile-chapter:
|
||||||
|
|
||||||
======================
|
======================
|
||||||
flatpagesfile plugin
|
flatpagesfile plugin
|
||||||
======================
|
======================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user