Skip to content

Commit 6db349a

Browse files
committed
add webdav backup wiki page
1 parent fa674e7 commit 6db349a

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

stratum/blueprints/wiki.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,14 @@ def backup_format():
6565
content=_get_markdown_file("doc/BACKUP_FORMAT.md"),
6666
)
6767

68+
@bp.get("/wiki/webdav-backup")
69+
def webdav():
70+
return render_template(
71+
"wiki/page.jinja",
72+
title="Back up to WebDAV",
73+
description="Here's how to back up your Stratum data to a WebDAV server",
74+
content=_get_wiki_page("Back-up-to-WebDAV.md"),
75+
)
6876

6977
@bp.get("/wiki/import-from-google-authenticator")
7078
def google_authenticator():

stratum/templates/wiki/toc.jinja

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<ul>
22
<li><a href="/wiki/faq">Frequently Asked Questions</a></li>
33
<li><a href="/wiki/backup-format">Backup File Format</a></li>
4+
<li><a href="/wiki/webdav-backup">Back up to WebDAV</a></li>
45
<li><a href="/wiki/import-from-google-authenticator">Import from Google Authenticator</a></li>
56
<li><a href="/wiki/import-from-authy">Import from Authy</a></li>
67
<li><a href="/wiki/import-from-blizzard-authenticator">Import from Blizzard Authenticator</a></li>

0 commit comments

Comments
 (0)