blob: b601e8d50ea65d04ad171af1b77c26651675b29f [file] [log] [blame]
Sam Elliottb6745d32020-04-08 21:46:28 +01001#---------------------------------------------------------------------------
2# Project related configuration options
3#---------------------------------------------------------------------------
4
5PROJECT_NAME = "Software APIs"
6PROJECT_LOGO = "$(SRCTREE_TOP)/doc/opentitan-logo.png"
7
8OUTPUT_DIRECTORY = "$(DOXYGEN_OUT)"
9ALLOW_UNICODE_NAMES = YES
10
11JAVADOC_AUTOBRIEF = YES
12
13STRIP_FROM_INC_PATH = "$(SRCTREE_TOP)"
14
15TAB_SIZE = 2
16
17OPTIMIZE_OUTPUT_FOR_C = YES
18
19# We use .c and .h for C
20EXTENSION_MAPPING = h=C c=C
21
22INLINE_SIMPLE_STRUCTS = YES
23
24# This doesn't work for enums
25TYPEDEF_HIDES_STRUCT = NO
26
27#---------------------------------------------------------------------------
28# Build related configuration options
29#---------------------------------------------------------------------------
30
31EXTRACT_ANON_NSPACES = YES
32HIDE_IN_BODY_DOCS = YES
33INTERNAL_DOCS = NO
34CASE_SENSE_NAMES = NO
35
36FORCE_LOCAL_INCLUDES = NO
37STRIP_FROM_INC_PATH = "$(SRCTREE_TOP)" \
38 "$(SRCTREE_TOP)/sw/device/lib/base/freestanding"
39
40GENERATE_TODOLIST = NO
41GENERATE_TESTLIST = NO
42GENERATE_BUGLIST = NO
43
44SHOW_USED_FILES = NO
45SHOW_NAMESPACES = NO
46
Sam Elliott10d86982020-08-24 18:39:17 +010047FILE_VERSION_FILTER = "git -C '$(SRCTREE_TOP)' log --format='%h' -1 --"
Sam Elliottb6745d32020-04-08 21:46:28 +010048
49LAYOUT_FILE = "$(SRCTREE_TOP)/site/docs/doxygen/layout.xml"
50
51#---------------------------------------------------------------------------
52# Configuration options related to warning and progress messages
53#---------------------------------------------------------------------------
54
55QUIET = YES
56WARN_LOGFILE = "$(DOXYGEN_OUT)/doxygen_warnings.log"
57
58#---------------------------------------------------------------------------
59# Configuration options related to the input files
60#---------------------------------------------------------------------------
61
62# Absolute path using $(SRCTREE_TOP)
63INPUT = "$(SRCTREE_TOP)/sw" \
Sam Elliott2c6684c2020-08-24 18:49:54 +010064 "$(SRCTREE_TOP)/hw/top_earlgrey/sw" \
Sam Elliottb6745d32020-04-08 21:46:28 +010065 "$(SRCTREE_TOP)/site/docs/doxygen/main_page.md"
66
67USE_MDFILE_AS_MAINPAGE = "$(SRCTREE_TOP)/site/docs/doxygen/main_page.md"
68
69FILE_PATTERNS = *.h \
70 *.c \
71 *.cc
72
73RECURSIVE = YES
74
75# Absolute paths using $(SRCTREE_TOP)
76EXCLUDE = "$(SRCTREE_TOP)/sw/vendor" \
77 "$(SRCTREE_TOP)/sw/device/benchmarks" \
78 "$(SRCTREE_TOP)/sw/host/vendor"
79
80EXCLUDE_SYMLINKS = YES
81
82# Absolute path using $(SRCTREE_TOP)
83IMAGE_PATH = "$(SRCTREE_TOP)/site/docs/doxygen"
84
85#---------------------------------------------------------------------------
86# Configuration options related to source browsing
87#---------------------------------------------------------------------------
88
89SOURCE_BROWSER = YES
90STRIP_CODE_COMMENTS = NO
91
92REFERENCES_LINK_SOURCE = NO
93
94SOURCE_TOOLTIPS = NO
95
96#---------------------------------------------------------------------------
97# Configuration options related to the alphabetical class index
98#---------------------------------------------------------------------------
99
100COLS_IN_ALPHA_INDEX = 2
101
102#---------------------------------------------------------------------------
103# Configuration options related to the HTML output
104#---------------------------------------------------------------------------
105
106GENERATE_HTML = YES
107
108# Relative to `OUTPUT_DIRECTORY`
109HTML_OUTPUT = "public-api/sw/apis"
110
111# Absolute paths using $(SRCTREE_TOP)
112HTML_HEADER = "$(SRCTREE_TOP)/site/docs/doxygen/header.html"
113HTML_FOOTER = "$(SRCTREE_TOP)/site/docs/doxygen/footer.html"
114
115HTML_COLORSTYLE_HUE = 271
116
117HTML_TIMESTAMP = NO
118
Sam Elliottf7609bb2020-07-08 16:41:01 +0100119# Disable Dynamic Functionality
120HTML_DYNAMIC_SECTIONS = NO
121HTML_INDEX_NUM_ENTRIES = 0
122
Sam Elliottb6745d32020-04-08 21:46:28 +0100123GENERATE_DOCSET = NO
124GENERATE_HTMLHELP = NO
125GENERATE_QHP = NO
126GENERATE_ECLIPSEHELP = NO
127
128ENUM_VALUES_PER_LINE = 1
129
130SEARCHENGINE = NO
131
132#---------------------------------------------------------------------------
133# Configuration options related to the LaTeX output
134#---------------------------------------------------------------------------
135
136GENERATE_LATEX = NO
137
138#---------------------------------------------------------------------------
139# Configuration options related to the RTF output
140#---------------------------------------------------------------------------
141
142GENERATE_RTF = NO
143
144#---------------------------------------------------------------------------
145# Configuration options related to the man page output
146#---------------------------------------------------------------------------
147
148GENERATE_MAN = NO
149
150#---------------------------------------------------------------------------
151# Configuration options related to the XML output
152#---------------------------------------------------------------------------
153
154GENERATE_XML = YES
155
156# Relative to `OUTPUT_DIRECTORY`
157XML_OUTPUT = "api-xml"
158
159XML_PROGRAMLISTING = NO
160
161#---------------------------------------------------------------------------
162# Configuration options related to the DOCBOOK output
163#---------------------------------------------------------------------------
164
165GENERATE_DOCBOOK = NO
166
167#---------------------------------------------------------------------------
168# Configuration options for the AutoGen Definitions output
169#---------------------------------------------------------------------------
170
171GENERATE_AUTOGEN_DEF = NO
172
173#---------------------------------------------------------------------------
174# Configuration options related to the Perl module output
175#---------------------------------------------------------------------------
176
177GENERATE_PERLMOD = NO
178
179#---------------------------------------------------------------------------
180# Configuration options related to the preprocessor
181#---------------------------------------------------------------------------
182
183INCLUDE_PATH = "$(SRCTREE_TOP)/sw/device/lib/base/freestanding"
184
185INCLUDE_FILE_PATTERNS = *.h
186
187PREDEFINED =
188EXPAND_AS_DEFINED =
189
190SKIP_FUNCTION_MACROS = YES
191
192#---------------------------------------------------------------------------
193# Configuration options related to the dot tool
194#---------------------------------------------------------------------------
195
196CLASS_DIAGRAMS = NO
197
198HAVE_DOT = NO
199CLASS_GRAPH = NO
200COLLABORATION_GRAPH = NO
201GROUP_GRAPHS = NO
202INCLUDE_GRAPH = NO
203INCLUDED_BY_GRAPH = NO
204GRAPHICAL_HIERARCHY = NO
205DIRECTORY_GRAPH = NO