-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix documentation compilation #207
Fix documentation compilation #207
Conversation
great PR, thanks! |
Read the Docs has the official CI framework: https://docs.readthedocs.io/en/stable/integrations.html (you can see the deployment/errors via GUI like this: https://readthedocs.org/projects/cupy/builds/25317461/ ) |
We could configure Read the Docs CI, but the integration with GitHub seems to require admin rights on both sides (GitHub and Read the Docs). On the other hand, I was able to add the doc workflow without needing admin rights on either platform. What are the benefits of using Read the Docs CI instead of GitHub Actions? Perhaps we could merge this PR first since it fixes a number of errors and the CI check with GitHub Actions is working properly. We could then propose using Read the Docs CI in a separate issue or PR, where someone with admin rights can handle the setup. What do you think? |
Either looks good to me. |
Related to package documentation/comment, let me suggest an idea: why not use Ruff rule |
I think we can merge this PR after adding |
Memo: May need to completely ignore rule |
Suggested by EarlMilktea: TeamGraphix#207 (comment)
I turned on the |
How thorough it is! Excellent! |
MEMO: Opened #208 to speed up CI checks. |
Co-authored-by: Shinichi Sunami <[email protected]>
Co-authored-by: Shinichi Sunami <[email protected]>
Co-authored-by: Shinichi Sunami <[email protected]>
Co-authored-by: Shinichi Sunami <[email protected]>
Co-authored-by: Shinichi Sunami <[email protected]>
894c243
to
9cd0d3f
Compare
If there's anything else I should address before merging, please let me know! |
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.
Great! Only some minor suggestions.
Co-authored-by: S.S. <[email protected]>
Co-authored-by: S.S. <[email protected]>
Co-authored-by: S.S. <[email protected]>
Co-authored-by: S.S. <[email protected]>
Suggested by EarlMilktea: TeamGraphix#207 (comment)
Beware that Python 3.12 requires numpy>=1.25!
@thierry-martinez LGTM! please squash and merge after resolving conflict, if you think it's ready? |
@shinich1 noticed that documentation compilation was broken (see comment). This pull request fixes examples, cross-references and doc-comments to fix various errors. Another commit adds a
doc
workflow for CI validation of the documentation (as suggested by @EarlMilktea, #198 (comment)).I used
sphinx-build --nitpicky
first to catch more errors, but I didn't manage to make it resolve references tonx_reportviews.EdgeView
, so I removed the option.