mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
Added Typedoc & updated workflow (#1328)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
9
.github/workflows/update-docs.yml
vendored
9
.github/workflows/update-docs.yml
vendored
@@ -44,6 +44,13 @@ jobs:
|
||||
sidebarPath: ./tauri-docs/sidebars.json
|
||||
linksRoot: /docs/api/rust/
|
||||
cratesToProcess: "tauri,tauri_api,tauri_utils"
|
||||
- name: run typedocusaurus
|
||||
uses: tauri-apps/typedocusaurus/github-action@v1
|
||||
with:
|
||||
originPath: ./tauri/api/
|
||||
sidebarFile: sidebars.json
|
||||
targetPath: en/api/js
|
||||
docusaurusPath: ./tauri-docs/
|
||||
- name: git config
|
||||
run: |
|
||||
git config --global user.name "${{ github.event.inputs.gitName }}"
|
||||
@@ -52,7 +59,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
|
||||
|
||||
Reference in New Issue
Block a user