Custom tags with Doxygen

后端 未结 3 868
借酒劲吻你
借酒劲吻你 2020-12-02 05:21

I am trying to figure out if there is a way to create a custom tag using Doxygen. I did find the ALIAS configuration file option but that does not do exactly what I need. Ba

3条回答
  •  無奈伤痛
    2020-12-02 06:02

    The generalization of \bug and \todo is \xrefitem.

    The solution I suggest is:

    • in Doxyfile:

      ALIASES += "req=\xrefitem req \"Requirement\" \"Requirements\" "
      
    • in documented code:

      /// \req #42 - The system shall work in any situation
      

提交回复
热议问题