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
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
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?

Thanks,
Takeshi KOMIYA

2021年7月7日(水) 8:31 Jeff Lerman <je...@sironamedical.com>:
> --
> You received this message because you are subscribed to the Google Groups "sphinx-users" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sphinx-users...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sphinx-users/a010737a-2307-4a2c-8ad3-562fd5fbfb45n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages