Update outdated D-Bus API docs #2267
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Problem
On https://agama-project.github.io/ we have a hidden(!) /agama section with generated API docs. I don't know about the web UI part but the D-Bus part at /agama/dbus is outdated.
This is because updating it is a manual process that is easy to forget and easy to get wrong.
Also: s390...
Solution
Testing
Testing this is done by rendering the docs over and over (by
make ...TODO) and looking at the generated HTML to see if the texts is there at all and looks half decent.Oh I did add a trivial style sheet because the default one is too ugly even for me.
There is
make checkrun by CI but it only triggers once you start updating the docs by runningseed.shmanually.Screenshots
Documentation
Yes, how to make this easy for you people?
Remember to look at it from the user's perspective. Yes you have made the compiler happy.
But will the humans even know about your contribution? Sometimes they cannot miss it,
other times they need advertisement and explanation.
Look for relevant sections and adjust:
git ls-files '*.md'