Updated flatpages example in plugins.rst to reflect reality & point to flatpages...
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 20 Aug 2012 13:54:09 +0000 (08:54 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 20 Aug 2012 13:54:09 +0000 (08:54 -0500)
docs/source/siteadmin/plugins.rst
mediagoblin/plugins/flatpagesfile/README.rst

index f5a78da7e87b90ee83b88e5e51ea6a670bab8033..594461c018843594b35be1e1fbada8d5d21ee2e8 100644 (file)
@@ -79,14 +79,18 @@ should come with documentation that tells you how to configure them.
 Example 1: Core MediaGoblin plugin
 
 If you wanted to use the core MediaGoblin flatpages plugin, the module
-for that is ``mediagoblin.plugins.flatpages`` and you would add that
-to your ``.ini`` file like this::
+for that is ``mediagoblin.plugins.flatpagesfile`` and you would add
+that to your ``.ini`` file like this::
 
     [plugins]
 
-    [[mediagoblin.plugins.flatpages]]
-    # configuration for flatpages plugin here!
-    directory = /srv/mediagoblin/flatpages
+    [[mediagoblin.plugins.flatpagesfile]]
+    # configuration for flatpagesfile plugin here!
+    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
 
index 525fb9d9139621fa3e38c16505a159be8269ff88..59cd6217a94481ecb6c3aee14283e90e333e0353 100644 (file)
@@ -1,3 +1,5 @@
+.. _flatpagesfile-chapter:
+
 ======================
  flatpagesfile plugin
 ======================