-
-
Notifications
You must be signed in to change notification settings - Fork 240
Use Markdown image syntax in README and make coverpage content the VitePress homepage #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
72aacdc
6df762f
26756bd
07b6126
667f444
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| node_modules/ | ||
| *.log | ||
| .vitepress/dist/ |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,66 @@ | ||||||
| import { defineConfig } from 'vitepress' | ||||||
|
|
||||||
| export default defineConfig({ | ||||||
| lang: 'zh-CN', | ||||||
| title: '姬长信API For Docker官方文档', | ||||||
| description: '姬长信API 一个基于多种编程语言并运行在Docker上开源免费不限制提供生活常用、出行服务、开发工具、金融服务、通讯服务和公益大数据的平台。', | ||||||
| ignoreDeadLinks: true, | ||||||
| markdown: { | ||||||
| html: false | ||||||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Setting Useful? React with 👍 / 👎.
|
||||||
| html: false | |
| html: true |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -0,0 +1,9 @@ | ||||||||||
| # 姬长信 API For Docker <small>始于 2017</small> | ||||||||||
|
|
||||||||||
|
Comment on lines
+1
to
+2
|
||||||||||
| # 姬长信 API For Docker <small>始于 2017</small> | |
| # 姬长信 API For Docker | |
| _始于 2017_ |
Copilot
AI
Mar 29, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[开始](#姬长信api-for-docker) is very likely to be a broken in-page anchor in VitePress because heading ids are slugified (typically inserting hyphens and including additional heading text). Consider linking to a real route (e.g. the first doc page like /公益中国) or updating the hash to match the actual generated heading id.
| [开始](#姬长信api-for-docker) | |
| [开始](#姬长信-api-for-docker-始于-2017) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The VitePress config doesn’t set
base. When deploying to GitHub Pages for a project repo (e.g./API/), VitePress will otherwise generate asset links rooted at/, which typically breaks CSS/JS on the published site. Consider settingbaseappropriately (or deriving it from an env var in CI) to match the Pages URL.