How to set :annotation: option as default for autodata directive
28 views
Skip to first unread message
Jeff Lerman
unread,
Jul 6, 2021, 7:31:25 PM7/6/21
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
Sign in to 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,
I'm using sphinx with sphinx-apidoc (though that part might be irrelevant, except that it means my *.rst files are automatically generated so I can't manually tweak them) and trying to figure out how to tell sphinx to use the :anotation: option for all autodata calls. I can't find a place to set default options like that in conf.py. Any pointers?
Thanks,
--Jeff
Komiya Takeshi
unread,
Aug 1, 2021, 1:34:35 PM8/1/21
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
Sign in to 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 way to set `:annotation:` option for all autodata
directives. I can't imagine what you'd like to do because I think
giving the same right-hand value to all variables is meaningless to
me. Could you let me your goal in detail?