-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Broken Sphinx links in doc page on contributing to docs #3708
Comments
Did you use conda env create -f ci/requirements/doc.yml for building a documentation environment? conda should automatically install all the dependencies for you. Also, at least When I last tried to use virtualenv / pip instead of conda, building the documentation failed because Just to make sure: the documentation you linked to is not for master but for the last release, the documentation for master is here. Links: thanks, do you want to send in a PR fixing that? |
Yes, I used I'll do a PR for the links tomorrow. |
that's strange, then. Could you retry creating a new environment and post the output of
👍 |
I removed and re-created the xarray-docs environment. Output of Could this problem have something to do with me having cloned an old fork of xarray from like 6 months ago? (I was afraid to delete the fork and make a new fork for fear of losing the record of what I did in the last PR). I did use
|
are you sure you activated the right environment? There are some packages from xarray/ci/requirements/doc.yml Lines 1 to 25 in aa0f963
Also, you don't need to delete the environment, using $ conda env create -n xarray-docs-test -f ci/requirements/doc.yml
$ conda activate xarray-docs-test
$ # try building the documentation
$ conda deactivate xarray-docs-test
$ conda env remove -n xarray-docs-test should work, too |
The doc page on contributing to the docs has two broken links to sphinx.pocoo.org. The content has been moved to sphinx-doc.org. The doc page should be updated to reflect this.
Also, it would be useful to explicitly specify that you need to install sphinx, nbsphinx, and all the nbsphinx prerequesites in order to build the docs, as well as installing any additional missing packages that cause errors during the doc build process (I had to install cfgrib and h5netcdf).
The text was updated successfully, but these errors were encountered: