问题
We want to document an XML file structure using the self-documented XSD schema file.
As Sphinx provides some autodoc support for some languages, is there an equivalent way to generate some kind of good looking documentation directly from XSD ?
NB: we use Sphinx / ReStructuredText for project documentation.
回答1:
A great XSD documentation generator you can find here: http://www.flexdoc.xyz/flexdoc-xml/xsddoc/
It generates highly detailed XML schema documentation with diagrams:
来源:https://stackoverflow.com/questions/49538195/sphinx-how-to-automatically-generate-documentation-from-xml-schema-xsd