usage.rst 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  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/rcreate
  33. usage/rlist
  34. usage/rinfo
  35. usage/rcompress
  36. usage/rdelete
  37. usage/serve
  38. usage/compact
  39. usage/config
  40. usage/lock
  41. usage/key
  42. usage/create
  43. usage/extract
  44. usage/check
  45. usage/rename
  46. usage/list
  47. usage/diff
  48. usage/delete
  49. usage/prune
  50. usage/info
  51. usage/mount
  52. usage/recreate
  53. usage/tar
  54. usage/transfer
  55. usage/benchmark
  56. usage/help
  57. usage/debug
  58. usage/notes