webgen comes with many extensions that allow for the rapid creation of static websites. The variety of the extensions allows you to use your tools of choice, for example, your preferred markup language. And if your choice is not available, you can write the extension for it yourself or make a feature request!
Extensions are only loaded when they are needed. For example, if you don’t use .feed
paths for
automatically generating atom/RSS feeds for your website, the path handler that handles these paths
will never be loaded. Therefore you don’t need to explicitly enable most of the extensions, they
just sit in the background and wait until the webgen core needs them.
cli
- Provides access to the command parser instance for adding CLI commands
content_processor
- Provides a generic framework for processing content
context_modules
- Allows adding helper methods (defined in modules) to the Context object
destination
- Provides an extendable way for writing the generated files
item_tracker
- Tracks items for nodes which allows webgen to check if a node has changed
link_definitions
- Provides an easy way to provide globally shared link definitions (used, for example, by the content processor kramdown)
misc
- Namespace for miscellaneous extensions
node_finder
- Generic node finding extension, allows adding of custom filters
path_handler
- Provides an extendable way to create nodes from source paths.
sass_load_paths
- Allows adding custom Sass load paths
source
- Provides an extendable way for finding source paths
tag
- Handles webgen tags (an easy way for adding dynamic content)