doc: attempt to get rid of doxygenlayouts and doxyfiles.
Generate doc root doxygenlayout file, as well as devices stuff, based on main Makefile $(TARGETS) and template files. Avoids painfull sync/merge of 20 files+ when adding a new device. bonus : allow to build only one device doc easily (make TARGETS=stm32f0 doc) regression: we currently loose device "fancy" naming as device name is guessed (toUpper()..) from folder name.
This commit is contained in:
committed by
Karl Palsson
parent
ebe8c4a66c
commit
bdc38eed16
7
doc/templates/Doxyfile_Device
vendored
Normal file
7
doc/templates/Doxyfile_Device
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
@INCLUDE = ../Doxyfile_common
|
||||
INPUT = ../../include/libopencm3/license.dox
|
||||
@INCLUDE = doxy.sourcelist
|
||||
WARN_LOGFILE = doxygen_#device#.log
|
||||
LAYOUT_FILE = DoxygenLayout_#device#.xml
|
||||
GENERATE_TAGFILE = #device#.tag
|
||||
ENABLE_PREPROCESSING = YES
|
||||
Reference in New Issue
Block a user