python-tuf icon indicating copy to clipboard operation
python-tuf copied to clipboard

Restructure docs directory

Open lukpueh opened this issue 3 years ago • 3 comments

Description of issue or feature request:

Current behavior: No clear distinction of different documentation types in docs directory.

Expected behavior: Clear distinction of different documentation types in docs directory, e.g. along the following categories:

  • adr
  • rtd (e.g. see sphinx-quickstart dir scaffolding)
  • misc docs that are neither an adr, nor rendered on rtd (?)

related: see #1848

lukpueh avatar Feb 09 '22 13:02 lukpueh

Related issue: https://github.com/theupdateframework/python-tuf/pull/1853#pullrequestreview-878492917

lukpueh avatar Feb 10 '22 08:02 lukpueh

For background, this is confusing because when RTD docs were created, while the new reference docs were added in a separate docs/api/ we wanted to use the already existing docs in RTD without removing them from easily findable locations in git...

Like the previous link shows this approach does have some problems and maybe it makes sense draw a more strict line between "user documentation" (api reference, installation, examples published on RTD) and internal developer documentation (only in git). It's not always so clear cut though: things like CONTRIBUTORS are edge cases.

jku avatar Feb 10 '22 08:02 jku

Example from pyca/cryptography. In this case they have a

  1. short GitHub-render-friendly CONTRIBUTING.rst in the canonical location, which just refers to the detailed
  2. development documentation on RTD

lukpueh avatar Feb 10 '22 09:02 lukpueh