-
Notifications
You must be signed in to change notification settings - Fork 54
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
Solving the bug in API docs rendering #305
Conversation
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.
Thanks for the help with this @fsenf ! This works well and fixes the API. I am fine with this change, but want to double check with @freemansw1 and @w-k-jones if this is the preferred fix, as I am not sure if there are any significant adverse implications of making numpy
a dependency instead of mocking it.
Also, we might want to add tobac.utils.internal
and tobac.utils.periodic_boundary
to doc/tobac.rst
and I am wondering if we should move Testing-Sphinx-based-Rendering.md
to the developer guide.
```bash | ||
git fetch --all | ||
git checkout -t origin/<BRANCH> | ||
``` |
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.
Would it be useful to add instructions for how to test this on a certain pull request as well?
git fetch upstream pull/ID/head:BRANCH_NAME
git checkout BRANCH_NAME
@@ -0,0 +1,112 @@ | |||
|
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.
Super nice and helpful that you added an explanation here for how the sphinx rendering works! I am, however, wondering, if the developer guide is maybe the better location? :) It does also make sense to keep it in the doc/
folder, but I am generally in favor of having one common place instead of many different readme markdown files.
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## RC_v1.5.0 #305 +/- ##
==========================================
Coverage 54.60% 54.60%
==========================================
Files 15 15
Lines 3170 3170
==========================================
Hits 1731 1731
Misses 1439 1439
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Thanks so much for taking care of this, @fsenf. I'm happy with the PR, but have the same thought as @JuliaKukulies on moving the testing into the developer guide.
As long as RTD is happy with installing numpy instead of mocking it, I'm happy to do that.
OK, good suggestion! I will update the PR and remove the markdown-based description in this PR. To have a homogeneous format, I will convert the .md file to .rst and directly add it to PR #281. |
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.
Thanks, @fsenf. I'm happy with this now!
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.
Me too :) ready to merge!
Nice, now I feel confident to push the green button. |
This solve the RTD rendering bug:
numpy
in installation requirement and excludenumpy
from mock list