diff options
author | Sol Jerome <sol.jerome@gmail.com> | 2011-02-26 13:27:35 -0600 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2011-02-26 13:27:35 -0600 |
commit | 1dcb73e1a06d3a558b498ec5d5a47ff562254b7d (patch) | |
tree | f70221ed6dcb402936f1b7f5fd17d2b850f1091b /doc | |
parent | fec3476b511912b0a8761499449ad23858eed362 (diff) | |
download | bcfg2-1dcb73e1a06d3a558b498ec5d5a47ff562254b7d.tar.gz bcfg2-1dcb73e1a06d3a558b498ec5d5a47ff562254b7d.tar.bz2 bcfg2-1dcb73e1a06d3a558b498ec5d5a47ff562254b7d.zip |
Bundler: Add support for genshi .xml bundles
This commit modifies the Bundler plugin to allow for genshi templates
with .xml file extensions via the xml namespace (Resolves ticket #861).
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/server/plugins/structures/bundler/index.txt | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/doc/server/plugins/structures/bundler/index.txt b/doc/server/plugins/structures/bundler/index.txt index e5682ac00..0d0054a2c 100644 --- a/doc/server/plugins/structures/bundler/index.txt +++ b/doc/server/plugins/structures/bundler/index.txt @@ -105,13 +105,16 @@ how group entries can be used in bundles) Genshi templates ================ -Genshi templates are used by adding a Genshi xml-style template to the -Bundler directory with a ``.genshi`` file extension. Version 0.4 or newer -of genshi is required. +Genshi xml templates can be specified one of two ways: -.. important:: The ``.genshi`` file extension is required in order for the - server to know that the Bundle should be rendered using - Genshi. +1. Add an xml-style genshi template to the Bundler directory with a + ``.genshi`` and the associated namespace attribute. +2. Simply add the appropriate namespace attribute to your existing xml + bundle. + +The namespace attribute in this case should look like the following:: + + xmlns:py="http://genshi.edgewall.org/" Motivation ---------- |