Skip to content

Commit 953905a

Browse files
committed
CI: Update for new rustdoc
Use the new rustdoc target instead of trying to recreate the environment. Signed-off-by: David Brown <[email protected]>
1 parent 724e80e commit 953905a

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -50,17 +50,7 @@ jobs:
5050
working-directory: zephyr-rust-lang/docgen
5151
run: |
5252
# Note that the above build doesn't set Zephyrbase, so we'll need to do that here.
53-
source ../../zephyr/zephyr-env.sh
54-
rm -rf .cargo
55-
mkdir .cargo
56-
cd .cargo
57-
ln -s ../../build/rust/sample-cargo-config.toml config.toml
58-
cat config.toml
59-
cd ..
60-
pwd
61-
ls -l
62-
cargo doc
63-
cd ..
53+
west build -t rustdoc -b nrf52840dk/nrf52840 docgen
6454
mkdir docout
6555
mv build/rust/target/thumbv7em-none-eabi/doc docout/nostd
6656
cp docs/top-index.html docout/index.html

0 commit comments

Comments
 (0)