-
Notifications
You must be signed in to change notification settings - Fork 28
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
Added required packages for building docs #124
Conversation
Hi @ocefpaf, is this PR fine? |
docs/requirements.txt
Outdated
h5netcdf | ||
scipy | ||
nco | ||
numpy>=1.14,<2 |
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.
You don't need to repeat anything that is already a mandatory dependency. Those are already installed when we install the package.
@Sakshamgupta90 the tests are failing. You can click on the links above to inspect the logs. Please let me know what you find. You should familiarize yourself with Continuous Integration systems (CI) and running tests at every PR. It is good practice to always run the tests and ensure things are passing. PS: You may also find that you may need to update your branch in order to get the latest conde changes in this branch. It is usually done via rebasing. Let me know if you need help with that. |
Hi, I am currently looking and understanding about these tests. And yes my bad, these packages are already mentioned in the requirements file. |
@Sakshamgupta90 this PR is failing b/c of the numpy version. You can verify that by inspecting the logs. |
e7cc0bf
to
aefcdfa
Compare
@Sakshamgupta90 do you plan to tackle the documentation build warnings on this PR or in a fresh one? |
Hi @ocefpaf, |
@Sakshamgupta90 there is a single commit that adds Here is what you can do, enter the docs directory and try to build them with linkchecker:
Here is one of the warnings:
That means a docstring is poorly formatted and require some editing. |
Hi @ocefpaf, I was trying the edit the docstring, and I was able to fix the warning
|
@Sakshamgupta90 it is a wack-a-mole game, what I do is to comment out everything but one function and build the docs, fix it, and uncomment the next one. |
Hi @ocefpaf, so I was trying to do the same. And notice that, while building docs it gives errors like |
Hi @ocefpaf, resolved all the warnings and errors, shall I create a new PR of the formatted docstring? or shall I commit in the same? |
aefcdfa
to
09c7862
Compare
You should commit those in this PR. Please let me know when you are ready. |
Yes, I am ready to commit. |
By ready I meant ready with the PR. You still have a single commit there that doesn't include the doc fixes. |
Hi @ocefpaf, I implemented the docstring as per the numpy style guide. this is how it looks, is this ok?
|
Hi @ocefpaf, you merged the wrong one. I havent commit the new docstring yet. I just asked for the confirmation. Shall I raise a new PR for that?
|
No problem. You can send an amended in a fresh branch. I wanted to get pooch in there so others can build the docs too. |
No description provided.