| 1 |
{% extends "base.html" %} |
| 2 |
|
| 3 |
{% block title %}Documentation - Makenot.work{% endblock %} |
| 4 |
|
| 5 |
{% block head %}{% endblock %} |
| 6 |
|
| 7 |
{% block content %} |
| 8 |
{% include "partials/site_header.html" %} |
| 9 |
|
| 10 |
<div class="docs-index"> |
| 11 |
<h1 class="docs-index-title">Documentation</h1> |
| 12 |
|
| 13 |
<div class="docs-search-container"> |
| 14 |
<input type="text" class="docs-search-input" placeholder="Search docs..." autocomplete="off" /> |
| 15 |
<div class="docs-search-results hidden"></div> |
| 16 |
</div> |
| 17 |
|
| 18 |
{% for section in sections %} |
| 19 |
<div class="docs-section"> |
| 20 |
<h2 class="section-header">{{ section.name }}</h2> |
| 21 |
{% if section.subsections.is_empty() %} |
| 22 |
<ul> |
| 23 |
{% for entry in section.entries %} |
| 24 |
<li><a href="/docs/{{ entry.slug }}">{{ entry.title }}</a></li> |
| 25 |
{% endfor %} |
| 26 |
</ul> |
| 27 |
{% if section.name == "Developer" %} |
| 28 |
<p class="section-mono-hint"> |
| 29 |
<a href="/rustdoc/synckit_client/">API Reference (rustdoc)</a> |
| 30 |
</p> |
| 31 |
{% endif %} |
| 32 |
{% else %} |
| 33 |
{% for sub in section.subsections %} |
| 34 |
<details open> |
| 35 |
<summary>{{ sub.label }}</summary> |
| 36 |
<ul> |
| 37 |
{% for entry in sub.entries %} |
| 38 |
<li><a href="/docs/{{ entry.slug }}">{{ entry.title }}</a></li> |
| 39 |
{% endfor %} |
| 40 |
</ul> |
| 41 |
</details> |
| 42 |
{% endfor %} |
| 43 |
{% endif %} |
| 44 |
</div> |
| 45 |
{% endfor %} |
| 46 |
</div> |
| 47 |
|
| 48 |
<footer class="text-reader-footer"> |
| 49 |
<a href="/">Makenot<span class="dot">.</span>work</a> |
| 50 |
</footer> |
| 51 |
|
| 52 |
<script src="/static/docs-search.js"></script> |
| 53 |
{% endblock %} |
| 54 |
|