Skip to content

[question] - Without writing a custom builder is it possible to turn off pdf generation? #947

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

Closed
orsenthil opened this issue Sep 26, 2014 · 11 comments

Comments

@orsenthil
Copy link

Sometimes it is not desirable to create pdf and I wish if there was a setting to turn off automatic pdf generation. Do you think it is a good feature request?

@ericholscher
Copy link
Member

Why do you want to disable PDF generation?

On Fri, Sep 26, 2014 at 3:24 AM, Senthil Kumaran [email protected]
wrote:

Sometimes it is not desirable to create pdf and I wish if there was a
setting to turn off automatic pdf generation. Do you think it is a good
feature request?


Reply to this email directly or view it on GitHub
#947.

Eric Holscher
Maker of the internet residing in Portland, Or
http://ericholscher.com

@orsenthil
Copy link
Author

Well, I have this project of mine - http://www.learntosolveit.com/ which uses readthedocs, sphinx and I have also made a facility to post the snippet to IDEONE so that uses can run and see the result. This workflow is not suitable with pdf, so I wanted to disable that.

@hahnicity
Copy link

I'm also trying to setup a server. pdf is not necessary for use at our company. The HTML docs suffice. So I'd like to turn it off as well

@argriffing
Copy link

My builds are taking forever (like 1/2 hour) and I'm superstitiously blaming it on .pdf generation. Could I turn it off somehow so that I can see that I'm wrong?

@stevepiercy
Copy link
Contributor

I would like to turn off automatic PDF generation for many Pylons Project projects. The support burden would be too great for too little benefit, given the HTML docs are more than adequate. Even with PDF generation, using Pyramid as an example, the PDF has several layout problems, especially with code samples.

A related question: Has PDF generation always been a default setting? It seems like it started around January 2015 in most of the Pylons Project projects.

@davidheijkamp
Copy link

I managed to achieve to disable PDF generation by changing the latex_documents variable in conf.py to this: latex_documents = []

@stevepiercy
Copy link
Contributor

@davidheijkamp that tip does not work for our repo. A PDF build is still attempted and shows as "Passed", even though it actually fails. https://readthedocs.org/builds/pyramid_cookbook/2947148/ Maybe you have other configuration options.

@ericholscher
Copy link
Member

That build seems to pass, it properly exits after not outputting anything,
which seems like success to me. We're working on adding the ability to
configure output formats as we speak, so hopefully this will be resolved in
the next couple weeks.

On Thu, Jun 11, 2015 at 2:08 AM, Steve Piercy [email protected]
wrote:

@davidheijkamp https://github.com/davidheijkamp that tip does not work
for our repo. A PDF build is still attempted and shows as "Passed", even
though it actually fails.
https://readthedocs.org/builds/pyramid_cookbook/2947148/ Maybe you have
other configuration options.


Reply to this email directly or view it on GitHub
#947 (comment)
.

Eric Holscher
Maker of the internet residing in Portland, Oregon
http://ericholscher.com

@edmorley
Copy link

This was fixed in #1344 - there are now additional checkboxes to turn off PDF/epub in settings.

@gregmuellegger
Copy link
Contributor

Yep, indeed. Thanks for pointing this out. Closing this ticket for now.

@stevepiercy
Copy link
Contributor

Thank you!

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

8 participants