At C++Now two weeks ago, I was talking with some folks about how we might do the documentation system for Beman. I have implemented a toolkit that is an initial attempt at this.
The repo for it is on Github. It has online docs that are implemented using the toolkit itself. There is a link at the bottom of the README.md to the online docs. Direct link: https://tzlaine.github.io/beman_doc_tools.
The technologies used are Docusaurus, Doxygen, and Moxygen (which converts Doxygen XML to Markdown). The intent is that all documentation is written in Markdown, even the generated Doxygen API docs.
This repo is a separate thing at the moment, but it may be a candidate for including in the Beman infrastructure repo, exemplar, or …? Please also weigh in on where this toolkit should live.
Looking at the source here this one is just using Docusaurus – is that right? Do you have a link of rendered docs for transform view that includes doxygen outputs?
Yeah, idk where the best place is at the moment so I think it’s fine on its own for now. In my view it would be nice to xfer it under Beman project for visibility and commit permissions management.
It does seem like you’re going to have a lot of resource overlap with the website from what I’m seeing there – but still it’s not clear that we’d want these to be in the same repo. Probably a discussion topic for the sync meeting at some point.
At least for mobile, it looks like links might be broken. They are printing out literally instead of linking to other markdown files.
This was easily addressed. It was user error – I was using backtick-quoting to get code font for some words in my Doxygen quotes, but if you do that for Doxygen-indexed entities, the quoting wraps the link, leading to the misbehavior you saw.
I added a note in the online docs explaining this.
The fact that it cannot find even the node run “module” seems like maybe you forgot to do npm install first. Otherwise, I don’t think I know what’s going on there.