Prior note: wanted to submit it as an issue on GitHub, but the relevant topic was not in the proposed options. Posted on the user forum and I was told it is not the place for that. So trying here, the last option.
Was parsing the documentation for some purpose. It was fine so far (not finished) with
documentation for version 3.2.11. Then I noticed there is a newer and
better looking documentation version, 3.3.3 with some changes, like some
#define changed into constexpr. So wanted to update with this. But
doing so, was immediately blocked by an error.
Parsing starts with files.html.
At (685, 1) there is a body close tag, but that's a div close tag which
is expected, a div opened at (23, 1). At (684, 1) there is a div close
tag. A comment says if close a div with page_container ID. But it does
not, it is closing a div opened at (58, 1) and this is div#doc-content.
The div#page_container is opened at (23, 1).
At the end of the file, is this:
<!--EXTRA FOOTER SCRIPT-->
</div> <!-- #page_container -->
</body>
</html>
It should be:
<!--EXTRA FOOTER SCRIPT-->
</div>
</div> <!-- #page_container -->
</body>
</html>
Checked it is fine with this and the comment is still relevant. Don’t
known anything about Doxygen templates and document generation, so
can’t tell more, except at the time div#page_container is closed,
div#doc-content is not yet closed, and that's the error.
There are multiple occurrences of the same, because after the errors in
files.html was fixed, the same error still happens in other files.
Another markup error, at least in documentation version 3.2.11 (not checking 3.3.3 for now, due to previous errors).
In the file for the wxAuiDefaultTabArt class,
classwx_aui_default_tab_art.html. At (93, 107) there is a closing P tag
and at (97, 1) there is an opening P tag. This should be reversed. Turn
the first into an open tag and the second into a close tag, and it’s
fine.
The same with the file classwx_aui_simple_tab_art.html
Something else not markup related. In
https://docs.wxwidgets.org/latest/classwx_aui_tab_art.html#a1ec38b831d76261146f8e2f28e57f7b7 , for the class wxAuiTabArt the first argument of the method
GetBestTabCtrlSize just have a type (wxWindow *) and no name. Seems the
name should be wnd, according to the others places where the same
argument type appears.
I don’t know C++ (knew it a so much long time ago it was not the same),
but I am rather sure an argument is useless without a name, whatever the
language. I still may be wrong …
Searching for “const wxAuiNotebookPageArray &” and “const wxSize
&” in the same page, shows other place with the same issue (unless
it is not an issue).