-
Notifications
You must be signed in to change notification settings - Fork 1
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
74 update generated docs #73
Conversation
…ng, change ordering, remove unncessary stuff, demote one header to remove from index in docs
@ClaasRostock can you have a look at this? wondering whether there was any point to the automodule rst files - they did not seem to generate anything good, so I have removed them. But maybe they should've been set up properly. I found some online docs saying this can happen if you have multiple automodule - but I removed automodule rst files, but maybe autosummary creates that? Do the docs, as I have made them now, look alright? Anything we are missing and should add? |
Hi Stephanie, the autosummary Sphinx extension was introduced by David @davidhjp01 in the TDR_rax repo, and honestly I just applied that change also in MLFMU without thinking much about it. |
The autosummary is giving warnings, but it is the main source of documentation now. That seems to work nicely. |
Just had a brief look, try to remove |
[like] Kemna, Stephanie reacted to your message:
…________________________________
From: David Heejong Park ***@***.***>
Sent: Monday, November 4, 2024 7:53:16 AM
To: dnv-innersource/mlfmu ***@***.***>
Cc: Kemna, Stephanie ***@***.***>; Assign ***@***.***>
Subject: Re: [dnv-innersource/mlfmu] 74 update generated docs (PR #73)
Caution: This email originated from outside of the DNV Organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Just had a brief look, try to remove Methods section for class declarations. Seems we do not need it and it conflicts with the docstrings of corresponding methods.
—
Reply to this email directly, view it on GitHub<#73 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ABRXMLMSLLA7ECTRPULL7X3Z64RWZAVCNFSM6AAAAABRA67TN6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJUGAZDKMRXGQ>.
You are receiving this because you were assigned.Message ID: ***@***.***>
**************************************************************************************
This e-mail and any attachments thereto may contain confidential information and/or information protected by intellectual property rights for the exclusive attention of the intended addressees named above. If you have received this transmission in error, please immediately notify the sender by return e-mail and delete this message and its attachments. Unauthorized use, copying or further full or partial distribution of this e-mail or its contents is prohibited.
**************************************************************************************
|
…clude for API documentation, instead of auto-documenting everything in the package root.
…e auto-generation of separet stub files for attributes, function, methods and extension. (-> Auto-generate separate stub files only for classes.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
made some proposals in a separate PR (meant to be merged into this one, if ok with you)
Ah, one more thing: When applying the changes proposed in my PR, you might need to delete all .rst files in your docs/source/_autosummary folder. It seems that rebuilding the docs (via |
… that class documentation gets generated twice (resolves also the related warnings).
…" to "groupwise", to be in sync with how autosummary orders the members in the respective tables.
… where applicable, to match the formats that Sphinx can expects and can introspect.
@StephanieKemna @davidhjp01 |
…review-claas review claas for 74 update generated docs
Remaining tasks: #72 (comment) |
Description
Resolves #74
Cleaning the docs; remove stuff that seems unnecessary, add missing pages, add missing info.
How Has This Been Tested?
make html
start build\html\index.html
Screenshots (if appropriate)
Developer Checklist (before requesting PR review)
I have:
Reviewer checklist
I have: