diff --git a/doc/.known-issues/doc/dupdecl.conf b/doc/.known-issues/doc/dupdecl.conf index c71875da3..33873b5be 100644 --- a/doc/.known-issues/doc/dupdecl.conf +++ b/doc/.known-issues/doc/dupdecl.conf @@ -6,5 +6,7 @@ # Sphinx 2.0 ^(?P[-._/\w]+/hld/[-._/\w]+.rst):(?P[0-9]+): WARNING: Duplicate declaration, .* # +^(?P[-._/\w]+/hld/[-._/\w]+.rst):(?P[0-9]+): WARNING: duplicate C object description.* +# ^(?P[-._/\w]+/hld/[-._/\w]+.rst):(?P[0-9]+): WARNING: Duplicate C\+\+ declaration, .* ^Declaration is .* diff --git a/doc/conf.py b/doc/conf.py index e00ec5c92..140a83347 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -318,7 +318,21 @@ breathe_projects = { "Project ACRN" : "doxygen/xml", } breathe_default_project = "Project ACRN" -breathe_default_members = ('members', 'undoc-members', 'content-only') +# breathe_default_members = ('members', 'undoc-members', 'content-only') +breathe_domain_by_extension = { + "h": "c", + "c": "c", +} + +cpp_id_attributes = [ + '__syscall', '__deprecated', '__may_alias', + '__used', '__unused', '__weak', + '__DEPRECATED_MACRO', 'FUNC_NORETURN', + '__subsystem', +] +c_id_attributes = cpp_id_attributes + + # Custom added feature to allow redirecting old URLs (caused by