From 7a690a5ae541f26321be98625a3df34847b44d5b Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Mon, 20 Aug 2012 08:54:09 -0500 Subject: [PATCH] Updated flatpages example in plugins.rst to reflect reality & point to flatpages docs --- docs/source/siteadmin/plugins.rst | 14 +++++++++----- mediagoblin/plugins/flatpagesfile/README.rst | 2 ++ 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/docs/source/siteadmin/plugins.rst b/docs/source/siteadmin/plugins.rst index f5a78da7..594461c0 100644 --- a/docs/source/siteadmin/plugins.rst +++ b/docs/source/siteadmin/plugins.rst @@ -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 diff --git a/mediagoblin/plugins/flatpagesfile/README.rst b/mediagoblin/plugins/flatpagesfile/README.rst index 525fb9d9..59cd6217 100644 --- a/mediagoblin/plugins/flatpagesfile/README.rst +++ b/mediagoblin/plugins/flatpagesfile/README.rst @@ -1,3 +1,5 @@ +.. _flatpagesfile-chapter: + ====================== flatpagesfile plugin ====================== -- 2.25.1