From 4bcd5cf611c4974a77275638529f382e4dd92b30 Mon Sep 17 00:00:00 2001 From: Jesse Braham Date: Thu, 7 Mar 2024 17:19:07 +0000 Subject: [PATCH] Tweak the documentation URL slightly (#1250) * Tweak the documentation URL slightly * Ignore locally generated docs --- .github/scripts/build_docs.sh | 2 +- .gitignore | 3 +++ resources/.prettierrc.json | 2 +- resources/index.html | 21 +++++++++------------ 4 files changed, 14 insertions(+), 14 deletions(-) diff --git a/.github/scripts/build_docs.sh b/.github/scripts/build_docs.sh index 7390ab5c3b7..3c8b69a2e83 100755 --- a/.github/scripts/build_docs.sh +++ b/.github/scripts/build_docs.sh @@ -14,7 +14,7 @@ CHIPS=("esp32" "esp32c2" "esp32c3" "esp32c6" "esp32h2" "esp32p4" "esp32s2" "esp3 for CHIP in "${CHIPS[@]}"; do cargo xtask build-documentation \ - --output-path="docs/$PKG_VERSION"/"$CHIP"/ \ + --output-path="docs/esp-hal/$PKG_VERSION"/"$CHIP"/ \ esp-hal \ "$CHIP" done diff --git a/.gitignore b/.gitignore index 0d64b38544d..269180608eb 100644 --- a/.gitignore +++ b/.gitignore @@ -19,3 +19,6 @@ wokwi.toml # We'll ignore VS Code settings (at least for now...) **/.vscode/settings.json + +# Ignore generated documentation +docs/ diff --git a/resources/.prettierrc.json b/resources/.prettierrc.json index 1d43a318a49..acbeeec2716 100644 --- a/resources/.prettierrc.json +++ b/resources/.prettierrc.json @@ -1,4 +1,4 @@ { - "printWidth": 100, + "printWidth": 120, "tabWidth": 2 } diff --git a/resources/index.html b/resources/index.html index 0ae543ac761..fe0570b61da 100644 --- a/resources/index.html +++ b/resources/index.html @@ -7,10 +7,7 @@ esp-rs docs - +
- esp32 + esp32 esp-hal (targeting ESP32) 0.15.0
- esp32c2 + esp32c2 esp-hal (targeting ESP32-C2) 0.15.0
- esp32c3 + esp32c3 esp-hal (targeting ESP32-C3) 0.15.0
- esp32c6 + esp32c6 esp-hal (targeting ESP32-C6) 0.15.0
- esp32h2 + esp32h2 esp-hal (targeting ESP32-H2) 0.15.0
- esp32p4 + esp32p4 esp-hal (targeting ESP32-P4) 0.15.0
- esp32s2 + esp32s2 esp-hal (targeting ESP32-S2) 0.15.0
- esp32s3 + esp32s3 esp-hal (targeting ESP32-S3) 0.15.0