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:
Guillaume Revaillot
2019-02-17 17:55:04 +01:00
committed by Karl Palsson
parent ebe8c4a66c
commit bdc38eed16
67 changed files with 121 additions and 6115 deletions

7
doc/templates/Doxyfile_Device vendored Normal file
View 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