wikiheaders: Allow symbols to be filtered from manpage generation by regex.

This is specifically to prevent generating a manpage for "Uint32" and friends.

Fixes #11898.
This commit is contained in:
Ryan C. Gordon
2025-01-09 14:12:07 -05:00
parent 7acf78ba92
commit 507593f485
2 changed files with 5 additions and 0 deletions

View File

@@ -16,7 +16,9 @@ bugreporturl = https://github.com/libsdl-org/sdlwiki/issues/new
warn_about_missing = 0
wikipreamble = (This is the documentation for SDL3, which is the current stable version. [SDL2](https://wiki.libsdl.org/SDL2/) was the previous version!)
wikiheaderfiletext = Defined in [<SDL3/%fname%>](https://github.com/libsdl-org/SDL/blob/main/include/SDL3/%fname%)
manpageheaderfiletext = Defined in SDL3/%fname%
manpagesymbolfilterregex = \A[US]int\d+\Z
# All SDL_test_* headers become undefined categories, everything else just converts like SDL_audio.h -> Audio
# A handful of others we fix up in the header itself with /* WIKI CATEGORY: x */ comments.