Skip to content

Commit

Permalink
Updat edocs build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
HuakunShen committed May 31, 2024
1 parent 25e2475 commit f80df71
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 20 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Sample workflow for building and deploying a VitePress site to GitHub Pages
#
name: Deploy VitePress site to Pages
name: Generate and Deploy Docs

on:
# Runs on pushes targeting the `main` branch. Change this to `master` if you're
Expand Down Expand Up @@ -46,9 +46,11 @@ jobs:
# - name: Install dependencies
# working-directory: ./docs
# run: npm ci # or pnpm install / yarn install / bun install
- name: Build with VitePress
- name: Build with Typedoc
# working-directory: ./docs
run: npx typedoc webview-src/index.ts # or pnpm docs:build / yarn docs:build / bun run docs:build
run: |
npm i
npx typedoc webview-src/index.ts
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion examples/demo/src-tauri/build.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
fn main() {
tauri_build::build()
tauri_build::build()
}
4 changes: 3 additions & 1 deletion examples/demo/src-tauri/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ fn main() {
.setup(|app| {
let handle = app.handle();
let clipboard = handle.state::<tauri_plugin_clipboard::ClipboardManager>();
clipboard.write_text("huakun zui shuai".to_string()).unwrap();
clipboard
.write_text("huakun zui shuai".to_string())
.unwrap();
// #[cfg(debug_assertions)] // only include this code on debug builds
// {
// let window = app.get_window("main").unwrap();
Expand Down
15 changes: 0 additions & 15 deletions src/bin/image.rs

This file was deleted.

0 comments on commit f80df71

Please sign in to comment.