我在.doxy文件中设置了以下几行:
EXTRACT_ALL = NO
HIDE_UNDOC_MEMBERS = YES
HIDE_UNDOC_CLASSES = YES
我的c#类具有以下结构:
public class Foo {
public Bar bar { get; set; }
...
}
// @cond Beta
public class Bar {
...
}
// @endcond
未在ENABLED_SECTIONS行中设置测试版。
这里的问题是bar属性显示在Foo的页面上。 @cond注释可以有效地禁止Bar拥有自己的页面,因此,由于HIDE_UNDOC_MEMBERS设置为YES,不应将Bar视为“未记录”并从Foo的页面隐藏吗?
doxygen -x的结果:
C:\Users\mille>doxygen -x "D:\Company\Sandbox\Proj9.4\Proj\Api.DocGenerator\doxy\Proj API.doxy"
# Difference with default Doxyfile 1.8.15
PROJECT_NAME = "Proj API"
PROJECT_BRIEF = "Web services for communicating with Proj"
PROJECT_LOGO = ../../Api.WebService/devhelp/logo_Proj.png
OUTPUT_DIRECTORY = ../DocFiles
SUBGROUPING = NO
EXTRACT_PACKAGE = YES
EXTRACT_STATIC = YES
HIDE_UNDOC_MEMBERS = YES
HIDE_UNDOC_CLASSES = YES
SHOW_INCLUDE_FILES = NO
SHOW_USED_FILES = NO
SHOW_FILES = NO
INPUT = ../../Api
FILE_PATTERNS = *.c \x
*.cc \
*.cxx \
*.cpp \
*.c++ \
*.d \
*.java \
*.ii \
*.ixx \
*.ipp \
*.i++ \
*.inl \
*.h \
*.hh \
*.hxx \
*.hpp \
*.h++ \
*.idl \
*.odl \
*.cs \
*.php \
*.php3 \
*.inc \
*.m \
*.markdown \
*.md \
*.mm \
*.dox \
*.py \
*.f90 \
*.f \
*.for \
*.vhd \
*.vhdl
RECURSIVE = YES
EXCLUDE = ../../Api/XmlSerialization.cs
EXCLUDE_PATTERNS = *Service.cs \
*Plugin.cs \
*Validation/* \
*Filters/*
USE_MDFILE_AS_MAINPAGE = readme.md
HTML_OUTPUT = docs
HTML_COLORSTYLE_HUE = 354
HTML_TIMESTAMP = YES
HTML_DYNAMIC_SECTIONS = YES
ENUM_VALUES_PER_LINE = 1
MATHJAX_RELPATH = http://cdn.mathjax.org/mathjax/latest
GENERATE_LATEX = NO
LATEX_CMD_NAME = latex
RTF_HYPERLINKS = YES
谢谢