[#7938] throw in another article
2 files changed
tree: 2eefa5f612214eab075405da4238c2f8efeb4739
  1. .htaccess
  2. 404.html
  3. README.md
  4. _src/
  5. favicon.ico
  6. feeds/
  7. index.html
  8. robots.txt
  9. theme/
README.md

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