lib/webgen/default_config.rb in gettalong-webgen-0.5.5.20081001 vs lib/webgen/default_config.rb in gettalong-webgen-0.5.5.20081010
- old
+ new
@@ -52,11 +52,11 @@
'Webgen::SourceHandler::Virtual' => ['**/virtual', '**/*.virtual'],
'Webgen::SourceHandler::Feed' => ['**/*.feed'],
'Webgen::SourceHandler::Sitemap' => ['**/*.sitemap']
}, :doc => 'Source handler to path pattern map')
config.sourcehandler.invoke({
- 1 => ['Webgen::SourceHandler::Directory', 'Webgen::SourceHandler::Metainfo', 'Webgen::SourceHandler::Directory'],
+ 1 => ['Webgen::SourceHandler::Directory', 'Webgen::SourceHandler::Metainfo'],
5 => ['Webgen::SourceHandler::Copy', 'Webgen::SourceHandler::Template',
'Webgen::SourceHandler::Page', 'Webgen::SourceHandler::Feed',
'Webgen::SourceHandler::Sitemap'],
9 => ['Webgen::SourceHandler::Virtual']
}, :doc => 'All source handlers listed here are used by webgen and invoked according to their priority setting')
@@ -146,10 +146,11 @@
'include_file' => 'Webgen::Tag::IncludeFile',
'execute_cmd' => 'Webgen::Tag::ExecuteCommand',
'coderay' => 'Webgen::Tag::Coderay',
'date' => 'Webgen::Tag::Date',
'sitemap' => 'Webgen::Tag::Sitemap',
+ 'tikz' => 'Webgen::Tag::TikZ',
:default => 'Webgen::Tag::Metainfo'
}, :doc => 'Tag processor name to class map')
config.contentprocessor.erubis.use_pi(false, :doc => 'Specify whether processing instructions should be used')
config.contentprocessor.erubis.options({}, :doc => 'A hash of additional options')
@@ -188,9 +189,15 @@
config.tag.coderay.bold_every(10, :doc => 'The interval at which the line number appears bold')
config.tag.coderay.tab_width(8, :doc => 'Number of spaces used for a tabulator')
config.tag.date.format('%Y-%m-%d %H:%M:%S', :doc => 'The format of the date (same options as Ruby\'s Time#strftime)')
+config.tag.tikz.path(nil, :doc => 'The source path of the created image', :mandatory => 'default')
+config.tag.tikz.libraries(nil, :doc => 'An array of additional TikZ library names')
+config.tag.tikz.opts(nil, :doc => 'A string with global options for the tikzpicture environment')
+config.tag.tikz.resolution('72 72', :doc => 'A string specifying the render and output resolutions')
+config.tag.tikz.transparent(false, :doc => 'Specifies whether the generated image should be transparent (only png)')
+config.tag.tikz.img_attr({}, :doc => 'A hash of additional HTML attributes for the created img tag')
# All things regarding common functionality
website.autoload_service(:create_sitemap, 'Webgen::Common::Sitemap')
config.common.sitemap.honor_in_menu(false, :doc => 'Only include pages that are also in the menu if true')