You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Read the Docs username (if applicable): cmacmackin
Note: all of this is being done on the development branch; the master branch does not yet have any sphinx documentation.
Expected Result
I am trying to use Sphinx's autodoc features on a project with a compiled Python extension, in order to extract the docstrings contained within the compiled module. To do this, I added the following to my conf.py file:
The idea is to build the shared object library before running Sphinx so that autodoc can import it and produce documentation for the methods it provides. This works fine on my local computer, including when setting the READTHEDOCS environment variable to True.
Actual Result
When I tried submitting this to Read the Docs, one of two things happens:
g++: internal compiler error: Killed (program cc1plus)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
After some investigation I discovered that the compiler was using too much RAM. I was able to reduce the amount it used sufficiently by playing with configurations of its internal garbage collector. This was achieved with the flags --param ggc-min-expand=10 --param ggc-min-heapsize=16384.
Details
Note: all of this is being done on the development branch; the master branch does not yet have any sphinx documentation.
Expected Result
I am trying to use Sphinx's autodoc features on a project with a compiled Python extension, in order to extract the docstrings contained within the compiled module. To do this, I added the following to my
conf.py
file:The idea is to build the shared object library before running Sphinx so that autodoc can import it and produce documentation for the methods it provides. This works fine on my local computer, including when setting the
READTHEDOCS
environment variable toTrue
.Actual Result
When I tried submitting this to Read the Docs, one of two things happens:
This appears to be the same bug as in #3185, so perhaps building in Conda will help as it did with that issue.
The text was updated successfully, but these errors were encountered: