From 6ad30d15a274b275dd70af6ad3a7310cf981fe77 Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Mon, 14 Oct 2024 13:14:14 +0800 Subject: [PATCH] docs: update docs --- docs/README.md | 1 + readme.md | 50 ++++++++++++++++--------------------------------- theme/README.md | 39 +++++++++----------------------------- 3 files changed, 26 insertions(+), 64 deletions(-) diff --git a/docs/README.md b/docs/README.md index 2b65c930..1dff992c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -178,6 +178,7 @@ export default defineUserConfig({ 'shylock-wu', 'hrradev', { github: 'TheCoderAlex', name: 'Tang Zifeng' }, + { github: 'HydroGest', name: 'MarkChai'} ]" /> diff --git a/readme.md b/readme.md index d0f0d7b8..dcda9d68 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@

vuepress-theme-plume

-plume +plume

@@ -14,8 +14,8 @@ github license
- codecov - + codecov +

@@ -25,7 +25,7 @@ 内置了丰富的强大的功能,旨在让内容更具有表现力。 -## Features +## 特性 - 💻 响应式布局,适配不同的屏幕尺寸 - 📖 博客 & 文档 @@ -34,41 +34,13 @@ - 🔑 支持 全站加密、部分加密 - 👀 支持 搜索、文章评论 - 👨‍💻‍ 支持 浅色/深色 主题 (包括代码高亮) -- 📠 markdown 增强,支持 代码块分组、提示容器、任务列表、数学公式、代码演示 等 +- 📠 markdown 增强,支持 代码块分组、提示容器、任务列表、数学公式、代码演示、文件树 等 - 📚 嵌入代码演示,支持 CodePen, JSFiddle, CodeSandbox 等 - 📊 嵌入图表,支持 chart.js,Echarts,Mermaid,flowchart - 🎛 资源嵌入,支持 PDF, bilibili视频,youtube视频等 - 🪞 支持全站水印、部分内容水印 -## Install - -``` sh -npm install vuepress@next vuepress-theme-plume -# or -pnpm add vuepress@next vuepress-theme-plume vue -# or -yarn add vuepress@next vuepress-theme-plume -``` - -## Usage - -``` ts -import { defineUserConfig } from 'vuepress' -import { plumeTheme } from 'vuepress-theme-plume' - -export default defineUserConfig({ - // vuepress config... - theme: plumeTheme({ - // theme config... - }) -}) -``` - -### `plumeTheme(options)` - -__options__ : `PlumeThemeOptions` - -[查看 options 详细说明](https://theme-plume.vuejs.press//config/basic/) +## [使用文档](https://theme-plume.vuejs.press) ## 案例 @@ -83,3 +55,13 @@ __options__ : `PlumeThemeOptions` ## 贡献指南 查看 [[贡献指南]](/CONTRIBUTING.md) 了解更多 + +## 贡献者 + +感谢所有的贡献者! + +[![contributors](https://contrib.rocks/image?repo=pengzhanbo/vuepress-theme-plume)](https://github.com/pengzhanbo/vuepress-theme-plume/graphs/contributors) + +## License + +[MIT](/LICENSE) diff --git a/theme/README.md b/theme/README.md index b5927a5d..462b51c6 100644 --- a/theme/README.md +++ b/theme/README.md @@ -1,7 +1,7 @@ # vuepress-theme-plume

-vuepress=theme-plume +vuepress=theme-plume

@@ -10,6 +10,7 @@ [![npm download](https://img.shields.io/npm/dy/vuepress-theme-plume?color=32A9C3&labelColor=1B3C4A&label=downloads)](https://www.npmjs.com/package/vuepress-theme-plume) ![peer dependency](https://img.shields.io/npm/dependency-version/vuepress-theme-plume/peer/vuepress?color=32A9C3&labelColor=1B3C4A) ![GitHub License](https://img.shields.io/github/license/pengzhanbo/vuepress-theme-plume?color=32A9C3&labelColor=1B3C4A) +[![coverage](https://codecov.io/gh/pengzhanbo/vuepress-theme-plume/graph/badge.svg?token=W6KYBX7WO5)](https://codecov.io/gh/pengzhanbo/vuepress-theme-plume)

@@ -34,35 +35,7 @@ - 🎛 资源嵌入,支持 PDF, bilibili视频,youtube视频等 - 🪞 支持全站水印、部分内容水印 -## Install - -``` sh -npm install vuepress@next vuepress-theme-plume -# or -pnpm add vuepress@next vuepress-theme-plume vue -# or -yarn add vuepress@next vuepress-theme-plume -``` - -## Usage - -``` ts -import { defineUserConfig } from 'vuepress' -import { plumeTheme } from 'vuepress-theme-plume' - -export default defineUserConfig({ - // vuepress config... - theme: plumeTheme({ - // theme config... - }) -}) -``` - -### `plumeTheme(options)` - -__options__ : `PlumeThemeOptions` - -[查看 options 详细说明](https://theme-plume.vuejs.press/config/basic/) +## [使用文档](https://theme-plume.vuejs.press) ## 注意 @@ -74,6 +47,12 @@ __options__ : `PlumeThemeOptions` 查看 [[贡献指南]](/CONTRIBUTING.md) 了解更多 +## 贡献者 + +感谢所有的贡献者! + +[![contributors](https://contrib.rocks/image?repo=pengzhanbo/vuepress-theme-plume)](https://github.com/pengzhanbo/vuepress-theme-plume/graphs/contributors) + ## LICENSE [MIT](https://github.com/pengzhanbo/vuepress-theme-plume/blob/main/LICENSE)