doc: Make bootloaders visible in modules#16025
Conversation
... now that with RIOT-OS#16025 it can actually be rendered to the docs, a few shortcomings got visible.
jeandudey
left a comment
There was a problem hiding this comment.
On doxygen 1.8.3 gives the following warning (don't know if this is present on a recent release):
"make" -BC doc/doxygen
make[1]: Entering directory '/home/jeandudey/Dev/RIOT/doc/doxygen'
( cat riot.doxyfile ; echo "GENERATE_HTML = yes" ) | doxygen -
/home/jeandudey/Dev/RIOT/bootloaders/riotboot/doc.txt:110: warning: unable to resolve reference to `https:' for \ref command
*make[1]: Leaving directory '/home/jeandudey/Dev/RIOT/doc/doxygen'
It may be a bug on the Doxygen parser, I've got to silence it by using an a tag instead :-)
diff --git a/bootloaders/riotboot/doc.txt b/bootloaders/riotboot/doc.txt
index c3845fef9f..caa3d29e33 100644
--- a/bootloaders/riotboot/doc.txt
+++ b/bootloaders/riotboot/doc.txt
@@ -107,7 +107,7 @@ flash` if the `riotboot` feature is used.
## Testing riotboot
-See [tests/riotboot/README.md](https://github.com/RIOT-OS/RIOT/blob/master/tests/riotboot/README.md).
+See <a href="https://github.com/RIOT-OS/RIOT/blob/master/tests/riotboot/README.md">tests/riotboot/README.md</a>
# Quick riotboot porting guide
|
I feel reaffirmed in my distinct dislike for all the tools that use markdown with its sloppy specification(s), especially when they try to use links in a way that they are not only URI references but possibly something different. The misbehavior does not occur with the Doxygen 1.9 I'm using (which also does a better job at not making headings into an auto-brief). I'm adding a commit with the necessary changes to work around it, and keeping it separate so that when RIOT-OS/riotdocker#104 is done, it can be reverted. |
See-Also: RIOT-OS#16025 (review) Workaround-For: RIOT-OS/riotdocker#104
See-Also: RIOT-OS#16025 (review) Workaround-For: RIOT-OS/riotdocker#104
239b6dd to
9304467
Compare
9304467 to
010dbcc
Compare
|
During squashing and test runs I found that riotboot/main.c had a conflicting |

Contribution description
Currently, documentation about the bootloaders is only accessible through the source tree and not through the API documentation.
This adds the
bootloaders/directory to the list of starting points for doxygen, and moves the riotboot documentation into a place where doxygen can pick it up. Some metadata is added to make it fit nicely.Testing procedure
Issues/PRs references