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

HTML docs including some - but not all - docstring automodule documentation #1749

Closed
jagophile opened this issue Oct 9, 2015 · 6 comments
Closed
Labels
Support Support question

Comments

@jagophile
Copy link

My project (pyatomdb) has several .rst files due to having several modules. The documentation is built using sphinx, which uses automodule to pull out the various commands and their docstrings.

Offline this works fine (using sphinx-build). On readthedocs, this works fine for the PDF generation, but the html version is generating these for only 1 module (pyatomdb.atomdb), and ignoring the rest. It builds without errors, produces basic webpages for these modules, but doesn't produce any automodule output.

This is very confusing as the PDF versions are fine, online and offline.

Any assistance welcome...

@shoyer
Copy link

shoyer commented Oct 9, 2015

I'm pretty sure this is sphinx-doc/sphinx#1822

You will need to add sphinx==1.2.3 as a dependency to your doc build to fix this, at least until sphinx issues a bug fix release.

@jagophile
Copy link
Author

Thank you shoyer - putting that in the requirements.txt solved everything.

@jagophile
Copy link
Author

Sorry, for reopening this, I am now thoroughly confused. After running this with the suggested fix I initially had everything documented. But now it has vanished again. I am building with sphinx==1.2.3 in the requirements file and it seems to be running through fine (no errors at all) but it is still producing nothing from the docstrings of all but 1 module for the HTML output. But it works absolutely fine locally using sphinx.

@jagophile jagophile reopened this Oct 9, 2015
@agjohnson
Copy link
Contributor

@jagophile not finding your project on RTD, can you include a link to your project?

My guess is somehow you aren't using 1.2.3 anymore, or 1.3.1 is being given priority.

@agjohnson agjohnson added the Support Support question label Oct 10, 2015
@jagophile
Copy link
Author

Hi,
My project is atomdb.readthedocs.org.
Looking at it today, it seems to be working again. Is there a time delay between rebuilding and the docs appearing online? Or maybe my browser had cached the "wrong" pages and I wasn't reloading. Anyway, everything seems to be working as of this moment - sorry for the confusion.

@agjohnson
Copy link
Contributor

Only in the case of a queue backup, perhaps. I'll close, but feel free to reopen if you notice this again.

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

No branches or pull requests

3 participants