usage.rst 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. .. include:: global.rst.inc
  2. .. highlight:: none
  3. .. _detailed_usage:
  4. Usage
  5. =====
  6. .. raw:: html
  7. Redirecting...
  8. <script type="text/javascript">
  9. // Fixes old links which were just anchors
  10. var hash = window.location.hash.substring(1);
  11. // usage.html is empty, no content. Purely serves to implement a "correct" toctree
  12. // due to rST/Sphinx limitations. Refer to https://github.com/sphinx-doc/sphinx/pull/3622
  13. // Redirect to general docs
  14. if(hash == "") {
  15. var replaced = window.location.pathname.replace("usage.html", "usage/general.html");
  16. if (replaced != window.location.pathname) {
  17. window.location.pathname = replaced;
  18. }
  19. }
  20. // Fixup anchored links from when usage.html contained all the commands
  21. else if(hash.startsWith("borg-key") || hash == "borg-change-passphrase") {
  22. window.location.hash = "";
  23. window.location.pathname = window.location.pathname.replace("usage.html", "usage/key.html");
  24. }
  25. else if(hash.startsWith("borg-")) {
  26. window.location.hash = "";
  27. window.location.pathname = window.location.pathname.replace("usage.html", "usage/") + hash.substr(5) + ".html";
  28. }
  29. </script>
  30. .. toctree::
  31. usage/general
  32. usage/repo-create
  33. usage/repo-space
  34. usage/repo-list
  35. usage/repo-info
  36. usage/repo-compress
  37. usage/repo-delete
  38. usage/serve
  39. usage/version
  40. usage/compact
  41. usage/lock
  42. usage/key
  43. usage/create
  44. usage/extract
  45. usage/check
  46. usage/list
  47. usage/tag
  48. usage/rename
  49. usage/diff
  50. usage/delete
  51. usage/prune
  52. usage/undelete
  53. usage/info
  54. usage/analyze
  55. usage/mount
  56. usage/recreate
  57. usage/tar
  58. usage/transfer
  59. usage/benchmark
  60. usage/help
  61. usage/debug
  62. usage/notes