Hi all --
We are defining an integration SDK that includes some fairly
involved parameter files, currently formatted in YAML syntax. I’d like to provide
“sample code” for these configurations (i.e. sample configuration files) as
well as detailed technical documentation on the format requirements (data type
constraints, etc). We are not wed to the YAML format yet, so if another roughly
equivalent format (e.g. JSON) is well-supported in Sphinx we’d consider
switching as getting the documentation in good shape to encourage adoption by
developers is a key goal.
Are there any Sphinx approaches for documenting data structures or parameter / configuration files like this?
Thanks in advance!
Ramon
Are there any Sphinx approaches for documenting data structures or parameter / configuration files like this?
(r'//.*?\n', Comment.Single),(r'/\*.*?\*/', Comment.Multiline)
.. comment identifying the service Class that defines the structure
Hi Viktor --Thank you for the detailed write up -- this sounds very close to what we are looking for. I take it you were able to extend the existing JSON support for this, so we'd need to presumeably implement a YAML parser to take a similar approach. Do you happen to know if anyone is working on something like this?
.. code-block:: yaml