I have a module with two documented global special-members.
Running Sphinx locally creates documentation that includes their docs, but Read the Docs doesn't. It uses the built-in type's documentation instead.
I have tried both styles: #:
and docstring after the definition. I have read autodoc
's documentation multiple times, and the Read the Docs entry on it. I can't figure out what I'm missing, as I don't even see any build errors on Read the Docs.
Any ideas?
In case you are using Napoleon extension to handle NumPy or Google style docstrings, you can set a configuration flag for this in your conf.py
http://sphinx-doc.org/ext/napoleon.html?highlight=special#confval-napoleon_include_special_with_doc
If I remember correctly there is also a directive for autodoc:
http://sphinx-doc.org/ext/autodoc.html?highlight=member#event-autodoc-skip-member
By implementing this method you have a fine grained choice of which member is going to be included in the docs and which is not.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With