-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
DOC: Improper configuration for LaTeX documentation #16372
Comments
I'm not sure what's the best way forward here, since the old "User Guide" would now be equivalent to everything under "For users" on the main docs page. Maybe adding a |
Yeah I wasn't sure either - I have a proposal in #16373 that tries to achieve the best of both worlds, i.e. leave the html docs relatively untouched (by reintroducing index as an orphan), but adds back the necessary component for the latex build. If that solution sounds okay, please take a look at the toctree in #16373 to see if the listings there should be updated. |
It would be nice if we could hide the unwanted links with an |
Thanks for the info @mattip , I'll give |
AFAICT after trying reading about |
The
conf.py
indoc/source
lists has the following configuration building latex documents:numpy/doc/source/conf.py
Lines 158 to 166 in 3f11db4
However,
user/index
was removed in 22356fc as part of the NEP 44 restructuring, which means this configuration is no longer valid and attempting to build the latex docs (as is done for the documentation release process, for example) will fail as a result.Either
doc/source/user/index.rst
should be added back or the sphinx configuration needs to be updated with a new start file for the user guide.Reproducing code example:
Within a properly setup environment for building docs:
Error message:
The following warning is given by sphinx:
The build will terminate without attempting to compile
numpy-user.tex
.Numpy/Python version information:
Python 3.8.3 | numpy v1.20.0.dev0+3f11db4
The text was updated successfully, but these errors were encountered: