usage.rst 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. window.location.pathname = window.location.pathname.replace("usage.html", "usage/general.html");
  16. }
  17. // Fixup anchored links from when usage.html contained all the commands
  18. else if(hash.startsWith("borg-key") || hash == "borg-change-passphrase") {
  19. window.location.hash = "";
  20. window.location.pathname = window.location.pathname.replace("usage.html", "usage/key.html");
  21. }
  22. else if(hash.startsWith("borg-")) {
  23. window.location.hash = "";
  24. window.location.pathname = window.location.pathname.replace("usage.html", "usage/") + hash.substr(5) + ".html";
  25. }
  26. </script>
  27. .. toctree::
  28. usage/general
  29. usage/init
  30. usage/create
  31. usage/extract
  32. usage/check
  33. usage/rename
  34. usage/list
  35. usage/diff
  36. usage/delete
  37. usage/prune
  38. usage/info
  39. usage/mount
  40. usage/key
  41. usage/upgrade
  42. usage/recreate
  43. usage/tar
  44. usage/serve
  45. usage/lock
  46. usage/benchmark
  47. usage/help
  48. usage/debug
  49. usage/notes