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

subpages in the doc #278

Merged
merged 2 commits into from
Sep 26, 2023
Merged

subpages in the doc #278

merged 2 commits into from
Sep 26, 2023

Conversation

philippemiron
Copy link
Contributor

@philippemiron philippemiron commented Sep 22, 2023

I played (way too long..) with autosummary this evening. It does generate a doc similar to scipy much easier to browse. Only thing I haven't try yet to include the figure after chunk.

There are also a lot of warnings when building the docs and I believe it's due to the way we import in __init__.py that conflicts with the ::recursive:: option.

@philippemiron
Copy link
Contributor Author

image image image

@selipot
Copy link
Member

selipot commented Sep 22, 2023

WOW @philippemiron !!!

@milancurcic
Copy link
Member

It looks awesome.

@philippemiron
Copy link
Contributor Author

philippemiron commented Sep 22, 2023

I think we should be able to create a special _templates for the analysis module and inject the image in the chunk documentation, but it was not working when I tried.

Copy link
Member

@milancurcic milancurcic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thank you. Two critical warnings had to do with wavelet.py docstrings formatting. They're gone now. The remaining warnings don't seem two concerning to me, they all seem to have to do with double definition of functions, one of them being autogenerated by Sphinx. Let's figure out where to put chunk diagram in a future PR. I built and tested the docs locally and the autosummaries work and look great.

@selipot selipot added the documentation Improvements or additions to documentation label Sep 22, 2023
@selipot
Copy link
Member

selipot commented Sep 26, 2023

What else need to be done to merge this?

@milancurcic
Copy link
Member

@philippemiron please merge if ready.

@philippemiron philippemiron merged commit f635068 into Cloud-Drift:main Sep 26, 2023
@philippemiron philippemiron deleted the autodoc branch September 26, 2023 20:18
philippemiron added a commit to philippemiron/clouddrift that referenced this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants