Open santisoler opened 2 months ago
I'm noticing that the attributes section only show a shorten description, without the mathematical definitions. I think we should fix that before merging this PR.
I restored the attributes list in the class template, so we can have both the attribute list generated by numpydoc (with just a single line description) and the extended descriptions below. The attributes in the list generated by numpydoc link to their corresponding extended description, making the navigation process easy.
I think I like this @leouieda, let me know what do you think.
I'll have a look at the built docs locally as soon as I can. Thanks for this @santisoler!
No worries! And also remember you can download the built docs from the Actions' artifact: https://github.com/fatiando/boule/actions/runs/9421670139
Add
numpydoc
to requirements for building the docs. Addnumpydoc
to Sphinx configuration file. Update Sphinx template for classes. Move admonitions inEllipsoid
andSphere
classes to the Notes section sonumpydoc
can render them properly.Relevant issues/PRs:
Related to fatiando/community#149