Skip to content

Commit f7865fa

Browse files
committed
CI: Change doc generation to use a more generic target
Rather than targeting a specific board, use a Qemu target, which should make the docs fairly general. The generated devicetree will be minimal, but users wishing to view these docs should be generating them for a specific build anyway. Signed-off-by: David Brown <[email protected]>
1 parent 848180e commit f7865fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,9 @@ jobs:
4444
working-directory: zephyr-lang-rust
4545
run: |
4646
# Note that the above build doesn't set Zephyrbase, so we'll need to do that here.
47-
west build -t rustdoc -b nrf52840dk/nrf52840 docgen
47+
west build -t rustdoc -b qemu_cortex_m3 docgen
4848
mkdir rustdocs
49-
mv build/rust/target/thumbv7em-none-eabi/doc rustdocs/nostd
49+
mv build/rust/target/thumbv7m-none-eabi/doc rustdocs/nostd
5050
cp docs/top-index.html rustdocs/index.html
5151
5252
- name: Build build documentation

0 commit comments

Comments
 (0)