From 2ea0569a4a660a9e57cec7f242b8800dd3334c21 Mon Sep 17 00:00:00 2001 From: heygsc <1596920983@qq.com> Date: Fri, 30 Aug 2024 00:00:23 +0800 Subject: [PATCH 1/3] Update api-examples.md --- api-examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-examples.md b/api-examples.md index 6bd8bb5..71d8aed 100644 --- a/api-examples.md +++ b/api-examples.md @@ -4,7 +4,7 @@ outline: deep # Runtime API Examples -This page demonstrates usage of some of the runtime APIs provided by VitePress. +This page demonstrates usage of some of the runtime APIs provided b VitePress. The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files: From c6cc264a5cc435d705703a7ad265b00d959645e2 Mon Sep 17 00:00:00 2001 From: heygsc <1596920983@qq.com> Date: Fri, 30 Aug 2024 00:01:44 +0800 Subject: [PATCH 2/3] Update hhh.yml --- .github/workflows/hhh.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hhh.yml b/.github/workflows/hhh.yml index 05a715c..613c57c 100644 --- a/.github/workflows/hhh.yml +++ b/.github/workflows/hhh.yml @@ -6,7 +6,7 @@ on: # 在针对 `main` 分支的推送上运行。如果你 # 使用 `master` 分支作为默认分支,请将其更改为 `master` push: - branches: [main] + branches: [master] # 允许你从 Actions 选项卡手动运行此工作流程 workflow_dispatch: @@ -61,4 +61,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 \ No newline at end of file + uses: actions/deploy-pages@v4 From 875d2aecd42dd36e115b68c0a91d3c7d71c550f8 Mon Sep 17 00:00:00 2001 From: heygsc <1596920983@qq.com> Date: Fri, 30 Aug 2024 00:01:59 +0800 Subject: [PATCH 3/3] Update api-examples.md --- api-examples.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-examples.md b/api-examples.md index 71d8aed..6bd8bb5 100644 --- a/api-examples.md +++ b/api-examples.md @@ -4,7 +4,7 @@ outline: deep # Runtime API Examples -This page demonstrates usage of some of the runtime APIs provided b VitePress. +This page demonstrates usage of some of the runtime APIs provided by VitePress. The main `useData()` API can be used to access site, theme, and page data for the current page. It works in both `.md` and `.vue` files: