Repository navigation
Commit fe088f0
conf: switch breathe to import into cpp domain
Cpp domain provides much better formatting in Sphinx.
Initialized enum items are correctly displayed, pointer to functions
typedef-ed in place also works fine.
Other projects also tend to use cpp domain for import from C headers.
With this commit, breathe stops enforcing C and this seems to be enough for
consistent import. Running breathe with different options I found that it
imports everything into cpp domain w/o extra options, cpp seems to be the
default one, and the output is correct (see also breathe-doc/breathe#282
(comment)). Note that doxygen always outputs <compounddef id="component_8h"
kind="file" language="C++">. The doxygen is already configured with
OPTIMIZE_OUTPUT_FOR_C = YES and adding EXTENSION_MAPPING = h=C does not
make any difference too.
Signed-off-by: Marcin Maka <marcin.maka@linux.intel.com>1 parent 17a327b commit fe088f0
1 file changed
Lines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
194 | | - | |
195 | | - | |
196 | | - | |
0 commit comments