diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml index fc9330fb7d..eb5bdf2b49 100644 --- a/.github/workflows/action.yml +++ b/.github/workflows/action.yml @@ -34,12 +34,14 @@ jobs: override: true - name: Build docs run: cargo doc + - name: Move documentation + run: mkdir -p pages/doc && mv target/doc/* pages/doc/ - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: ${{ github.ref == 'refs/heads/master' }} with: github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./target/doc + publish_dir: ./pages deploy: needs: build diff --git a/Cargo.toml b/Cargo.toml index 448c016b8a..c3ad965842 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,7 @@ edition = "2021" license = "MIT" description = "This crate serves as the entry point for embedding applications using Rust on Blue Robotics's Navigator" homepage = "https://bluerobotics.com/store/comm-control-power/control/navigator/" -documentation = "https://docs.bluerobotics.com/navigator-rs/navigator_rs/" +documentation = "https://docs.bluerobotics.com/navigator-rs/doc/navigator_rs/" repository = "https://github.com/bluerobotics/navigator-rs" categories = ["BlueRobotics", "Embedded development", "Science"] keywords = ["BlueRobotics", "embedded", "navigator", "robotics", "ROV"]