Просмотр исходного кода

quickstart.rst: Add link to paperkey template.

Martin Hostettler 8 лет назад
Родитель
Сommit
e0f36e8613
2 измененных файлов с 6 добавлено и 1 удалено
  1. 2 0
      docs/conf.py
  2. 4 1
      docs/quickstart.rst

+ 2 - 0
docs/conf.py

@@ -140,6 +140,8 @@ html_favicon = '_static/favicon.ico'
 # so a file named "default.css" will overwrite the builtin "default.css".
 html_static_path = ['borg_theme']
 
+html_extra_path = ['paperkey.html']
+
 # If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
 # using the given strftime format.
 html_last_updated_fmt = '%Y-%m-%d'

+ 4 - 1
docs/quickstart.rst

@@ -188,11 +188,14 @@ For automated backups the passphrase can be specified using the
     You can make backups using :ref:`borg_key_export` subcommand.
 
     If you want to print a backup of your key to paper use the ``--paper``
-    option of this command and print the result.
+    option of this command and print the result, or this print `template`_
+    if you need a version with QR-Code.
 
     A backup inside of the backup that is encrypted with that key/passphrase
     won't help you with that, of course.
 
+.. _template: paperkey.html
+
 .. _remote_repos:
 
 Remote repositories