-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reworked changelogs & blog messages - now stored in ./doc/change and …
…./doc/blog First attempt at generating a static website using the more than excellent pelican
- Loading branch information
Mark Fiers
committed
Aug 6, 2012
1 parent
b0172d7
commit f6fa3b3
Showing
44 changed files
with
798 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
lib/python/moa/plugin/system/doc/templates/file.page.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Title: filesets | ||
|
||
Set | Name | Typ | Cat | File | ||
-----|--------------|-----|---------|---------------------------------------------- | ||
{% for fset in sets %}{%- set outerindex=loop.index -%} | ||
{%- for f in fset -%} | ||
{%- if loop.index0 == 0 -%} | ||
{{ "%03d"|format(outerindex) }}. | | ||
{%- else -%} | ||
{{ "%4s"|format(" ") }} | | ||
{%- endif -%} | ||
{{ "%-12s"|format('**' + f[0][:8] + '**') }} | {{ "%3s"|format(f[1][:3]) }} | {% set dummy=1 -%} | ||
{{ "%6s"|format(f[2][:6]) }} | {% set dummy=2 -%} | ||
[{{ f[4] }}]({{ f[4] }}) **/** [{{ f[5] }}]({{ f[3] }}) | ||
{% endfor -%} | ||
{% endfor %} |
22 changes: 22 additions & 0 deletions
22
lib/python/moa/plugin/system/doc/templates/parameter.page.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
Title: parameters | ||
|
||
{% macro printrow(i, name) -%} | ||
{%- set val=conf.get(name, '') -%} | ||
{%- set ren=rendered.get(name, '') -%} | ||
**{{ fsk|format(name) }}** | {{ "%5s"|format(conf.getFlags(name)) }} | {{ fsv|format(ren) }} | ||
{%- if val != ren %} | ||
{{ fsk|format(" ") }} | (raw) | {{ fsv|format(val) }} | ||
{%- endif -%} | ||
{%- endmacro %} | ||
{{head1}} | ||
{{head2}} | ||
{% for p in keys -%} | ||
{% if not conf.isPrivate(p) -%} | ||
{{ printrow(loop.index, p) }} | ||
{% endif -%} | ||
{% endfor -%} | ||
{% for p in keys -%} | ||
{% if conf.isPrivate(p) -%} | ||
{{ printrow(loop.index, p) }} | ||
{% endif -%} | ||
{% endfor %} |
21 changes: 21 additions & 0 deletions
21
lib/python/moa/plugin/system/doc/templates/pelican.conf.jinja2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# -*- coding: utf-8 -*- | ||
|
||
SITEURL = './doc/test/test/pelican/' | ||
SITENAME = "Moa" | ||
DEFAULT_LANG = 'en' | ||
SERVER = u'{{ doc.server }}' | ||
WD= u'{{ job.wd }}' | ||
RELATIVE_URLS = True | ||
DISPLAY_PAGES_ON_MENU = True | ||
DEFAULT_PAGINATION = 5 | ||
OUTPUT_PATH = './doc/pelican/' | ||
#PATH = 'doc' | ||
REVERSE_ARCHIVE_ORDER = True | ||
CONTENT_STATIC_LOC = '../../' | ||
MD_EXTENSIONS = ['tables'] | ||
SUMMARY_MAX_LENGTH = 550 | ||
|
||
LINKS = (('Moa docs', 'http://mfiers.github.com/Moa/'), | ||
('Moa source', 'https://github.com/mfiers/Moa'), | ||
) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Copyright 2011 Massimo Santini <santini@dsi.unimi.i> | ||
|
||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
|
||
http://www.apache.org/licenses/LICENSE-2.0 | ||
|
||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
This work is derived from the Pelican 'bootstrap' team from Massimo | ||
Santini, which in turn was derived, in part, from Bootstrap, from | ||
Twitter http://twitter.github.com/bootstrap/ | ||
|
||
|
Oops, something went wrong.