Le 22/03/2018 à 14:04, jfbu a écrit :
Le 22/03/2018 à 08:39, Jørgen Cederberg a écrit :
Hi
I maintain sphinxcontrib-matlabdomain
<https://github.com/sphinx-contrib/matlabdomain>, which provides
autodoc-capabilities for the MATLAB language.
With the Sphinx 1.7 update, I had a regression, that the *:members:* options
does not work anymore.
The autodoc works pretty much as Python, as we inherit the same directive
So something like
|
..automodule:: test_data
..autoclass:: ClassInheritHandle
:show-inheritance:
:members:
|
Would document the *ClassInheritHandle* and its member function. Unfortunately,
this does not happen anymore. I have tried reviewing the source for sphinx, but
must confess, that I cannot find, what could have made this change.
Can anyone shine a light on the autodoc changes?
Perhaps not relevant to your question but trying with
```
====
TEST
====
FIRST
-----
.. automodule:: sphinx.writers.latex
.. autoclass:: Table
:show-inheritance:
:members:
SECOND
------
.. automodule:: scipy.cluster.hierarchy
.. autoclass:: ClusterNode
:show-inheritance:
:members:
```
I found no difference in output between 1.6.6 and current dev.
(the above with scipy generates warnings about unexpected
section titles in docstrings, but this is other thing)
Do you have empty line before ``:members:`` ??
Best,
Jean-François
Trying
$ git diff v1.6.6..v1.7.1 -- sphinx/autodoc/*
nothing is reported...
--
You received this message because you are subscribed to the Google Groups
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sphinx-users+unsubscr...@googlegroups.com.
To post to this group, send email to sphinx-users@googlegroups.com.
Visit this group at https://groups.google.com/group/sphinx-users.
For more options, visit https://groups.google.com/d/optout.