-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathmanual.html
More file actions
47 lines (42 loc) · 1.45 KB
/
manual.html
File metadata and controls
47 lines (42 loc) · 1.45 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
layout: doc
title: Osm2pgsql v2 Manual
---
{%- assign chapters = site.manual-v2 | sort: 'chapter' -%}
<a id="to-toc" href="#toc" title="Up to table of contents">▲ ToC</a>
<div id="toc" class="toc">
<h2>Table of Contents</h2>
<table>
{% for oc in chapters %}
{%- if oc.appendix -%}
<tr class="toc-appendix">
<td class="arrow"></td>
<td class="num">{{ oc.appendix }}</td>
<td>
<a href="#{{ oc.title | slugify }}">{{ oc.title }}</a>
<ul class="sub" id="toc-sub-{{ oc.appendix }}"></ul>
</td>
</li>
{%- else -%}
<tr class="toc-chapter">
<td class="arrow"></td>
<td class="num">{{ oc.chapter }}</td>
<td>
<a href="#{{ oc.title | slugify }}">{{ oc.title }}</a>
<ul class="sub" id="toc-sub-{{ oc.chapter }}"></ul>
</td>
</tr>
{%- endif -%}
{% endfor -%}
</table>
</div>
<article class="manual">
{% for oc in chapters %}
<section class="{% if oc.appendix %}appendix{% else %}chapter{% endif %}" data-chapter="{% if oc.appendix %}{{ oc.appendix }}{% else %}{{ oc.chapter }}{% endif %}">
<h2 id="{{ oc.title | slugify }}">{{ oc.title }}</h2>
<div class="edit" title="Edit this section"><a href="{{ site.github.repository_url }}/blob/master/{{ oc.relative_path }}">✎</a></div>
{{ oc.content }}
</section>
{% endfor %}
</article>
{% include heading-links.html %}