diff --git a/.github/scripts/build_docs.sh b/.github/scripts/build_docs.sh deleted file mode 100755 index 3c8b69a2e..000000000 --- a/.github/scripts/build_docs.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -# Extract the package version from `esp-hal` (using arcane methods): -PKG_VERSION=$( - cargo metadata --format-version=1 --no-deps --manifest-path=esp-hal/Cargo.toml \ - | jq -r '.packages[] | select(.name=="esp-hal") | .version' -) - -# Build the documentation for each supported cheap, namespacing by -# package version and chip: -CHIPS=("esp32" "esp32c2" "esp32c3" "esp32c6" "esp32h2" "esp32p4" "esp32s2" "esp32s3") - -for CHIP in "${CHIPS[@]}"; do - cargo xtask build-documentation \ - --output-path="docs/esp-hal/$PKG_VERSION"/"$CHIP"/ \ - esp-hal \ - "$CHIP" -done - -# Copy any additional resources (such as the index and our logo) -# to the location of the built documentation as well: -cp resources/esp-rs.svg docs/ -cp resources/index.html docs/ diff --git a/.github/workflows/documentation.yml b/.github/workflows/documentation.yml index 5e9ddd10b..079a561f6 100644 --- a/.github/workflows/documentation.yml +++ b/.github/workflows/documentation.yml @@ -17,7 +17,7 @@ jobs: ldproxy: false - name: Build documentation - run: ./.github/scripts/build_docs.sh + run: cargo xtask build-documentation esp-hal # https://github.com/actions/deploy-pages/issues/303#issuecomment-1951207879 - name: Remove problematic '.lock' files diff --git a/resources/index.html b/resources/index.html deleted file mode 100644 index 25a0b2e7b..000000000 --- a/resources/index.html +++ /dev/null @@ -1,139 +0,0 @@ - - -
- - - -