[tor-commits] [tor/master] Doxygen: accept .dox as pure doxygen, and interpret everything as C

nickm at torproject.org nickm at torproject.org
Mon Nov 4 13:39:42 UTC 2019


commit 7ec314a67f8465a6ccfa4bbc91dc4ebed0c68693
Author: Nick Mathewson <nickm at torproject.org>
Date:   Sat Nov 2 17:24:59 2019 -0400

    Doxygen: accept .dox as pure doxygen, and interpret everything as C
---
 Doxyfile.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Doxyfile.in b/Doxyfile.in
index f2c98bbf4..b69f95eba 100644
--- a/Doxyfile.in
+++ b/Doxyfile.in
@@ -316,7 +316,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      =
+EXTENSION_MAPPING      = dox=C h=C c=C
 
 # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
 # according to the Markdown format, which allows for more readable
@@ -845,7 +845,8 @@ INPUT_ENCODING         = UTF-8
 # *.f, *.for, *.tcl, *.vhd, *.vhdl, *.ucf, *.qsf and *.ice.
 
 FILE_PATTERNS          = *.c \
-                         *.h
+                         *.h \
+                         *.dox
 
 # The RECURSIVE tag can be used to specify whether or not subdirectories should
 # be searched for input files as well.





More information about the tor-commits mailing list