Closed madebr closed 1 year ago
Suggest removing "about", e.g. --warn-missing
or --warn-missing-files
Suggest removing "about", e.g.
--warn-missing
or--warn-missing-files
That's up to @icculus. In a sense, the option is private, and meant for project maintainers only.
Let's either fix the missing things or change the default in the script itself.
Let's either fix the missing things or change the default in the script itself.
The warning is emitted when a function is documented in the wiki but not in the headers (and the reverse case) This warning makes sense when generating the wiki at https://wiki.libsdl.org, but does not when generating the man pages. (the perl script cannot generate man pages without the wiki pages present)
Really it doesn't make sense when generating wiki.libsdl.org either, because the cronjob just sends it to me in an email where I ignore it. :)
What if, instead of printing warnings, it generates a wiki page called "Undocumented.md" that updates on each run? That way we would have a public list of things that lack documentation.
For now, though, let's just change the default in the script.
For now, though, let's just change the default in the script.
The default is fine:
It's the project-specific configuration that has the override:
Oh. Ok then. :)
What if, instead of printing warnings, it generates a wiki page called "Undocumented.md" that updates on each run? That way we would have a public list of things that lack documentation.
Great idea. About wikiheaders.pl, in case you missed it, I pushed this patch yesterday: https://github.com/libsdl-org/SDL/commit/e85206ffd8becd33321182614e2ba5a5d304a5a3
https://github.com/libsdl-org/SDL_mixer/issues/542
wikiheaders.pl
has--warn-about-missing
to force the value to 0.@icculus Is this ok? Or is a
--no-warn-about-missing
option preferred?