mirror of
https://github.com/letscontrolit/ESPEasy.git
synced 2026-07-27 19:57:38 +00:00
14 lines
310 B
Bash
14 lines
310 B
Bash
#!/bin/bash
|
|
|
|
# Using https://github.com/ah01/h2md tool to generate documentation.
|
|
|
|
if [ ! -d "h2md/" ];
|
|
then
|
|
git clone https://github.com/jnthas/h2md.git
|
|
cd h2md
|
|
npm install
|
|
cd ..
|
|
fi
|
|
|
|
node h2md/h2md.js ../src/ImprovWiFiLibrary.h -o ImprovWiFiLibrary.md -p cpp -l -f
|
|
[ $? == 0 ] && echo "Done." |