diff --git a/.github/workflows/docs-workflow.yaml b/.github/workflows/docs-workflow.yaml index 1fc61f69..4bbe0dbc 100644 --- a/.github/workflows/docs-workflow.yaml +++ b/.github/workflows/docs-workflow.yaml @@ -37,7 +37,7 @@ jobs: run: doxygen astarte-device-sdk-esp32.doxy - name: Copy Docs run: | - export DOCS_DIRNAME="$(echo ${{ github.ref }} | sed 's,refs/heads/,,' | sed 's/master/snapshot/g' | sed 's/release-//g')/device-sdks/esp32" + export DOCS_DIRNAME="device-sdks/esp32/$(echo ${{ github.ref }} | sed 's,refs/heads/,,' | sed 's/master/snapshot/g' | sed 's/release-//g')/api" rm -rf docs/$DOCS_DIRNAME mkdir -p docs/$DOCS_DIRNAME cp -r astarte-device-sdk-esp32/doc/out/html/* docs/$DOCS_DIRNAME/ diff --git a/README.md b/README.md index e0a2405b..89c2aea8 100644 --- a/README.md +++ b/README.md @@ -11,8 +11,8 @@ receive data. ## Documentation -The generated Doxygen documentation is available on the [Astarte Documentation -website](https://docs.astarte-platform.org/1.0/device-sdks/esp32). +The generated Doxygen documentation is available in the [Astarte Documentation +website](https://docs.astarte-platform.org/device-sdks/esp32/latest/api). ## `esp-idf` version compatibility