fix: update `update-docs` job in `covector` workflow
@@ -72,7 +72,7 @@ jobs:
sudo apt-get update
sudo apt-get install -y webkit2gtk-4.0
- name: generate rust docs
- working-directory: core/tauri
+ working-directory: ./tauri/core/tauri
run: cargo doc --no-deps
- name: run rustdocusaurus
uses: tauri-apps/rustdocusaurus/github-action@v1
@@ -81,7 +81,14 @@ jobs:
targetPath: ./tauri-docs/docs/en/api/rust/
sidebarPath: ./tauri-docs/sidebars.json
linksRoot: /docs/api/rust/
- cratesToProcess: "tauri,tauri_api,tauri_utils"
+ cratesToProcess: "tauri,tauri_utils"
+ - name: run typedocusaurus
+ uses: tauri-apps/typedocusaurus/github-action@v1
+ with:
+ originPath: ./tauri/tooling/api/
+ sidebarFile: sidebars.json
+ targetPath: en/api/js
+ docusaurusPath: ./tauri-docs/
- name: git config
run: |
git config --global user.name "${{ github.event.pusher.name }}"
@@ -90,7 +97,7 @@ jobs:
uses: tauri-apps/create-pull-request@v3.4.1
with:
token: ${{ secrets.TAURI_BOT_PAT }}
- commit-message: "chore(docs): Update Rust docs"
+ commit-message: "chore(docs): Update Rust & TS docs"
branch: docs/release
path: tauri-docs
title: Update Docs
