Ryan C. Gordon
7def81cf42
wikiheaders.pl: Don't treat chars in `code` blocks as markdown.
...
Otherwise a formula like `x = y * 2;` would treat that '*' as the start of
an italicized section when converting to MediaWiki format, and match any
other '*' in the content as the end marker.
2021-09-30 17:34:25 -04:00
Ryan C. Gordon
8796f35e0f
wikiheaders.pl: Make sure all wiki API pages reference CategoryAPI.
2021-09-01 00:19:54 -04:00
Ryan C. Gordon
c07e5e99c8
wikiheaders.pl: Add --copy-to-header option.
...
...because I keep mistyping it without the 's' on the end. :/
2021-07-14 17:07:41 -04:00
Ryan C. Gordon
8ec9fbdd0c
wikiheaders.pl: pull in full sections from headers, fix more whitespace.
2021-07-14 11:58:57 -04:00
Ryan C. Gordon
bab0eb71ce
wikiheaders.pl: Fix some wordwrap whitespace issues.
2021-07-14 11:03:00 -04:00
Ryan C. Gordon
7390bc0e5e
wikiheaders.pl: Fix \sa tags that (incorrectly!) have "()" appended.
2021-07-14 11:03:00 -04:00
Ryan C. Gordon
d115857c6f
wikiheaders.pl: A bunch of work on correct wordwrap and (de)wikify.
2021-07-14 11:02:59 -04:00
Ryan C. Gordon
1f17bc549e
wikiheaders: look for "c++" before "c" in regular expression.
2021-07-14 11:02:59 -04:00
Ryan C. Gordon
269d0773c7
wikiheaders: Ignore doxygen comments that aren't "/**" on a line by itself.
...
Makes this ignore /** single line comments */
2021-07-14 11:02:58 -04:00
Ryan C. Gordon
8130950e92
wikiheaders: trim whitespace at edges after wordwrapping.
2021-07-14 11:02:58 -04:00
Ryan C. Gordon
ab7944f960
wikiheaders: fixed regex for converting markdown bold+italic to mediawiki.
2021-03-25 12:52:15 -04:00
Ryan C. Gordon
f55445422a
wikiheaders: when merging into headers, wordwrap in Markdown style.
2021-03-25 12:50:18 -04:00
Ryan C. Gordon
45d128db00
wikiheaders: Fixed double-wikify call.
2021-03-24 22:36:06 -04:00
Ryan C. Gordon
5753fd73c3
wikiheaders.pl: Whitespace fixes.
2021-03-24 12:52:48 -04:00
Ryan C. Gordon
c2152928fa
wikiheaders.pl: Mark some sections as wiki-only so we don't lose them.
2021-03-24 10:48:45 -04:00
Ryan C. Gordon
231b849c9e
wikiheaders.pl: Properly handle and wordwrap bullet lists.
2021-03-24 10:48:44 -04:00
Ryan C. Gordon
7a2a1a85e9
documentation: initial script to merge header comments and the wiki.
...
This is a work-in-progress, but the idea is it can convert between our
wiki and the SDL header's doxygen comments, so we can attempt to keep them
in sync.
This might be a fool's errand, but I'm optimistic it'll work enough that we
can clean up little issues as we go, as long as we have some discipline
about how we write documentation. If nothing else, it's going to result in
a solid spring-cleaning of both the wiki and the headers!
2021-03-16 13:49:35 -04:00