forked from espressif/esp-protocols
CI/Docs: Generate docs locally before uploading to registry
This commit is contained in:
1 parent
b9ff1e4e12
commit
2c21aa1113
4 files changed
+20
-30
No files matched your search
@@ -17,9 +17,7 @@ cat ../include/generate/esp_modem_command_declare.inc | clang -E -P -xc -I../in
|
||||
doxygen
|
||||
|
||||
# Generate the docs
|
||||
|
||||
mkdir -p ../../../docs/esp_modem
|
||||
python -u -m sphinx.cmd.build -b html . ../../../docs/esp_modem
|
||||
python -u -m sphinx.cmd.build -b html . html
|
||||
|
||||
# Cleanup the doxygen xml's and temporary headers
|
||||
rm -rf xml esp_modem_api_commands.h esp_modem_dce.hpp cxx_api_links.rst
|
||||
@@ -1,5 +1,8 @@
|
||||
apk add clang g++ doxygen
|
||||
pip install breathe==4.29.0
|
||||
cd components/esp_modem/docs/
|
||||
#!/bin/bash
|
||||
|
||||
apt-get update
|
||||
apt-get -y install doxygen clang python3-pip
|
||||
python -m pip install breathe recommonmark
|
||||
pushd components/esp_modem/docs
|
||||
./generate_docs
|
||||
cd ../../..
|
||||
popd
|
||||
Reference in new issue
Block a user