[#7938] output generated
8 files changed
tree: 8d02109c767097ba5c13236b9e57e28c8f7b2cbf
  1. _src/
  2. feeds/
  3. posts/
  4. tag/
  5. theme/
  6. .htaccess
  7. 404.html
  8. cors.html
  9. favicon.ico
  10. index.html
  11. README.md
  12. robots.txt

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