[domain:cpp] is it currently possible to document a struct?

15 views
Skip to first unread message

Stephen McDowell

unread,
Feb 16, 2018, 6:39:51 PM2/16/18
to sphin...@googlegroups.com
The .. cpp:class:: directive (http://www.sphinx-doc.org/en/stable/domains.html#directive-cpp:class) will always produce class in the signature.  I’ve been staring at the code for a while, but I can’t figure out how to get `struct` to appear in the documentation instead of `class`.  This line seemed relevant:


But I think that only applies to template parameters?

Thanks for any suggestions!

-Stephen



Reply all
Reply to author
Forward
0 new messages