The Doxygen documentation says about \ includeoc: "This command works the same as \ includeoc , but it will include the contents of the file as if it were in the place where this command is called."
So I set up EXAMPLE_PATH = includepages(Doxyfile) and created a file with a name test.doxin the includepagesfolder includepages.
To ensure proper use, this content test.dox:
THIS IS AN OTHER TEST
Here is how I include this page:
* \include test.dox
*
* \includedoc test.dox
This will lead to:

As you can see, it \include test.doxworks as expected. Not test.doxa single part of the file test.dox( THIS IS AN OTHER TEST). But instead of typing, THIS IS A TEST \includedoc test.doxprints the file name? I can’t understand what’s wrong.
(SuSE Leap 42.2)
Linux twa 4.4.74-18.20-default
1.8.11
dot - graphviz version 2.38.0 (20140413.2041)