Skip to content

Commit

Permalink
doc: Reorganize the docs
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
d3zd3z committed Sep 12, 2024
1 parent ef14dea commit a1611dc
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,11 +55,21 @@ jobs:
ln -s ../../build/rust/sample-cargo-config.toml config.toml
cd ..
cargo doc
cd ..
mkdir docout
mv zephyr-rust-lang-build/rust/target/thumbv7em-none-eabi/doc docout/nostd
- name: Build build documentation
working-directory: zephyr-rust-lang
run: |
cd zephyr-build
cargo doc
mv target/doc ../docout/std
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: zephyr-rust-lang/build/rust/target/thumbv7em-none-eabi/doc
path: zephyr-rust-lang/docout

deploy:
needs: generate-docs
Expand Down

0 comments on commit a1611dc

Please sign in to comment.