Tweak documentation
This commit is contained in:
parent
12c328a0b3
commit
261417cab3
5 changed files with 124 additions and 8 deletions
13
docs/templates/layout.html
vendored
13
docs/templates/layout.html
vendored
|
@ -63,12 +63,16 @@ nav a:hover, main a:hover, header p a:hover {
|
|||
max-width: 960px;
|
||||
margin: 50px auto;
|
||||
}
|
||||
code {
|
||||
pre code {
|
||||
padding: 10px;
|
||||
overflow: auto;
|
||||
display: block;
|
||||
font-family: monospace;
|
||||
}
|
||||
footer {
|
||||
margin-top: 50px;
|
||||
color: #555;
|
||||
}
|
||||
</style>
|
||||
<link rel="stylesheet" href="static/codehilite.css" type="text/css" />
|
||||
</head>
|
||||
|
@ -83,11 +87,11 @@ code {
|
|||
<ul>
|
||||
<li><a href="/"{% if path == "/" %} class="active"{% endif %}>Home</a>
|
||||
<li><a href="/installing.html"{% if path == "/installing.html" %} class="active"{% endif %}>Installing</a>
|
||||
<li><a href="/user_guide.html"{% if path == "/user_guide.html" %} class="active"{% endif %}>User guide</a>
|
||||
<li><a href="/user_guide.html"{% if path == "/user_guide.html" %} class="active"{% endif %}>User's guide</a>
|
||||
<li><a href="/developer_guide.html"{% if path == "/developer_guide.html" %} class="active"{% endif %}>Developer's guide</a>
|
||||
<li><a href="https://sr.ht/~tsileo/microblog.pub/">Source code</a>
|
||||
<li><a href="https://todo.sr.ht/~tsileo/microblog.pub">Bug tracker</a>
|
||||
<li><a href="https://sr.ht/~tsileo/microblog.pub/lists">Mailing list</a>
|
||||
<li><code>{{ version }}</code></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
|
@ -95,6 +99,9 @@ code {
|
|||
{{ content | safe }}
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<p>Last updated {{ last_updated }} for <code>{{ version }}</p>
|
||||
</footer>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue