From: <de...@de...> - 2012-02-29 04:49:58
|
Author: PeterThoeny Date: 2012-02-28 22:49:52 -0600 (Tue, 28 Feb 2012) New Revision: 22659 Trac url: http://develop.twiki.org/trac/changeset/22659 Added: twiki/trunk/PublishWebPlugin/lib/TWiki/Plugins/PublishWebPlugin/Config.spec Modified: twiki/trunk/PublishWebPlugin/lib/TWiki/Plugins/PublishWebPlugin/MANIFEST Log: TWikibug:Item6853: Adding Config.spec for easier configuration Added: twiki/trunk/PublishWebPlugin/lib/TWiki/Plugins/PublishWebPlugin/Config.spec =================================================================== --- twiki/trunk/PublishWebPlugin/lib/TWiki/Plugins/PublishWebPlugin/Config.spec (rev 0) +++ twiki/trunk/PublishWebPlugin/lib/TWiki/Plugins/PublishWebPlugin/Config.spec 2012-02-29 04:49:52 UTC (rev 22659) @@ -0,0 +1,33 @@ +# ---+ Extensions +# ---++ PublishWebPlugin +# **PATH** +# Template path where skin files are located: +# <br />• +# If empty or omitted: the <code>twiki/templates</code> directory is +# assumed; normal TWiki.TWikiTemplates search path applies, e.g. for +# a <code>PUBLISHSKIN = website</code> setting, a +# <code>twiki/templates/view.website.tmpl</code> template file is +# assumed. +# <br />• +# If specified: Must be an absolute path; skin is assumed +# to be an html page at that location, e.g. for a +# <code>PUBLISHSKIN = website</code> setting, the +# <code>{Plugins}{PublishWebPlugin}{TemplatePath}/website.html</code> +# file is referenced. +$TWiki::cfg{Plugins}{PublishWebPlugin}{TemplatePath} = ''; +# **PATH M** +# Path where the plugin places the generated html files. Specify +# an absolute or relative path to the Apache HTML document root +# If relative, path is relative to <code>twiki/pub</code>, such as +# <code>'../../html'</code>. +$TWiki::cfg{Plugins}{PublishWebPlugin}{PublishPath} = '/path/to/apache/html'; +# **STRING 40** +# Path where the plugin places images and other topic attachments. +# Must be relative to <code>{Plugins}{PublishWebPlugin}{PublishPath}</code>, +# default is <code>'_publish'</code>. +$TWiki::cfg{Plugins}{PublishWebPlugin}{AttachPath} = '_publish'; +# **STRING 40** +# URL path that corresponds to <code>{PublishPath}</code> directory. Leave +# empty if it is the HTML document root. +$TWiki::cfg{Plugins}{PublishWebPlugin}{PublishUrlPath} = ''; +1; Modified: twiki/trunk/PublishWebPlugin/lib/TWiki/Plugins/PublishWebPlugin/MANIFEST =================================================================== --- twiki/trunk/PublishWebPlugin/lib/TWiki/Plugins/PublishWebPlugin/MANIFEST 2012-02-28 17:41:49 UTC (rev 22658) +++ twiki/trunk/PublishWebPlugin/lib/TWiki/Plugins/PublishWebPlugin/MANIFEST 2012-02-29 04:49:52 UTC (rev 22659) @@ -23,4 +23,5 @@ data/DemoWebsite/WebTopMenu.txt 0644 pub/DemoWebsite/WebPreferences/favicon.ico 0644 lib/TWiki/Plugins/PublishWebPlugin.pm 0644 +lib/TWiki/Plugins/PublishWebPlugin/Config.spec 0644 templates/view.demo_website.tmpl 0644 |