You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx-users
Hi,
we're using Sphinx to document a C interface. I would like to get a list of all documented functions, structs, types, etc, generated and output
to a file in YAML/JSON or similar in order to use this to automatically check API stability by comparing to previous releases.
Is this possible somehow?
Thanks,
Matias
Komiya Takeshi
unread,
Sep 12, 2020, 12:30:30 PM9/12/20
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to sphinx...@googlegroups.com
Hi,
There is no such feature. You need to write a code to extract data from Sphinx.
This is an example code to get the list of C objects. Please append
this into your conf.py.
```
def on_env_check_consistency(app, env):
domain = env.get_domain('c')
for c_object in domain.get_objects():
print(c_object)