-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
documentation viewer #2709
Comments
Sphinx with the readthedocs github integration (so it runs on each PR etc) would be a great option. Happy to support this effort, I have got it working with markdown files before |
IMO mkdocs-material looks much better then Sphinx although Sphinx is considered more mature, AFAIK recent projects
This is not specific to mkdocs or Sphinx, You'll need to setup a PaaS for that, I don't think github |
Both mkdocs and sphinx are supported for rtd out-of-the-box, so I am inclined to either. On the specifics of mkdocs vs sphinx, I want to check:
|
No, (not that sphinx does) we'll need to craft something on our own using the xml doxygen generates...
I don't think so.
Not that I know. Note that the majority of features that Sphinx provide over mkdocs are Python specific. |
Not having It is helpful to have this discussion before we get locked-in by designing for a specific ecosystem. If the only criteria is the looks, then check the sphinx-theme.org and comment on what is missing there. I like RTD and furo theme. Other contenders are book, pydata and materials (lesser because of how api view is generated out-of-the-box). Both ecosystems are constantly growing so who knows how they will evolve. |
Typical Catch2 usage is with macros more than with classes so it is not much of a bummer + it doesn't look very good and we can craft something ourselfs using doxygen xml.
|
Note that macros are supported by doxygen and breathe. Source and generated. Also with C++ modules, it is unclear how macros will continue to exist as exported API. It will be great if the api behind the macros are also documented.
|
Yeah, anyways, thanks for your input! I would continue my mkdocs PR tonight 🤞 and leave for maintainers |
FWIW here is mkdocs C++ generated API https://json.nlohmann.me/api/basic_json/ |
Any progress of this issue? Personally, I prefer the Sphinx one, since the layout is more beautiful to me. Screenshot from @LecrisUT 's example: https://catch2-temp.readthedocs.io/en/latest/ |
Description
Currently there are 2 open PRs suggesting documentation builders:
I believe that is a valuable feature, but I believe it's missing RTD suppott that would make the documentations:
For this I think it's valuable to implement an established standard of sphinx. What are your opinions?
The text was updated successfully, but these errors were encountered: