Displaying 1 result from an estimated 1 matches for "load_from_dir".
2006 Aug 30
0
Preliminary version of webgen 0.4.0
...webgen-0.4.0.tgz .
This version can already be used to convert a website to HTML. However,
the command line interface is not working, therefore you have to do
something like this to run webgen (save the following as run.rb):
require ''webgen/website''
Webgen::DEFAULT_PLUGIN_LOADER.load_from_dir( ''lib/webgen/plugins'', ''lib/'' )
website = Webgen::WebSite.new(ARGV[0]);
website.render
And then run this script in the webgen root directory via:
ruby -Ilib run.rb WEBSITE_DIR
What''s new and working in this version:
* nesting of templates possible
*...