Why does sphinx not document module level variables

17 views
Skip to first unread message

Iwan Aucamp

unread,
Jun 13, 2023, 6:44:13 PM6/13/23
to sphinx-users
RDFLib has a docstring for rdflib.NORMALIZE_LITERALS, and we use autodoc which generates the following for the rdflib module:

Module contents
---------------

.. automodule:: rdflib
:members:
:undoc-members:
:show-inheritance:

As far as I understand, the persence of `:members:` should result in some documentation for rdflib.NORMALIZE_LITERALS, however, there is no documentation being generated for it as far as I can tell. If it were generated, I would expect to see it here.

What is going wrong here? Is there some way I can get documentation to be generated for module level variables?
Reply all
Reply to author
Forward
0 new messages