From 9b7f1ac30ce40ad42c0c5d0c44378f5436a22d10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Tj=C3=A4der?= Date: Thu, 11 Jun 2020 18:34:16 +0000 Subject: [PATCH] Also fix the links in GHA --- .github/workflows/docs.yml | 4 ++-- .github/workflows/publish.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 297bff06ed..1b14aae36b 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -46,8 +46,8 @@ jobs: run: | td=$(mktemp -d) cp -r target/doc $td/api - linkchecker $td/api/rtfm/ - linkchecker $td/api/cortex_m_rtfm_macros/ + linkchecker $td/api/rtic/ + linkchecker $td/api/cortex_m_rtic_macros/ mdbook: runs-on: ubuntu-latest diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7436bf8849..5c534fcf44 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -47,7 +47,7 @@ jobs: cp -r target/doc $td/$latest/api # sed fixes - sed 's|URL|rtfm/index.html|g' redirect.html > $td/$latest/api/index.html + sed 's|URL|rtic/index.html|g' redirect.html > $td/$latest/api/index.html sed 's|URL|0.5|g' redirect.html > $td/index.html sed 's|URL|book/en|g' redirect.html > $td/$latest/index.html @@ -65,13 +65,13 @@ jobs: mkdir -p $td/$prefix/book src=$(mktemp -d) - curl -L https://github.com/rtfm-rs/cortex-m-rtfm/archive/v${ver}.tar.gz | tar xz --strip-components 1 -C $src + curl -L https://github.com/rtic-rs/cortex-m-rtic/archive/v${ver}.tar.gz | tar xz --strip-components 1 -C $src pushd $src rm -f .cargo/config cargo doc || cargo doc --features timer-queue cp -r target/doc $td/$prefix/api - sed 's|URL|rtfm/index.html|g' $root/redirect.html > $td/$prefix/api/index.html + sed 's|URL|rtic/index.html|g' $root/redirect.html > $td/$prefix/api/index.html for lang in ${langs[@]}; do ( cd book/$lang && mdbook build ) cp -r book/$lang/book $td/$prefix/book/$lang