Dear Fede,

Happy that you found the problem.

Based on your observations, I've adjusted, as a proposed patch, the message
that doxygen gives in case of multiple mainpages by adding the name of the
first found mainpage as well.
(pull request 317 at github)

Albert

On Wed, Mar 18, 2015 at 9:06 PM, Federico Prat Villar <fp...@uji.es> wrote:

> Thank you very much for your attention, Albert, and sorry.
> I have found my error by trying to prepare the stripped
> down version you asked for.
>
> The problem:
>
> * README.md was marked as "Copy always" in the Visual Studio
>   project. So it was duplicated inside the "bin" project folder.
>
> * Moreover, the RECURSIVE tag value was YES in my Doxyfile.
>
> Don't make the same mistake I did, people!
>
>       Fede
>
> On 17/03/15 19:15, Albert wrote:
>
>> Fede,
>>
>> I'm not able to reproduce your problem. Could you be a bit more specific
>> about the settings in the Doxyfile and in README.md, preferably a
>> stripped down version of your project or an example project that shows
>> the problem.
>>
>> Albert
>>
>> On Mon, Mar 16, 2015 at 11:43 PM, Federico Prat Villar <fp...@uji.es
>> <mailto:fp...@uji.es>> wrote:
>>
>>     Hello!
>>
>>         I'm an absolute newcomer trying to document a library with
>>     Doxygen. I get a WARNING when compiling and I'd like to know
>>     what it means and how to avoid it. To be fair, the warning is
>>     about "mainpage" and I don't find anything wrong in the main
>>     page of the generated documentation, but anyway I don't feel
>>     comfortable not understanding what's happening. The message is
>>     as follows:
>>
>>         README.md:1: warning: found more than one \mainpage comment block!
>>         Skipping this block.
>>
>>     And some contextual info, just in case it can be useful:
>>
>>     * Windows 7
>>     * Visual Studio 2012
>>     * C#
>>
>>     * Doxygen version is 1.8.9.1.
>>
>>     * I've got this line in the configuration file:
>>
>>         USE_MDFILE_AS_MAINPAGE = README.md
>>
>>         And, of course, a README.md file.
>>
>>     * AFAIK, I've got no \mainpage explicit command in my source
>>         files.
>>
>>     Any idea?
>>
>>     Thanks. And sorry if the question is trivial, but I haven't been
>>     able to find a solution by googling. Maybe because I'm still lacking
>>     some main concepts involved in Doxygen usage. :(
>>
>>              Fede
>>
>>     ------------------------------------------------------------
>> ------------------
>>     Dive into the World of Parallel Programming The Go Parallel Website,
>>     sponsored
>>     by Intel and developed in partnership with Slashdot Media, is your
>>     hub for all
>>     things parallel software development, from weekly thought leadership
>>     blogs to
>>     news, videos, case studies, tutorials and more. Take a look and join
>> the
>>     conversation now. http://goparallel.sourceforge.net/
>>     _______________________________________________
>>     Doxygen-users mailing list
>>     Doxygen-users@lists.sourceforge.net
>>     <mailto:Doxygen-users@lists.sourceforge.net>
>>     https://lists.sourceforge.net/lists/listinfo/doxygen-users
>>
>>
>>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Doxygen-users mailing list
Doxygen-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Reply via email to