Restore the legacy implementation of autodoc for compatibility#14091
Restore the legacy implementation of autodoc for compatibility#14091AA-Turner merged 2 commits intosphinx-doc:masterfrom
Conversation
|
Could we at least get the documentation/example to work with the non-legacy interface? Afaiu with the new API, the directive is more free-formed and for non-python documenters I think it would be fine because it would be a clearer sign of something like "we do not do anything special, just make sure you create the content appropriately", but the example is more focused on extending specifically python documenters (PS: I think an example with Also is the new interface locked now, or would you wait for additional feedback from the developers that are trying to migrate to finalize it in 9.1? I would have one request to add to the interface: that is to move it in the python domain in order to avoid conflicts with other domains that use the same |
What I'm missing at the moment is an understanding of what/where autodoc extensions need to act. My two current thoughts are allowing subclassing of
I don't really understand what you mean by "non-Python documenters". The autodoc extension only works with Python code by design, it does not support any other programming language.
Per above, I don't follow here.
Again, A |
|
Sure, opened #14099 and #14098 for these issues, hopefully the context in there helps. Basically for the non-python documenters, the idea is not making those directives but rather how can people replicate the workflow and separation of |
Copied from their state as at 58293c2, with duplication removed where possible.
References
autodocmore maintainable #13751