feat: docs
This commit is contained in:
26
docs/_templates/__main__.html
vendored
Normal file
26
docs/_templates/__main__.html
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>{{ title|title }} | Quart-Imp</title>
|
||||
<link rel="stylesheet" href="static/water.css">
|
||||
<link rel="stylesheet" href="static/pygments.emacs-dull.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="static/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="static/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="static/favicon-16x16.png">
|
||||
<link rel="manifest" href="static/site.webmanifest">
|
||||
<link rel="mask-icon" href="static/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{% include "__menu__.html" %}
|
||||
|
||||
<section>
|
||||
<h1 style="font-size: 2.6rem; margin: 0;">{{ title }}</h1>
|
||||
{{ content|safe }}
|
||||
</section>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
31
docs/_templates/__menu__.html
vendored
Normal file
31
docs/_templates/__menu__.html
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
<aside>
|
||||
<img src="static/Flask-Imp-Medium.png" alt="Flask-Imp Logo" style="margin-top: 20px; width: 50%">
|
||||
<h1>Quart-Imp</h1>
|
||||
<div><small>Version: 1.0.x</small></div>
|
||||
<div><small>Last Updated:</small></div>
|
||||
<div><small>{{ date }}</small></div>
|
||||
<h2>Menu</h2>
|
||||
<ul>
|
||||
<li><a href="index.html"><strong>Index</strong></a></li>
|
||||
</ul>
|
||||
<ul>
|
||||
{% for title, values in menu.items() %}
|
||||
{% if values["page"] %}
|
||||
<li><a href="{{ values["page"] }}"><strong>{{ title }}</strong></a></li>
|
||||
{% else %}
|
||||
<li><strong>{{ title }}</strong></li>
|
||||
{% endif %}
|
||||
{% if values["pages"] %}
|
||||
<ul>
|
||||
{% for page in values["pages"] %}
|
||||
{% if page[page.keys()|list|first] %}
|
||||
<li><a href="{{ page[page.keys()|list|first] }}">{{ page.keys()|list|first }}</a></li>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<div style="padding-top: 5px; margin-bottom: 20px;"><small>Hosted on GitHub Pages.</small></div>
|
||||
</aside>
|
||||
26
docs/_templates/index.html
vendored
Normal file
26
docs/_templates/index.html
vendored
Normal file
@@ -0,0 +1,26 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Quart-Imp</title>
|
||||
<link rel="stylesheet" href="static/water.css">
|
||||
<link rel="stylesheet" href="static/pygments.emacs-dull.css">
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="static/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="static/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="static/favicon-16x16.png">
|
||||
<link rel="manifest" href="static/site.webmanifest">
|
||||
<link rel="mask-icon" href="static/safari-pinned-tab.svg" color="#5bbad5">
|
||||
<meta name="msapplication-TileColor" content="#da532c">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
{% include "__menu__.html" %}
|
||||
|
||||
<section>
|
||||
{{ index|safe }}
|
||||
</section>
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
15
docs/_templates/main_index.html
vendored
Normal file
15
docs/_templates/main_index.html
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Redirecting to latest...</title>
|
||||
<script>
|
||||
window.location.href = "{{ latest_version }}/index.html";
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<a href="{{ latest_version }}/index.html">Click here if redirection is not working.</a>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user