]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Doxygen: expect .md files, not .dox files
authorNick Mathewson <nickm@torproject.org>
Fri, 15 Nov 2019 14:23:10 +0000 (09:23 -0500)
committerNick Mathewson <nickm@torproject.org>
Fri, 15 Nov 2019 14:23:10 +0000 (09:23 -0500)
Also, I have to add src/rust/registry to the excluded paths, since
it includes .md files that Doxygen can't handle.

Doxyfile.in

index c8b85f7508f71a730cd7839c655e76fe5a05dd6d..c99f536e604d319fa9fd0a98b01f2ad5655adbf6 100644 (file)
@@ -320,7 +320,7 @@ OPTIMIZE_OUTPUT_SLICE  = NO
 # Note that for custom extensions you also need to set FILE_PATTERNS otherwise
 # the files are not read by doxygen.
 
-EXTENSION_MAPPING      = dox=md h=C c=C inc=C
+EXTENSION_MAPPING      = dox=md h=C c=C inc=C md=md
 
 # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
 # according to the Markdown format, which allows for more readable
@@ -847,8 +847,8 @@ INPUT_ENCODING         = UTF-8
 
 FILE_PATTERNS          = *.c \
                          *.h \
-                         *.dox \
-                         *.inc
+                         *.inc \
+                         *.md
 
 # The RECURSIVE tag can be used to specify whether or not subdirectories should
 # be searched for input files as well.
@@ -865,7 +865,8 @@ RECURSIVE              = YES
 
 EXCLUDE                = ./src/ext \
                          ./src/trunnel \
-                         ./src/test
+                         ./src/test \
+                         ./src/rust/registry
 
 # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
 # directories that are symbolic links (a Unix file system feature) are excluded