stlab / libraries

ASL libraries will be migrated here in the stlab namespace, new libraries will be created here.
https://stlab.cc
Boost Software License 1.0
660 stars 65 forks source link

Update documentation to new Hyde output format #484

Closed nickpdemarco closed 2 years ago

nickpdemarco commented 2 years ago

This change is the result of running hyde --hyde-update on each header file in stlab.

The only interesting code change is to generate_docs.sh, which has been renamed to validate_docs.sh (updates can now be done with a -u flag).

A good effort was made to preserve as much of the existing documentation history as possible. The protocol was as follows:

  1. Run hyde --hyde-update on a single header to get a sense for the change.
  2. If the generated documentation referred to components not yet documented, skip to step 8.
  3. Identify the file moves, and update the script renames.sh used exclusively for this work. See commit 422f9fcf as an example.
  4. Revert the changes with git checkout -- docs && git clean -fxd docs
  5. Run renames.sh to move the old documentation to the locations they would have been at had they been generated by a modern version of Hyde.
  6. Commit this change
  7. Rerun hyde --hyde-update
  8. Manually fix up YAML changes as needed, often adding fields like owner.
  9. Commit this change.

This PR does not attempt to fill in __MISSING__ fields for components not yet documented; this PR only rearranges the existing documentation to be consistent with what Hyde's latest version expects. Consequently, this PR is not sufficient for CI enforcement of documentation completeness; we need to complete the documentation first.