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

            Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

            Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript