From 6d61ac29b7637756622a694634af197e5ebf8ad2 Mon Sep 17 00:00:00 2001 From: Raul Victor Trombin Date: Mon, 6 Nov 2023 14:08:56 -0300 Subject: [PATCH 1/2] github: action: docs: Move documentation from root to doc --- .github/workflows/action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 From 90dce16658570b0fcaf0d2b5efe9628096fa9bba Mon Sep 17 00:00:00 2001 From: Raul Victor Trombin Date: Mon, 6 Nov 2023 16:53:03 -0300 Subject: [PATCH 2/2] Cargo: Update documentation link --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"]