Skip to content

Commit ff353b2

Browse files
committed
Add back to index link and other changes
1 parent 2cdb41b commit ff353b2

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ This repo contains the documentation for all my Matrix software. The intention
33
is to reduce duplication that was present in the old bridge wikis.
44

55
The books are built with [mdBook](https://github.com/rust-lang/mdBook).
6-
The front page in the `bookshelf` directory is based on [docs.t2bot.io](https://github.com/t2bot/docs.t2bot.io).
6+
The front page in the `bookshelf` directory is based on
7+
[docs.t2bot.io](https://github.com/t2bot/docs.t2bot.io).

bridges/book.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ additional-css = ["src/additional.css"]
2020

2121
[output.linkcheck]
2222
optional = true
23-
user-agent = "Mozilla/5.0 (X11; Linux x86_64; rv:86.0) Gecko/20100101 Firefox/86.0"
23+
user-agent = "Mozilla/5.0 (X11; Linux x86_64; rv:88.0) Gecko/20100101 Firefox/88.0"
2424
cache-timeout = 604800
2525
exclude = [ 'developer\.android\.com' ]
2626
traverse-parent-directories = false

bridges/theme/index.hbs

+5
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@
103103

104104
<nav id="sidebar" class="sidebar" aria-label="Table of contents">
105105
<div class="sidebar-scrollbox">
106+
<ol class="chapter">
107+
<li class="chapter-item expanded affix">
108+
<a href="https://docs.mau.fi">Back to index</a>
109+
</li>
110+
</ol>
106111
{{#toc}}{{/toc}}
107112
</div>
108113
<div id="sidebar-resize-handle" class="sidebar-resize-handle"></div>

0 commit comments

Comments
 (0)