usage.rst 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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/init
  33. usage/create
  34. usage/extract
  35. usage/check
  36. usage/rename
  37. usage/list
  38. usage/diff
  39. usage/delete
  40. usage/prune
  41. usage/info
  42. usage/mount
  43. usage/key
  44. usage/upgrade
  45. usage/recreate
  46. usage/tar
  47. usage/serve
  48. usage/config
  49. usage/lock
  50. usage/benchmark
  51. usage/help
  52. usage/debug
  53. usage/notes