Doxygen with C# internal access modifier

前端 未结 6 1725
故里飘歌
故里飘歌 2021-02-19 10:27

I am using Doxygen to generate some API docs for a C# project I am working on. I have quite a bit of \"internal\" functionality in this project and don\'t want Doxygen producing

6条回答
  •  眼角桃花
    2021-02-19 11:20

    doxygen has several methods to exclude code from the documentation by way of setting options in the configuration file.

    If your methods are private then set EXTRACT_PRIVATE = NO

    You can also specify to exclude patterns, for example, if your private classes are located in a directory called hidden, you can exclude all files in that directory by setting.

    EXCLUDE_PATTERNS = */hidden/* 
    

    Also you can avoid including non documented code by setting.

    HIDE_UNDOC_CLASSES = YES
    

    and

    HIDE_UNDOC_MEMBERS = NO
    

提交回复
热议问题