Skip to content

Commit

Permalink
add document
Browse files Browse the repository at this point in the history
  • Loading branch information
easygl1der committed May 2, 2024
1 parent edcc2d1 commit ef891dd
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,11 @@ jobs:
- name: Setup pnpm
uses: pnpm/action-setup@v2 # 安装pnpm并添加到环境变量
with:
version: 8.6.12 # 指定需要的 pnpm 版本
version: 9.0.6 # 指定需要的 pnpm 版本
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20.12.2
cache: pnpm # 设置缓存
- name: Setup Pages
uses: actions/configure-pages@v3 # 在工作流程自动配置GithubPages
Expand Down
3 changes: 2 additions & 1 deletion .vitepress/config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ export default defineConfig({
text: 'Examples',
items: [
{ text: 'Markdown Examples', link: '/markdown-examples' },
{ text: 'Runtime API Examples', link: '/api-examples' }
{ text: 'Runtime API Examples', link: '/api-examples' },
{ text: 'Runtime API Examples', link: '/document' }
]
}
],
Expand Down
4 changes: 4 additions & 0 deletions mydownload/document.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Download my document

<a href="document.pdf" download="document.pdf">下载</a>
https://git-scm.com/downloads
Binary file added public/document.pdf
Binary file not shown.

0 comments on commit ef891dd

Please sign in to comment.