mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
`directivetype` is set to mimic `ClassDocumenter`. Reflect that. `isinstance` would work on the enum members, but that is not what we want here. `issubclass` raises a TypeError when called on objects that are not classes. |
||
---|---|---|
.. | ||
examples | ||
autodoc_ext.rst | ||
helloworld.rst | ||
index.rst | ||
recipe.rst | ||
todo.rst |