Skip to content

Update README.md

Update README.md #41

Workflow file for this run

name: Rustdoc
on:
push:
branches: [ "develop" ]
env:
CARGO_TERM_COLOR: always
jobs:
rustdoc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Rust toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
profile: minimal
override: true
components: rustfmt, rust-src
- name: Build Documentation
run: |
cd system
cargo doc --no-deps --target x86_64-unknown-none.json -p kernel -p megstd -p meggl -p bootprot
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./system/target/x86_64-unknown-none/doc
force_orphan: true