usage.rst 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. :hidden:
  29. usage/general
  30. usage/init
  31. usage/create
  32. usage/extract
  33. usage/check
  34. usage/rename
  35. usage/list
  36. usage/diff
  37. usage/delete
  38. usage/prune
  39. usage/info
  40. usage/mount
  41. usage/key
  42. usage/upgrade
  43. usage/recreate
  44. usage/tar
  45. usage/serve
  46. usage/lock
  47. usage/help
  48. usage/debug
  49. usage/notes