Skip to content
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

Table of Contents no longer building for PDF #665

Closed
AndyFoy opened this issue Feb 12, 2014 · 9 comments
Closed

Table of Contents no longer building for PDF #665

AndyFoy opened this issue Feb 12, 2014 · 9 comments

Comments

@AndyFoy
Copy link

AndyFoy commented Feb 12, 2014

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?

@ericholscher
Copy link
Member

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.

@AndyFoy
Copy link
Author

AndyFoy commented Feb 14, 2014

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?

@ericholscher
Copy link
Member

Yes, that is likely the git changes we introduced the other day, to try and fix submodules.

@ericholscher
Copy link
Member

cc @Turbo87

@Turbo87
Copy link
Contributor

Turbo87 commented Feb 15, 2014

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?

@AndyFoy
Copy link
Author

AndyFoy commented Feb 15, 2014

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.

@Turbo87
Copy link
Contributor

Turbo87 commented Feb 16, 2014

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 git clean call might be responsible for this, as it is using the .gitignore file in some way.

@AndyFoy
Copy link
Author

AndyFoy commented Feb 16, 2014

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.

@ericholscher
Copy link
Member

Believe the root cause of this is #749 -- closing this in favor of that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants