5 if ! doxygen
-v 2>&1 > /dev
/null
; then
6 echo "doxygen not found! Please install it!"
8 elif ! moxygen
-V 2>&1 > /dev
/null
; then
9 echo -n "moxygen not found! Would you like to install it? [y/n] "
13 npm
install -g moxygen
21 if [ ! -e Doxyfile
]; then
22 echo "Error: You must run this from the top-level qmk_firmware directory!"
26 # Generate the doxygen XML files
30 # Generate the moxygen Markdown files
31 moxygen
-a -g -o docs
/internals_
%s.md doxygen
/xml