2016-02-21 16:42:26 +03:00
|
|
|
## Database
|
|
|
|
|
2016-02-21 17:40:01 +03:00
|
|
|
{% for section in book.chapters["database/database.md"].sections %}
|
|
|
|
* [**{{section.name}}**](../{{section.path}})
|
|
|
|
{% endfor %}
|
|
|
|
{{book.chapters}}
|
2016-02-21 16:42:26 +03:00
|
|
|
|
2016-02-21 17:40:01 +03:00
|
|
|
<script>
|
|
|
|
window.chapters = {}
|
|
|
|
{% for path, chapter in book.chapters %}
|
|
|
|
chapters["{{path}}"] = {}
|
|
|
|
chapters["{{path}}"]["name"] = "{{chapter.name}}"
|
|
|
|
chapters["{{path}}"]["sections"] = [];
|
|
|
|
{% for section in chapter.sections %}
|
|
|
|
var section = {
|
|
|
|
"name": "{{section.name}}",
|
|
|
|
"path": "{{section.path}}",
|
|
|
|
}
|
|
|
|
chapters["{{path}}"]["sections"].push(section);
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</script>
|