Skip to content
Permalink
Browse files
Generated site with pelican + README
git-svn-id: https://svn.apache.org/repos/asf/allura/site/trunk@1691559 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Igor Bondarenko committed Jul 17, 2015
1 parent 7ec6964 commit ed45f0ff051e9583de63319dc147d6fcc5e1ec8b
Showing 51 changed files with 234 additions and 211 deletions.
@@ -157,4 +157,4 @@ <h1>Not found <span>:(</span></h1>
-->
</div>
</body>
</html>
</html>
@@ -0,0 +1,21 @@
We're using [Pelican][1] to generate static site.
All source files are placed in the `_src/` directory.
Generated content is placed under root directory.

# Bootstrapping pelican

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

# Working on site

~$ cd _src

In two separate terminal windows run the following commands:

~$ make regenerate # watch source files and regenerate site
~$ make serve # serve generated site at http://localhost:8000

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

[1]: http://blog.getpelican.com/
@@ -13,7 +13,11 @@
PATH = 'content'
OUTPUT_PATH = '../'
DELETE_OUTPUT_DIRECTORY = True
OUTPUT_RETENTION = ["_src"] # don't delete source files
# don't delete source files
OUTPUT_RETENTION = [
"_src",
"README.md",
]
STATIC_PATHS = [
'extra/robots.txt',
'extra/favicon.ico',
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom"><title>Apache Allura</title><link href="http://allura.apache.org/" rel="alternate"></link><link href="http://allura.apache.org/feeds/all.atom.xml" rel="self"></link><id>http://allura.apache.org/</id><updated>2015-07-17T16:04:46Z</updated></feed>

This file was deleted.

Large diffs are not rendered by default.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Diff not rendered.
File renamed without changes.
Diff not rendered.
File renamed without changes
File renamed without changes
File renamed without changes
Diff not rendered.
Diff not rendered.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ed45f0f

Please sign in to comment.