Conversation
|
Hi Daniel, thanks for the cc, and glad to see simdutf trying this. simdutf is exactly the sort of codebase Mr.Docs is meant for. I'm actually working on a Doxygen-to-Mr.Docs migration guide at this very moment and reworking the configuration reference at the moment. The categories, the examples, and the migration-notes page are all getting refactored in the next week or two, so if a particular option reads confusingly today, that page is likely to be in much better shape soon. Please leave questions or feedback or open an issue on mrdocs and I'll jump in. A few notes from reading your
Thanks! |
|
@alandefreitas Thanks for the feedback. I think that I addressed some of your concerns in my latest commit. |
|
I think the generated docs look pretty. But how does it work with overloads? is it possible to get the other overloads visible as well? |
|
Hi :) MrDocs definitely creates pages for overload sets and for the individual functions (i.e. https://lemire.me/simdutf/mrdocs/simdutf/base64_valid-01.html) But I don't know which functions in the library are overloaded and what choices the script that generates the index makes regarding them. |
|
@pauldreik I have updated the script so that it generates C++23 docs, I am uploading the new files to https://lemire.me/simdutf/mrdocs/ |
|
@alandefreitas @pauldreik To be clear, the reason the overloads did not appear is that I was building with the default C++ version. Some of our overloads require a specific C++ version. |
|
Here is an example: there is only one overload (the base one, with ptr+size). the span overload is not visible. I think this is important, because the span overload should be preferred at least by users having access to C++20 . |
|
@pauldreik The reason you still found this link is that mrdocs does not delete the html files from previous runs. I have added a rm command to the script. You still have it... https://lemire.me/simdutf/mrdocs/simdutf/binary_to_base64-0c.html but it is now part of a larger definition: https://lemire.me/simdutf/mrdocs/simdutf/binary_to_base64-0c.html The downside of my approach here is that it relies on the development version of mrdocs, so it could fail in the future. Also, maybe I could convince @alandefreitas to issue a release soon. |
|
@alandefreitas @pauldreik I can't use the latest release. I am not sure I remember why. It is missing some feature I needed. |
|
Yes. The leftover happened because the page names changed. When the corpus had a single There's still one leftover on the site though: the sidebar. The And yes, a release is coming soon, right after some documentation updates we're finishing. So many people build straight from |
|
@pauldreik We could adopt this. |
|
Hi! I did a full rewrite of the MrDocs docs (https://www.mrdocs.com/docs/). The one I was talking about in the first comment I left here. You might be interested in seeing it. It’s more goal-oriented, it has examples with previews for everything, the reference pages are exhaustive, and there are more pages on categories of commands and options. This makes it easier to understand what's going on with some of the issues we had here, because they weren't properly explained before. |
|
@lemire can you please regenerate the docs? I clicked a random page on the left hand side, and it got me a 404. |
|
@pauldreik I think that you have a staled (cached) page. The link should be https://lemire.me/simdutf/mrdocs/simdutf/utf8_length_from_utf16_with_replacement-0e.html
|

The doxygen documentation is nearly useless.
https://simdutf.github.io/simdutf/api/
The more recent and more powerful mrdocs gets a better result. I have not tested it in CI, but I uploaded it to my domain:
https://lemire.me/simdutf/mrdocs/
I don't know if it will work. But I think we should consider it.