Skip to content
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

[question] Incorporate doxygen-based in-line docs for Fluxion #51

Open
dongahn opened this issue Jul 25, 2020 · 3 comments
Open

[question] Incorporate doxygen-based in-line docs for Fluxion #51

dongahn opened this issue Jul 25, 2020 · 3 comments

Comments

@dongahn
Copy link
Member

dongahn commented Jul 25, 2020

flux-sched has a ton of doxygen-based in-line documents designed to help developers to extend our Fluxion graph scheduler. For C++ based project (or even high level object based on like Python), this style of documentations would be more common.

As a test, I have a doxygen configuration for our fluxion resource infrastructure piece at https://github.com/flux-framework/flux-sched/blob/master/resource/doxygen/doxy_conf.txt, what would be a feasibility step we should take to see if it is possible to incorporate this into the overall readthedoc?

If I manually build the doxygen document out of it, I get something like the following.

If this test goes well, I can add a top level doxygen configuration spanning both resource and qmanager components.

I remember @trws said this would be possible with some tweak. And as I remember he (and @SteVwonder) would have other in-line docs for Python bindings.

Screen Shot 2020-07-25 at 12 22 29 PM

@dongahn
Copy link
Member Author

dongahn commented Jul 25, 2020

The other source of docs that can be very useful for our collaborators are two README.md files for resource-query and planner layer.

Is there an established practice to incorporate READMEs into the doc project?

@trws
Copy link
Member

trws commented Jul 27, 2020 via email

@SteVwonder
Copy link
Member

Note that it is possible for all of this to be done within the flux-sched repo, just like the manpages are now generated with sphinx from the flux-core repo. ReadTheDocs has sub-projects, so flux-sched can just be a subproject in RTD under the umbrella of "flux-framework". This allows for cross linking between projects while still allowing the repos to be separate and the documentation to be co-located with the code that is describes.

Is there an established practice to incorporate READMEs into the doc project?

Same thing for these. They can be a part of the flux-sched RTD subproject if we want them to also remain in the flux-sched repo. They will need to be converted to RestructuredText though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants