Factor reference material out of documentation how-tos #942

Closed
opened 2024-11-18 23:24:25 +00:00 by witten · 1 comment
Owner

What I'd like to do and why

The borgmatic how-to documentation has grown organically over time, accreting a fair amount of reference-oriented material interspersed within the how-to content. This makes it difficult to find the right reference material when you need to know about how a particular feature works. It also makes it difficult to discover features to begin with, because the docs are not oriented in terms of features but rather use cases.

Additionally, much of the existing reference material feels shoehorned into the how-to docs. For instance, a page about passwords contains docs about the environment variable feature (which can be used for more than passwords), and the page about databases contains the docs about borgmatic's runtime directory (which applies to more than just databases).

So for this ticket, do a holistic pass over all the how-to documentation, factoring out material into separate reference docs as appropriate.

Other notes / implementation ideas

This will entail figuring out:

  1. The best way to structure/organize the reference material.
  2. How to mention the reference material in the how-to docs so that the how-to docs still flow, make sense, and remain useful.
  3. What to do, if anything, about broken links to individual how-to sections that may be moving out. E.g., the NEWS file, release notes, and even ticket comments are full of links to how-to documentation sections.

As part of this work on reference docs, consider documenting all of the files and directories that borgmatic uses, like how Borg does. (See "directories and files.")

### What I'd like to do and why The borgmatic [how-to documentation](https://torsion.org/borgmatic/) has grown organically over time, accreting a fair amount of reference-oriented material interspersed within the how-to content. This makes it difficult to find the right reference material when you need to know about how a particular feature works. It also makes it difficult to discover features to begin with, because the docs are not oriented in terms of features but rather use cases. Additionally, much of the existing reference material feels shoehorned into the how-to docs. For instance, a page about passwords contains docs about the environment variable feature (which can be used for more than passwords), and the page about databases contains the docs about borgmatic's runtime directory (which applies to more than just databases). So for this ticket, do a holistic pass over all the how-to documentation, factoring out material into separate reference docs as appropriate. ### Other notes / implementation ideas This will entail figuring out: 1. The best way to structure/organize the reference material. 2. How to mention the reference material in the how-to docs so that the how-to docs still flow, make sense, and remain useful. 3. What to do, if anything, about broken links to individual how-to sections that may be moving out. E.g., the NEWS file, release notes, and even ticket comments are full of links to how-to documentation sections. As part of this work on reference docs, consider documenting all of the files and directories that borgmatic uses, like how [Borg does](https://borgbackup.readthedocs.io/en/1.4.0/usage/general.html). (See "directories and files.")
Author
Owner

Implemented in main and is live here: https://torsion.org/borgmatic/

The factoring out isn't perfect, but IMO it's a good start. We can continue to iterate, especially now that there's a place for the reference documentation to live.

Implemented in main and is live here: https://torsion.org/borgmatic/ The factoring out isn't perfect, but IMO it's a good start. We can continue to iterate, especially now that there's a place for the reference documentation to live.
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
borgmatic-collective/borgmatic#942
No description provided.