diff --git a/.gitignore b/.gitignore deleted file mode 100644 index f035f31..0000000 Binary files a/.gitignore and /dev/null differ diff --git a/.vitepress/config.mts b/.vitepress/config.mts deleted file mode 100644 index 12857cb..0000000 --- a/.vitepress/config.mts +++ /dev/null @@ -1,39 +0,0 @@ -import { defineConfig } from 'vitepress' - -// https://vitepress.dev/reference/site-config -export default defineConfig({ - srcDir: "markdown", - - title: "文档中心", - description: "日常记录学习所遇的问题和解决方法", - - vite: { - server: { - port: 7001, - host: true, - strictPort: true - } - }, - - themeConfig: { - // https://vitepress.dev/reference/default-theme-config - nav: [ - { text: 'Home', link: '/' }, - { text: 'Examples', link: '/markdown-examples' } - ], - - sidebar: [ - { - text: 'Examples', - items: [ - { text: 'Markdown Examples', link: '/markdown-examples' }, - { text: 'Runtime API Examples', link: '/api-examples' } - ] - } - ], - - socialLinks: [ - { icon: 'github', link: 'https://git.xi.plus' } - ] - } -}) diff --git a/README.md b/README.md deleted file mode 100644 index 348807d..0000000 --- a/README.md +++ /dev/null @@ -1,7 +0,0 @@ -# 这是一个测试 - -能修改么? - -我想上传啊。 - -111 \ No newline at end of file diff --git a/markdown/api-examples.md b/markdown/api-examples.md deleted file mode 100644 index 6bd8bb5..0000000 --- a/markdown/api-examples.md +++ /dev/null @@ -1,49 +0,0 @@ ---- -outline: deep ---- - -# Runtime API Examples - -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: - -```md - - -## Results - -### Theme Data -
{{ theme }}
-
-### Page Data
-{{ page }}
-
-### Page Frontmatter
-{{ frontmatter }}
-```
-
-
-
-## Results
-
-### Theme Data
-{{ theme }}
-
-### Page Data
-{{ page }}
-
-### Page Frontmatter
-{{ frontmatter }}
-
-## More
-
-Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata).
diff --git a/markdown/index.md b/markdown/index.md
deleted file mode 100644
index 5c56938..0000000
--- a/markdown/index.md
+++ /dev/null
@@ -1,25 +0,0 @@
----
-# https://vitepress.dev/reference/default-theme-home-page
-layout: home
-
-hero:
- name: "我的文档"
- text: "A VitePress Site"
- tagline: My great project tagline
- actions:
- - theme: brand
- text: Markdown Examples
- link: /markdown-examples
- - theme: alt
- text: API Examples
- link: /api-examples
-
-features:
- - title: Feature A
- details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
- - title: Feature B
- details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
- - title: Feature C
- details: Lorem ipsum dolor sit amet, consectetur adipiscing elit
----
-
diff --git a/markdown/markdown-examples.md b/markdown/markdown-examples.md
deleted file mode 100644
index f9258a5..0000000
--- a/markdown/markdown-examples.md
+++ /dev/null
@@ -1,85 +0,0 @@
-# Markdown Extension Examples
-
-This page demonstrates some of the built-in markdown extensions provided by VitePress.
-
-## Syntax Highlighting
-
-VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting:
-
-**Input**
-
-````md
-```js{4}
-export default {
- data () {
- return {
- msg: 'Highlighted!'
- }
- }
-}
-```
-````
-
-**Output**
-
-```js{4}
-export default {
- data () {
- return {
- msg: 'Highlighted!'
- }
- }
-}
-```
-
-## Custom Containers
-
-**Input**
-
-```md
-::: info
-This is an info box.
-:::
-
-::: tip
-This is a tip.
-:::
-
-::: warning
-This is a warning.
-:::
-
-::: danger
-This is a dangerous warning.
-:::
-
-::: details
-This is a details block.
-:::
-```
-
-**Output**
-
-::: info
-This is an info box.
-:::
-
-::: tip
-This is a tip.
-:::
-
-::: warning
-This is a warning.
-:::
-
-::: danger
-This is a dangerous warning.
-:::
-
-::: details
-This is a details block.
-:::
-
-## More
-
-Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown).
diff --git a/node_modules/@esbuild/win32-x64/esbuild.exe b/node_modules/@esbuild/win32-x64/esbuild.exe
deleted file mode 100644
index e0b2833..0000000
Binary files a/node_modules/@esbuild/win32-x64/esbuild.exe and /dev/null differ
diff --git a/node_modules/@rollup/rollup-win32-x64-msvc/rollup.win32-x64-msvc.node b/node_modules/@rollup/rollup-win32-x64-msvc/rollup.win32-x64-msvc.node
deleted file mode 100644
index a8b2498..0000000
Binary files a/node_modules/@rollup/rollup-win32-x64-msvc/rollup.win32-x64-msvc.node and /dev/null differ
diff --git a/package.json b/package.json
deleted file mode 100644
index 5088d5e..0000000
--- a/package.json
+++ /dev/null
@@ -1,11 +0,0 @@
-{
- "devDependencies": {
- "vitepress": "^2.0.0-alpha.17"
- },
- "scripts": {
- "start": "vitepress preview",
- "docs:dev": "vitepress dev",
- "docs:build": "vitepress build",
- "docs:preview": "vitepress preview"
- }
-}
\ No newline at end of file