Skip to content

\doxyconfig does not work as an if-argument #11760

@thom-sch

Description

@thom-sch

Describe the bug
Trying to use \doxyconfig to circumvent the restriction of \internal command (which doesn't span over sections):

doxyfile:

INTERNAL_DOCS = YES
ENABLED_SECTIONS = INTERNAL_DOCS_YES

and my mainpage.md:

\if INTERNAL_DOCS_\doxyconfig INTERNAL_DOCS

Some internal documentation

- should be shown if INTERNAL_DOCS == YES
- but always not shown because \doxyconfig seems not to work when used as an if-argument

\endif

To Reproduce
s. attached zip file:

Test35_doxyconfig.zip

Expected behavior
May be this is the intended behavior; but I think it should work as an if-argument, too

Version
Version 1.14.0

Additional context

  • \doxyconfig expands successfully in various use-cases (s. example)
  • The documentation says: "...as used in Doxygen's configuration file...": Because first I run in little trouble it may be helpful to clarify something like: "...i.e. \doxyconfig doesn't expand to the respective default value but to an empty string if <config_option> not used in the configuration file"

Regards from Meerbusch
Thomas Schneider

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions