How to tell doxygen to use /** as class doc instead /*! classHow can I prevent SQL injection in PHP?How do I get PHP errors to display?How do I get a YouTube video thumbnail from the YouTube API?How do you parse and process HTML/XML in PHP?How do I check if a string contains a specific word?Structuring documentation when using DoxygenHow does PHP 'foreach' actually work?Objective-C Documentation Generators: HeaderDoc vs. Doxygen vs. AppleDocHow do I include multiple paragraphs in the “remarks” section using Doxygen?How to use Doxygen and Doxygen::Filter::Perl to generate documentation for Perl sub routines?

What is the meaning of "it" in "as luck would have it"?

Tricolour nonogram

Why doesn't SpaceX land boosters in Africa?

Multiple tests with effects all in same direction but only few significant

Why isn't UDP with reliability (implemented at Application layer) a substitute of TCP?

Having to constantly redo everything because I don't know how to do it

Could you fall off a planet if it was being accelerated by engines?

How useful would a hydroelectric power plant be in the post-apocalypse world?

Angle Between Two Vectors Facing A Point

Why are symbols not written in words?

My mom helped me cosign a car and now she wants to take it

What is this fluorinated organic substance?

Why are examinees often not allowed to leave during the start and end of an exam?

Is there a word for the act of simultaneously pulling and twisting an object?

How to count the number of bytes in a file, grouping the same bytes?

How to stop QGIS from looking for the wrong PostgreSQL host address in an existing workproject?

Did NASA distinguish between the space shuttle cockpit and flight deck?

Odd PCB Layout for Voltage Regulator

How can this fractal shape perfectly cover a certain platonic solid?

Do electrons really perform instantaneous quantum leaps?

Understanding the as-if rule, "the program was executed as written"

What could a Medieval society do with excess animal blood?

What happens if a caster is surprised while casting a spell with a long casting time?

How to track mail undetectably?



How to tell doxygen to use /** as class doc instead /*! class


How can I prevent SQL injection in PHP?How do I get PHP errors to display?How do I get a YouTube video thumbnail from the YouTube API?How do you parse and process HTML/XML in PHP?How do I check if a string contains a specific word?Structuring documentation when using DoxygenHow does PHP 'foreach' actually work?Objective-C Documentation Generators: HeaderDoc vs. Doxygen vs. AppleDocHow do I include multiple paragraphs in the “remarks” section using Doxygen?How to use Doxygen and Doxygen::Filter::Perl to generate documentation for Perl sub routines?













1















I'm trying to switch from phpDocumentor to doxygen, but all my classes are documented in the following style:



/**
* DESCRIPTION
*
* @category PHP
* @package UserManagement.Class
* @author Name <email@company.com>
* @copyright 2011 Company
* @link http://www.company.com
*/


but doxygen does not recognize that as the class doc unless I change the first line to



/*! class CLASSNAME


Is there a way to tell doxygen to use the "/**" style?



regards










share|improve this question
























  • Sort of off-topic; but if you're sick of PHPDocumentor - like I am - you might want to consider looking at DocBlox instead.

    – Berry Langerak
    Jun 6 '11 at 14:07
















1















I'm trying to switch from phpDocumentor to doxygen, but all my classes are documented in the following style:



/**
* DESCRIPTION
*
* @category PHP
* @package UserManagement.Class
* @author Name <email@company.com>
* @copyright 2011 Company
* @link http://www.company.com
*/


but doxygen does not recognize that as the class doc unless I change the first line to



/*! class CLASSNAME


Is there a way to tell doxygen to use the "/**" style?



regards










share|improve this question
























  • Sort of off-topic; but if you're sick of PHPDocumentor - like I am - you might want to consider looking at DocBlox instead.

    – Berry Langerak
    Jun 6 '11 at 14:07














1












1








1








I'm trying to switch from phpDocumentor to doxygen, but all my classes are documented in the following style:



/**
* DESCRIPTION
*
* @category PHP
* @package UserManagement.Class
* @author Name <email@company.com>
* @copyright 2011 Company
* @link http://www.company.com
*/


but doxygen does not recognize that as the class doc unless I change the first line to



/*! class CLASSNAME


Is there a way to tell doxygen to use the "/**" style?



regards










share|improve this question
















I'm trying to switch from phpDocumentor to doxygen, but all my classes are documented in the following style:



/**
* DESCRIPTION
*
* @category PHP
* @package UserManagement.Class
* @author Name <email@company.com>
* @copyright 2011 Company
* @link http://www.company.com
*/


but doxygen does not recognize that as the class doc unless I change the first line to



/*! class CLASSNAME


Is there a way to tell doxygen to use the "/**" style?



regards







php doxygen






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jul 3 '14 at 6:40









Ikar Pohorský

1,4842 gold badges15 silver badges35 bronze badges




1,4842 gold badges15 silver badges35 bronze badges










asked Jun 6 '11 at 13:53









ChrFinChrFin

18.2k9 gold badges55 silver badges92 bronze badges




18.2k9 gold badges55 silver badges92 bronze badges












  • Sort of off-topic; but if you're sick of PHPDocumentor - like I am - you might want to consider looking at DocBlox instead.

    – Berry Langerak
    Jun 6 '11 at 14:07


















  • Sort of off-topic; but if you're sick of PHPDocumentor - like I am - you might want to consider looking at DocBlox instead.

    – Berry Langerak
    Jun 6 '11 at 14:07

















Sort of off-topic; but if you're sick of PHPDocumentor - like I am - you might want to consider looking at DocBlox instead.

– Berry Langerak
Jun 6 '11 at 14:07






Sort of off-topic; but if you're sick of PHPDocumentor - like I am - you might want to consider looking at DocBlox instead.

– Berry Langerak
Jun 6 '11 at 14:07











3 Answers
3






active

oldest

votes


















2














I found the problem (but not the real solution): Doxygen does not like the @category & @package in the class doc block. If I remove them it works.






share|improve this answer























  • if you are on PHP 5.3 you should be able to use namespacing to provide this functionality (a bit of a hack but will probably provide the functionality you need) of course depending on situation this may/may not be possible with what you have

    – JoshB
    Jun 27 '11 at 16:56











  • In fact if @category and/or @package are present the class detailed description can be found in the Namespaces section in generated documentation.

    – Ikar Pohorský
    Jul 3 '14 at 6:54


















2














Doxygen should recognise JavaDoc (i.e. /**) comments. The problem maybe that your short description aren't being auto-detected.



To make Doxygen use these short descriptions you need to set JAVADOC_AUTOBRIEF to YES in your config file.



For more on how Doxygen documentation style have a look at this






share|improve this answer

























  • JAVADOC_AUTOBRIEF is enabled and it does recognise them for functions but not for classes. So the "Detailed Description" of the documentation is empty.

    – ChrFin
    Jun 6 '11 at 15:55











  • @chrfin what does it display then for classes?

    – JoshB
    Jun 6 '11 at 16:28











  • Nothing: Detailed Description Definition at line 21 of file ...

    – ChrFin
    Jun 6 '11 at 18:18



















1














If for example your co-workers still use phpDoc you can use the INPUT_FILTER configuration to filter unwanted tags away:



$ grep INPUT_FILTER doc/doxygen.config
INPUT_FILTER = /home/gorgo/someproj/doc/doxygen.inputfilter


The inputfilter script must be executable and its content can be something like this:



$ cat doc/doxygen.inputfilter
#!/bin/sh

grep -Fv '@package' $1 | grep -Fv '@category'





share|improve this answer

























    Your Answer






    StackExchange.ifUsing("editor", function ()
    StackExchange.using("externalEditor", function ()
    StackExchange.using("snippets", function ()
    StackExchange.snippets.init();
    );
    );
    , "code-snippets");

    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "1"
    ;
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function()
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled)
    StackExchange.using("snippets", function()
    createEditor();
    );

    else
    createEditor();

    );

    function createEditor()
    StackExchange.prepareEditor(
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader:
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    ,
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f6253064%2fhow-to-tell-doxygen-to-use-as-class-doc-instead-class%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    3 Answers
    3






    active

    oldest

    votes








    3 Answers
    3






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    2














    I found the problem (but not the real solution): Doxygen does not like the @category & @package in the class doc block. If I remove them it works.






    share|improve this answer























    • if you are on PHP 5.3 you should be able to use namespacing to provide this functionality (a bit of a hack but will probably provide the functionality you need) of course depending on situation this may/may not be possible with what you have

      – JoshB
      Jun 27 '11 at 16:56











    • In fact if @category and/or @package are present the class detailed description can be found in the Namespaces section in generated documentation.

      – Ikar Pohorský
      Jul 3 '14 at 6:54















    2














    I found the problem (but not the real solution): Doxygen does not like the @category & @package in the class doc block. If I remove them it works.






    share|improve this answer























    • if you are on PHP 5.3 you should be able to use namespacing to provide this functionality (a bit of a hack but will probably provide the functionality you need) of course depending on situation this may/may not be possible with what you have

      – JoshB
      Jun 27 '11 at 16:56











    • In fact if @category and/or @package are present the class detailed description can be found in the Namespaces section in generated documentation.

      – Ikar Pohorský
      Jul 3 '14 at 6:54













    2












    2








    2







    I found the problem (but not the real solution): Doxygen does not like the @category & @package in the class doc block. If I remove them it works.






    share|improve this answer













    I found the problem (but not the real solution): Doxygen does not like the @category & @package in the class doc block. If I remove them it works.







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Jun 8 '11 at 17:36









    ChrFinChrFin

    18.2k9 gold badges55 silver badges92 bronze badges




    18.2k9 gold badges55 silver badges92 bronze badges












    • if you are on PHP 5.3 you should be able to use namespacing to provide this functionality (a bit of a hack but will probably provide the functionality you need) of course depending on situation this may/may not be possible with what you have

      – JoshB
      Jun 27 '11 at 16:56











    • In fact if @category and/or @package are present the class detailed description can be found in the Namespaces section in generated documentation.

      – Ikar Pohorský
      Jul 3 '14 at 6:54

















    • if you are on PHP 5.3 you should be able to use namespacing to provide this functionality (a bit of a hack but will probably provide the functionality you need) of course depending on situation this may/may not be possible with what you have

      – JoshB
      Jun 27 '11 at 16:56











    • In fact if @category and/or @package are present the class detailed description can be found in the Namespaces section in generated documentation.

      – Ikar Pohorský
      Jul 3 '14 at 6:54
















    if you are on PHP 5.3 you should be able to use namespacing to provide this functionality (a bit of a hack but will probably provide the functionality you need) of course depending on situation this may/may not be possible with what you have

    – JoshB
    Jun 27 '11 at 16:56





    if you are on PHP 5.3 you should be able to use namespacing to provide this functionality (a bit of a hack but will probably provide the functionality you need) of course depending on situation this may/may not be possible with what you have

    – JoshB
    Jun 27 '11 at 16:56













    In fact if @category and/or @package are present the class detailed description can be found in the Namespaces section in generated documentation.

    – Ikar Pohorský
    Jul 3 '14 at 6:54





    In fact if @category and/or @package are present the class detailed description can be found in the Namespaces section in generated documentation.

    – Ikar Pohorský
    Jul 3 '14 at 6:54











    2














    Doxygen should recognise JavaDoc (i.e. /**) comments. The problem maybe that your short description aren't being auto-detected.



    To make Doxygen use these short descriptions you need to set JAVADOC_AUTOBRIEF to YES in your config file.



    For more on how Doxygen documentation style have a look at this






    share|improve this answer

























    • JAVADOC_AUTOBRIEF is enabled and it does recognise them for functions but not for classes. So the "Detailed Description" of the documentation is empty.

      – ChrFin
      Jun 6 '11 at 15:55











    • @chrfin what does it display then for classes?

      – JoshB
      Jun 6 '11 at 16:28











    • Nothing: Detailed Description Definition at line 21 of file ...

      – ChrFin
      Jun 6 '11 at 18:18
















    2














    Doxygen should recognise JavaDoc (i.e. /**) comments. The problem maybe that your short description aren't being auto-detected.



    To make Doxygen use these short descriptions you need to set JAVADOC_AUTOBRIEF to YES in your config file.



    For more on how Doxygen documentation style have a look at this






    share|improve this answer

























    • JAVADOC_AUTOBRIEF is enabled and it does recognise them for functions but not for classes. So the "Detailed Description" of the documentation is empty.

      – ChrFin
      Jun 6 '11 at 15:55











    • @chrfin what does it display then for classes?

      – JoshB
      Jun 6 '11 at 16:28











    • Nothing: Detailed Description Definition at line 21 of file ...

      – ChrFin
      Jun 6 '11 at 18:18














    2












    2








    2







    Doxygen should recognise JavaDoc (i.e. /**) comments. The problem maybe that your short description aren't being auto-detected.



    To make Doxygen use these short descriptions you need to set JAVADOC_AUTOBRIEF to YES in your config file.



    For more on how Doxygen documentation style have a look at this






    share|improve this answer















    Doxygen should recognise JavaDoc (i.e. /**) comments. The problem maybe that your short description aren't being auto-detected.



    To make Doxygen use these short descriptions you need to set JAVADOC_AUTOBRIEF to YES in your config file.



    For more on how Doxygen documentation style have a look at this







    share|improve this answer














    share|improve this answer



    share|improve this answer








    edited Mar 25 at 18:08









    albert

    3,3173 gold badges11 silver badges25 bronze badges




    3,3173 gold badges11 silver badges25 bronze badges










    answered Jun 6 '11 at 15:30









    JoshBJoshB

    5091 gold badge4 silver badges11 bronze badges




    5091 gold badge4 silver badges11 bronze badges












    • JAVADOC_AUTOBRIEF is enabled and it does recognise them for functions but not for classes. So the "Detailed Description" of the documentation is empty.

      – ChrFin
      Jun 6 '11 at 15:55











    • @chrfin what does it display then for classes?

      – JoshB
      Jun 6 '11 at 16:28











    • Nothing: Detailed Description Definition at line 21 of file ...

      – ChrFin
      Jun 6 '11 at 18:18


















    • JAVADOC_AUTOBRIEF is enabled and it does recognise them for functions but not for classes. So the "Detailed Description" of the documentation is empty.

      – ChrFin
      Jun 6 '11 at 15:55











    • @chrfin what does it display then for classes?

      – JoshB
      Jun 6 '11 at 16:28











    • Nothing: Detailed Description Definition at line 21 of file ...

      – ChrFin
      Jun 6 '11 at 18:18

















    JAVADOC_AUTOBRIEF is enabled and it does recognise them for functions but not for classes. So the "Detailed Description" of the documentation is empty.

    – ChrFin
    Jun 6 '11 at 15:55





    JAVADOC_AUTOBRIEF is enabled and it does recognise them for functions but not for classes. So the "Detailed Description" of the documentation is empty.

    – ChrFin
    Jun 6 '11 at 15:55













    @chrfin what does it display then for classes?

    – JoshB
    Jun 6 '11 at 16:28





    @chrfin what does it display then for classes?

    – JoshB
    Jun 6 '11 at 16:28













    Nothing: Detailed Description Definition at line 21 of file ...

    – ChrFin
    Jun 6 '11 at 18:18






    Nothing: Detailed Description Definition at line 21 of file ...

    – ChrFin
    Jun 6 '11 at 18:18












    1














    If for example your co-workers still use phpDoc you can use the INPUT_FILTER configuration to filter unwanted tags away:



    $ grep INPUT_FILTER doc/doxygen.config
    INPUT_FILTER = /home/gorgo/someproj/doc/doxygen.inputfilter


    The inputfilter script must be executable and its content can be something like this:



    $ cat doc/doxygen.inputfilter
    #!/bin/sh

    grep -Fv '@package' $1 | grep -Fv '@category'





    share|improve this answer



























      1














      If for example your co-workers still use phpDoc you can use the INPUT_FILTER configuration to filter unwanted tags away:



      $ grep INPUT_FILTER doc/doxygen.config
      INPUT_FILTER = /home/gorgo/someproj/doc/doxygen.inputfilter


      The inputfilter script must be executable and its content can be something like this:



      $ cat doc/doxygen.inputfilter
      #!/bin/sh

      grep -Fv '@package' $1 | grep -Fv '@category'





      share|improve this answer

























        1












        1








        1







        If for example your co-workers still use phpDoc you can use the INPUT_FILTER configuration to filter unwanted tags away:



        $ grep INPUT_FILTER doc/doxygen.config
        INPUT_FILTER = /home/gorgo/someproj/doc/doxygen.inputfilter


        The inputfilter script must be executable and its content can be something like this:



        $ cat doc/doxygen.inputfilter
        #!/bin/sh

        grep -Fv '@package' $1 | grep -Fv '@category'





        share|improve this answer













        If for example your co-workers still use phpDoc you can use the INPUT_FILTER configuration to filter unwanted tags away:



        $ grep INPUT_FILTER doc/doxygen.config
        INPUT_FILTER = /home/gorgo/someproj/doc/doxygen.inputfilter


        The inputfilter script must be executable and its content can be something like this:



        $ cat doc/doxygen.inputfilter
        #!/bin/sh

        grep -Fv '@package' $1 | grep -Fv '@category'






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jul 26 '13 at 8:57









        Ikar PohorskýIkar Pohorský

        1,4842 gold badges15 silver badges35 bronze badges




        1,4842 gold badges15 silver badges35 bronze badges



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Stack Overflow!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f6253064%2fhow-to-tell-doxygen-to-use-as-class-doc-instead-class%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

            SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

            은진 송씨 목차 역사 본관 분파 인물 조선 왕실과의 인척 관계 집성촌 항렬자 인구 같이 보기 각주 둘러보기 메뉴은진 송씨세종실록 149권, 지리지 충청도 공주목 은진현