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

Consistent timeout error when building docs #2274

Closed
hoonhout opened this issue Jun 23, 2016 · 6 comments
Closed

Consistent timeout error when building docs #2274

hoonhout opened this issue Jun 23, 2016 · 6 comments
Labels
Needed: more information A reply from issue author is required Support Support question

Comments

@hoonhout
Copy link

Details

I try to build Sphinx documentation from the GitHub repository. The GitHub repository only holds the documentation files, no source code is needed for the build and is not included in the repository. The documentation is quite elaborate with many figures, mathematical equations and references.

The build consistently fails with a timeout error after 900 seconds. When I build the documentation locally it builds in about 10 minutes. I suppose that cloning the repository and rendering PDF and EPUB files in addition takes the build beyond the time limit of 15 minutes. Since the building involves RST files only, I'm not sure if I can speed it up. Would it be possible to increase the time limit for this project?

Expected Result

I try to build the Sphinx documentation from a GitHub repository, including the HTML website at http://xbeach.readthedocs.io/, the PDF file and the EPUB file.

Actual Result

I consistently get a timeout error after 900 seconds about halfway building the PDF file. The generation of the HTML files and publication on http://xbeach.readthedocs.io/ work fine.

@agjohnson
Copy link
Contributor

This looks like the project is hitting our time limit for builds, based either on the documentation that is generated or the reference documentation. I'll see about bumping up the time limit.

These docs look great, by the way 💯

@agjohnson agjohnson added the Support Support question label Jun 24, 2016
@hoonhout
Copy link
Author

Hi Anthony,

Awesome, thanks.
The docs are a community effort :-) I’ll pass on the message!

Bas

On 25 Jun 2016, at 00:21, Anthony [email protected] wrote:

This looks like the project is hitting our time limit for builds, based either on the documentation that is generated or the reference documentation. I'll see about bumping up the time limit.

These docs look great, by the way 💯


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub #2274 (comment), or mute the thread https://github.com/notifications/unsubscribe/AHGPGqe7ClctiAmLvAYiKubvn0rU9kTqks5qPFhkgaJpZM4I8xwN.

@humitos
Copy link
Member

humitos commented Feb 23, 2017

Related to #2614

@hoonhout
Copy link
Author

hoonhout commented Sep 26, 2017

In the past year we circumvented above-mentioned issue by switching off PDF and EPUB output and run the Sphinx locally instead. This is quite inconvenient and error prone. Therefore, we are still really interested in having especially the PDF output online. The documentation is as lean and mean as we can get it. We only update it a few times a year (!). I don't see any optimisation possibilities, except:

  1. Bumping up the time limit, as suggested above, or
  2. Switching off JSON and Single Page HTML output in favor of PDF output, as described in Build celery task timeout doesn't report an error #2614

We would appreciate if one of these two options can still be considered.

As we are a non-profit, open-source organisation ourselves we don't have steady funding for a permanent RTD subscription. If one can provide me with an estimate of the costs involved with realising one of these options, I will try to raise a one time donation to cover these.

Bas

@stsewd
Copy link
Member

stsewd commented Jun 15, 2018

You can disable the single page html build with the yaml file https://docs.readthedocs.io/en/latest/yaml-config.html#formats. For the JSON build, we can't do that, since rtd uses to provide the search feature. But we have a _beta_feature to output the json artifacts in the normal html build step #4229 (only selected projects has this feature at the moment)

@stsewd stsewd added the Needed: more information A reply from issue author is required label Jun 25, 2018
@stsewd
Copy link
Member

stsewd commented Jun 27, 2018

Closing this as the user hasn't responded or given more information, feel free to reopen with more information if you are still having this problem :).

Also please see #2274 (comment). BTW, now all previous projects built the json artifacts in the html step, and your latest builds are passing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needed: more information A reply from issue author is required Support Support question
Projects
None yet
Development

No branches or pull requests

4 participants