Skip to content

Commit

Permalink
update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
gezhaoyou committed Jul 22, 2024
1 parent de88ff3 commit 3ca2db0
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
<a href="./README_CN.md">简体中文</a>
</p>

<p align="center">
<a href="https://gpupixel.pixpark.net">Documentation</a>
</p>

<p align="center">
<a href="https://github.com/pixpark/gpupixel/stargazers"><img alt="GPUPixel Stars" src="https://img.shields.io/github/stars/pixpark/gpupixel?style=social"/></a>
<a href="https://github.com/pixpark/gpupixel/releases/latest"><img alt="GPUPixel Release" src="https://img.shields.io/github/v/release/pixpark/gpupixel"/></a>
Expand All @@ -15,9 +19,6 @@
<a href="https://github.com/pixpark/gpupixel/blob/main/LICENSE"><img alt="GPUPixel Stars" src="https://img.shields.io/github/license/pixpark/gpupixel"/></a>
</p>

<p align="center">
<a href="https://gpupixel.pixpark.net">Documentation</a> ·
</p>

---

Expand Down
8 changes: 5 additions & 3 deletions README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,18 @@
<a href="./README_CN.md">简体中文</a>
</p>

<p align="center">
<a href="https://gpupixel.pixpark.net/zh">文档</a>
</p>

<p align="center">
<a href="https://github.com/pixpark/gpupixel/stargazers"><img alt="GPUPixel Stars" src="https://img.shields.io/github/stars/pixpark/gpupixel?style=social"/></a>
<a href="https://github.com/pixpark/gpupixel/releases/latest"><img alt="GPUPixel Release" src="https://img.shields.io/github/v/release/pixpark/gpupixel"/></a>
<a href="#"><img alt="GPUPixel Stars" src="https://img.shields.io/badge/Platform-iOS_%7C_Android_%7C_Mac_%7C_Win_%7C_Linux-red"/></a>
<a href="https://github.com/pixpark/gpupixel/blob/main/LICENSE"><img alt="GPUPixel Stars" src="https://img.shields.io/github/license/pixpark/gpupixel"/></a>
</p>

<p align="center">
<a href="https://gpupixel.pixpark.net/zh">文档</a> ·
</p>


---

Expand Down
3 changes: 1 addition & 2 deletions docs/docs/.vitepress/config/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { createRequire } from 'module'
import { defineConfig, type DefaultTheme } from 'vitepress'

const require = createRequire(import.meta.url)
const pkg = require('vitepress/package.json')

export const en = defineConfig({
lang: 'en-US',
Expand Down Expand Up @@ -41,7 +40,7 @@ function nav(): DefaultTheme.NavItem[] {
activeMatch: '/reference/'
},
{
text: pkg.version,
text: '1.2.5',
items: [
{
text: 'Changelog',
Expand Down
3 changes: 1 addition & 2 deletions docs/docs/.vitepress/config/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { createRequire } from 'module'
import { defineConfig, type DefaultTheme } from 'vitepress'

const require = createRequire(import.meta.url)
const pkg = require('vitepress/package.json')

export const zh = defineConfig({
lang: 'zh-Hans',
Expand Down Expand Up @@ -65,7 +64,7 @@ function nav(): DefaultTheme.NavItem[] {
activeMatch: '/zh/reference/'
},
{
text: pkg.version,
text: '1.2.5',
items: [
{
text: '更新日志',
Expand Down

0 comments on commit 3ca2db0

Please sign in to comment.