tree: 8d02109c767097ba5c13236b9e57e28c8f7b2cbf [path history] [tgz]
  1. .htaccess
  2. 404.html
  4. _src/
  5. cors.html
  6. favicon.ico
  7. feeds/
  8. index.html
  9. posts/
  10. robots.txt
  11. tag/
  12. theme/

We're using Pelican to generate static site. All source files are placed in the _src/ directory. Generated content is placed under root directory.

Bootstrapping pelican

~$ virtualenv allura-site
~$ pip install pelican markdown

Working on site

~$ cd _src
~$ RELATIVE=1 make regenerate  # only use RELATIVE for local dev

Then open the html files directly, or run a little server with:

~$ make serve       # serve generated site at http://localhost:8000

When changes are looking good - commit them (including generated files).

~$ make html  # for a single publish