Change link to download.html template to work in newer versions of pelican (couldn't figure out a variable that worked, so hardcoded it)
2 files changed
tree: a75c52f073b5b8bc891fb1e0f783983c87916982
  1. .gitignore
  2. .htaccess
  3. 404.html
  5. _src/
  6. cors.html
  7. download.html
  8. favicon.ico
  9. feeds/
  10. images/
  11. index.html
  12. news.html
  13. posts/
  14. robots.txt
  15. tag/
  16. 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