Document the local development bootstrap flow for the backend #1088
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Generate API Documentation | ||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - main | ||
| jobs: | ||
| docs: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Setup Rust | ||
| uses: dtolnay/rust-toolchain@1.84.0 | ||
| - name: Generate Rust docs | ||
| run: cargo doc -p share-price-math --no-deps | ||
| uses: dtolnay/rust-toolchain@1.85.0 | ||
| - name: Generate Rust docs | ||
| run: | | ||
| cargo doc -p share-price-math --no-deps | ||
| cargo doc -p mock-strategy --no-deps | ||
| continue-on-error: false | ||