Skip to content

Commit 9d90426

Browse files
committed
doc: Reorganize the docs
Create a top-level directory for docs, which will have 'std' and 'nostd' under it, to cover the docs that work with std, and the ones that don't. Signed-off-by: David Brown <[email protected]>
1 parent e120b2f commit 9d90426

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/docs.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,21 @@ jobs:
5555
ln -s ../../build/rust/sample-cargo-config.toml config.toml
5656
cd ..
5757
cargo doc
58+
cd ..
59+
mkdir docout
60+
mv zephyr-rust-lang-build/rust/target/thumbv7em-none-eabi/doc docout/nostd
61+
62+
- name: Build build documentation
63+
working-directory: zephyr-rust-lang
64+
run: |
65+
cd zephyr-build
66+
cargo doc
67+
mv target/doc ../docout/std
5868
5969
- name: Upload artifact
6070
uses: actions/upload-pages-artifact@v3
6171
with:
62-
path: zephyr-rust-lang/build/rust/target/thumbv7em-none-eabi/doc
72+
path: zephyr-rust-lang/docout
6373

6474
deploy:
6575
needs: generate-docs

0 commit comments

Comments
 (0)