-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Table of Contents no longer building for PDF #665
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
Comments
I have no real idea. We changed out Git checkout handling, but that shouldn't change what happens in your code. I don't really understand the PDF generation code well at all, so I'm not sure. |
I've also posted this on the Google groups ... If I create a gitignore file containing only one line "_build" then the TOC will be created. So it seems that something has definitely changed recently as I've never had a gitignore file in my github repository before now and until this week the TOC has always built ok. Does that make any sense? |
Yes, that is likely the git changes we introduced the other day, to try and fix submodules. |
cc @Turbo87 |
https://readthedocs.org/builds/hlutool-userguidetest/1156541/ doesn't exist anymore. @AndyFoy where can I find the repo to test it locally? Is https://github.com/HabitatFramework/UserGuide.git correct? |
Sorry, I deleted the test version as I had solved it. Yes, you can use the repo at https://github.com/HabitatFramework/UserGuide or https://readthedocs.org/projects/hlugistool-userguide/ to test it locally with/without the gitignore file. Thanks. |
So you are saying that without .gitignore it no longer works, and with .gitignore it does? I admit that I only tested my code with a .gitignore file, but that sure shouldn't be a requirement... I'll take a look into it. I suspect that the |
Correct, without the gitignore it no longer works! The key difference in the build log is that the .aux file can't be found - I don't know if this is relevant or not. |
Add _build to .gitignore as per readthedocs/readthedocs.org#665
Believe the root cause of this is #749 -- closing this in favor of that. |
Has something changed with the PDF build process in the last 48 hours?
I have a test repository with a set of documents but when it gets built in RTD the Table of Contents in the PDF is blank. I have tried building it again and again but nothing changes and I can't see any error relevant messages.
See https://readthedocs.org/builds/hlutool-userguidetest/1156541/ for the latest build notes.
The repository is an exact copy of another one (v1.0.1 not the latest version) where the TOC had been built.
See https://media.readthedocs.org/pdf/hlugistool-userguide/v1.0.1/hlugistool-userguide.pdf for the built PDF and https://readthedocs.org/builds/hlugistool-userguide/1143798/ for the related build notes.
Any ideas?
The text was updated successfully, but these errors were encountered: