Mercurial > piecrust2
annotate docs/templates/api.html @ 675:3df808b133f8
internal: Improve how theme configuration is validated and merged.
* Add default theme config up-front so it benefits from the usual validation.
* Add an explicit `use_default_theme_content` setting.
* Add/fix unit tests.
author | Ludovic Chabant <ludovic@chabant.com> |
---|---|
date | Sun, 06 Mar 2016 23:49:41 -0800 |
parents | 61d53d2163d6 |
children | 94d7d5e38571 |
rev | line source |
---|---|
503
61d53d2163d6
docs: Start a proper "code/API" section.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
1 {% extends "section-page.html" %} |
61d53d2163d6
docs: Start a proper "code/API" section.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
2 |
61d53d2163d6
docs: Start a proper "code/API" section.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
3 {% block header %} |
61d53d2163d6
docs: Start a proper "code/API" section.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
4 <header class="code"> |
61d53d2163d6
docs: Start a proper "code/API" section.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
5 <h1>{{ page.title }}</h1> |
61d53d2163d6
docs: Start a proper "code/API" section.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
6 </header> |
61d53d2163d6
docs: Start a proper "code/API" section.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
7 {% endblock %} |
61d53d2163d6
docs: Start a proper "code/API" section.
Ludovic Chabant <ludovic@chabant.com>
parents:
diff
changeset
|
8 |