Skip to content

global symbols are regularly extracted even if not included by include-symbols #1121

@mizvekov

Description

@mizvekov

For an example such as:

include/test.hpp:

struct Baz {};

mrdocs.yml:

verbose: true
source-root: .
input:
  - include
file-patterns:
  - '*.hpp'
include-symbols:
  - 'mrdocs::**'
multipage: false
generator: xml

The following XML is produced:

<mrdocs>
<namespace id="//////////////////////////8=">
  <struct name="Baz" id="+/u4DxnodNEFBQQP6NiTfrWbM64=">
    <file short-path="include/test.hpp" source-path="include/test.hpp" line="1" class="def"/>
  </struct>
</namespace>
</mrdocs>

Where it can be seen Baz is extracted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions