Plugins
Webber doesn't do much on it's own. Almost all the real work is delegated to plugins. Those plugins do:
- Read files and generate HTML snippets (read_rst.py, read_markdown.py, read_html.py) or copy files verbatim, e.g. for graphics (read_copyonly.py)
- Update internal state or modify HTML snippets (hierarchy.py, link.py)
- Create HTML pages (template_mako.py)
- Create additional output files (google_sitemap.py)
There's another plugin there (skeleton.py), which is is just a demo for plugin-programmers.
Plugins simply reside in the "plugins/" directory from webber itself. If your
web project needs local plugins, you can specify additional plugins with
"plugin_dirs" in webber.conf.
Note that webber doesn't load all of them automatically. Instead you specify
in the configuration file webber.conf which plugins you
want. Use the variable "plugins" for that.
Once plugins are loaded, webber orchestrates the work of itself and all plugins via Hooks.
Recently changed in this area:
- Changed 2010-06-24 in Webber plugins: Generate table of contents - make get_toc() work like get_recently() (english)
- Created 2010-06-23 in Webber plugins: RSS feed generator (english)
- Changed 2010-06-23 in Webber plugins: Mako templates - finally documented how templates work (english)
- Changed 2010-04-23 in Webber plugins: Read and copy binary files (english)
- Changed 2010-04-16 in Webber plugins: Plugins (english)
- Created 2009-06-26 in Webber plugins: Google Sitemap generation (english)
- Created 2009-06-26 in Webber plugins: Generate hierarchy (english)
- Created 2009-06-26 in Webber plugins: Create HTML links (english)
- Created 2009-06-26 in Webber plugins: Read HTML (english)
- Created 2009-06-26 in Webber plugins: Read Markdown (english)