modularity / m8y-website-updater

Created 7 years ago
Maintained by nphilipp
Build the modularity website from source.
Members 1
Nils Philippsen committed 6 years ago

The Modularity Website Updater

This program pulls the source code of the Modularity documentation website, builds it using make and sphinx-build and pushes the generated web content to its doc repository on Pagure so users can read it online. Many of its settings are configurable (and some need to be configured) so in principle it can be used for any kind of generated web content that fits this model.

Operation as standalone CLI program and daemon

It can be run "one-off" from the command-line, doing its job once, or with the --messagebus option, which starts a daemon that listens on the Federated Message Bus in Fedora for messages that the source repository is updated, then does its thing.

Configuration

The default configuration is defined in m8y_website_updater/config.py. To adjust to your needs, you don't have to change that file but rather create a file config_local.py in the current directory which holds just what's different from the default options.