From 6a793db9ca651caf6c791b148a3b3f34b886116f Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 27 Nov 2022 16:38:10 +0100 Subject: [PATCH 1/3] rewrite: fix link anchors in documentation --- doc/040_backup.rst | 1 + doc/045_working_with_repos.rst | 1 + 2 files changed, 2 insertions(+) diff --git a/doc/040_backup.rst b/doc/040_backup.rst index b9996311d..1b0888f6a 100644 --- a/doc/040_backup.rst +++ b/doc/040_backup.rst @@ -205,6 +205,7 @@ Combined with ``--verbose``, you can see a list of changes: Would be added to the repository: 25.551 MiB .. _backup-excluding-files: + Excluding Files *************** diff --git a/doc/045_working_with_repos.rst b/doc/045_working_with_repos.rst index 860d01ae3..00d87a450 100644 --- a/doc/045_working_with_repos.rst +++ b/doc/045_working_with_repos.rst @@ -137,6 +137,7 @@ or the environment variable ``$RESTIC_FROM_KEY_HINT``. along with remotes which are configured in rclone. .. _copy-filtering-snapshots: + Filtering snapshots to copy --------------------------- From 41b0f1d43ae552593b2892f57d49a21919b9e0a7 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 27 Nov 2022 17:01:22 +0100 Subject: [PATCH 2/3] doc: fix link to amazon s3 section --- doc/030_preparing_a_new_repo.rst | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/030_preparing_a_new_repo.rst b/doc/030_preparing_a_new_repo.rst index 7f67d9561..de3061f08 100644 --- a/doc/030_preparing_a_new_repo.rst +++ b/doc/030_preparing_a_new_repo.rst @@ -221,6 +221,8 @@ REST server uses exactly the same directory structure as local backend, so you should be able to access it both locally and via HTTP, even simultaneously. +.. _Amazon S3: + Amazon S3 ********* From 0eddc89e98b97327eea932fe7c10c0e80386024f Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 27 Nov 2022 17:01:27 +0100 Subject: [PATCH 3/3] doc: design.rst: Fix highlighting for index snippet JSON does not support comments. As JSON is a subset of Javascript, use the latter instead. --- doc/design.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/design.rst b/doc/design.rst index 17ab4c1b5..3e25a0852 100644 --- a/doc/design.rst +++ b/doc/design.rst @@ -257,7 +257,7 @@ be downloaded and used to reconstruct the index. The file encoding is described in the "Unpacked Data Format" section. The plaintext consists of a JSON document like the following: -.. code:: json +.. code:: javascript { "supersedes": [