Skip to content

Commit

Permalink
docs: remove default theme and plugin docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mister-Hope committed Jan 31, 2024
1 parent 041394e commit 738b953
Show file tree
Hide file tree
Showing 70 changed files with 461 additions and 8,151 deletions.
72 changes: 9 additions & 63 deletions docs/.vuepress/configs/navbar/en.ts
Expand Up @@ -46,67 +46,9 @@ export const navbarEn: NavbarConfig = [
'/reference/bundler/webpack.md',
],
},
{
text: 'Default Theme',
children: [
'/reference/default-theme/config.md',
'/reference/default-theme/frontmatter.md',
'/reference/default-theme/components.md',
'/reference/default-theme/markdown.md',
'/reference/default-theme/styles.md',
'/reference/default-theme/extending.md',
],
},
],
},
{
text: 'Plugins',
children: [
{
text: 'Common Features',
children: [
'/reference/plugin/back-to-top.md',
'/reference/plugin/container.md',
'/reference/plugin/external-link-icon.md',
'/reference/plugin/google-analytics.md',
'/reference/plugin/medium-zoom.md',
'/reference/plugin/nprogress.md',
'/reference/plugin/register-components.md',
],
},
{
text: 'Content Search',
children: [
'/reference/plugin/docsearch.md',
'/reference/plugin/search.md',
],
},
{
text: 'PWA',
children: [
'/reference/plugin/pwa.md',
'/reference/plugin/pwa-popup.md',
],
},
{
text: 'Syntax Highlighting',
children: [
'/reference/plugin/prismjs.md',
'/reference/plugin/shiki.md',
],
},
{
text: 'Theme Development',
children: [
'/reference/plugin/active-header-links.md',
'/reference/plugin/git.md',
'/reference/plugin/palette.md',
'/reference/plugin/theme-data.md',
'/reference/plugin/toc.md',
],
},
],
},

{
text: 'Learn More',
children: [
Expand All @@ -126,12 +68,16 @@ export const navbarEn: NavbarConfig = [
text: 'Resources',
children: [
{
text: 'Contributing Guide',
link: 'https://github.com/vuepress/core/blob/main/CONTRIBUTING.md',
text: 'Official Ecosystem',
link: 'https://ecosystem.vuejs.press/',
},
{
text: 'Awesome VuePress',
link: 'https://github.com/vuepress/awesome-vuepress',
text: 'VuePress MarketPlace',
link: 'https://marketplace.vuejs.press',
},
{
text: 'Contributing Guide',
link: 'https://github.com/vuepress/core/blob/main/CONTRIBUTING.md',
},
],
},
Expand Down
71 changes: 8 additions & 63 deletions docs/.vuepress/configs/navbar/zh.ts
Expand Up @@ -43,65 +43,6 @@ export const navbarZh: NavbarConfig = [
'/zh/reference/bundler/webpack.md',
],
},
{
text: '默认主题',
children: [
'/zh/reference/default-theme/config.md',
'/zh/reference/default-theme/frontmatter.md',
'/zh/reference/default-theme/components.md',
'/zh/reference/default-theme/markdown.md',
'/zh/reference/default-theme/styles.md',
'/zh/reference/default-theme/extending.md',
],
},
],
},
{
text: '插件',
children: [
{
text: '常用功能',
children: [
'/zh/reference/plugin/back-to-top.md',
'/zh/reference/plugin/container.md',
'/zh/reference/plugin/external-link-icon.md',
'/zh/reference/plugin/google-analytics.md',
'/zh/reference/plugin/medium-zoom.md',
'/zh/reference/plugin/nprogress.md',
'/zh/reference/plugin/register-components.md',
],
},
{
text: '内容搜索',
children: [
'/zh/reference/plugin/docsearch.md',
'/zh/reference/plugin/search.md',
],
},
{
text: 'PWA',
children: [
'/zh/reference/plugin/pwa.md',
'/zh/reference/plugin/pwa-popup.md',
],
},
{
text: '语法高亮',
children: [
'/zh/reference/plugin/prismjs.md',
'/zh/reference/plugin/shiki.md',
],
},
{
text: '主题开发',
children: [
'/zh/reference/plugin/active-header-links.md',
'/zh/reference/plugin/git.md',
'/zh/reference/plugin/palette.md',
'/zh/reference/plugin/theme-data.md',
'/zh/reference/plugin/toc.md',
],
},
],
},
{
Expand All @@ -123,12 +64,16 @@ export const navbarZh: NavbarConfig = [
text: '其他资源',
children: [
{
text: '贡献指南',
link: 'https://github.com/vuepress/core/blob/main/CONTRIBUTING_zh.md',
text: '官方生态系统',
link: 'https://ecosystem.vuejs.press/zh/',
},
{
text: 'Awesome VuePress',
link: 'https://github.com/vuepress/awesome-vuepress',
text: 'VuePress 市场',
link: 'https://marketplace.vuejs.press/zh/',
},
{
text: '贡献指南',
link: 'https://github.com/vuepress/core/blob/main/CONTRIBUTING_zh.md',
},
],
},
Expand Down
61 changes: 2 additions & 59 deletions docs/.vuepress/configs/sidebar/en.ts
Expand Up @@ -63,65 +63,8 @@ export const sidebarEn: SidebarConfig = {
children: ['/reference/bundler/vite.md', '/reference/bundler/webpack.md'],
},
{
text: 'Default Theme Reference',
collapsible: true,
children: [
'/reference/default-theme/config.md',
'/reference/default-theme/frontmatter.md',
'/reference/default-theme/components.md',
'/reference/default-theme/markdown.md',
'/reference/default-theme/styles.md',
'/reference/default-theme/extending.md',
],
},
{
text: 'Official Plugins Reference',
collapsible: true,
children: [
{
text: 'Common Features',
children: [
'/reference/plugin/back-to-top.md',
'/reference/plugin/container.md',
'/reference/plugin/external-link-icon.md',
'/reference/plugin/google-analytics.md',
'/reference/plugin/medium-zoom.md',
'/reference/plugin/nprogress.md',
'/reference/plugin/register-components.md',
],
},
{
text: 'Content Search',
children: [
'/reference/plugin/docsearch.md',
'/reference/plugin/search.md',
],
},
{
text: 'PWA',
children: [
'/reference/plugin/pwa.md',
'/reference/plugin/pwa-popup.md',
],
},
{
text: 'Syntax Highlighting',
children: [
'/reference/plugin/prismjs.md',
'/reference/plugin/shiki.md',
],
},
{
text: 'Theme Development',
children: [
'/reference/plugin/active-header-links.md',
'/reference/plugin/git.md',
'/reference/plugin/palette.md',
'/reference/plugin/theme-data.md',
'/reference/plugin/toc.md',
],
},
],
text: 'Official Ecosystem',
link: 'https://ecosystem.vuejs.press/',
},
],
}
61 changes: 2 additions & 59 deletions docs/.vuepress/configs/sidebar/zh.ts
Expand Up @@ -66,65 +66,8 @@ export const sidebarZh: SidebarConfig = {
],
},
{
text: '默认主题参考',
collapsible: true,
children: [
'/zh/reference/default-theme/config.md',
'/zh/reference/default-theme/frontmatter.md',
'/zh/reference/default-theme/components.md',
'/zh/reference/default-theme/markdown.md',
'/zh/reference/default-theme/styles.md',
'/zh/reference/default-theme/extending.md',
],
},
{
text: '官方插件参考',
collapsible: true,
children: [
{
text: '常用功能',
children: [
'/zh/reference/plugin/back-to-top.md',
'/zh/reference/plugin/container.md',
'/zh/reference/plugin/external-link-icon.md',
'/zh/reference/plugin/google-analytics.md',
'/zh/reference/plugin/medium-zoom.md',
'/zh/reference/plugin/nprogress.md',
'/zh/reference/plugin/register-components.md',
],
},
{
text: '内容搜索',
children: [
'/zh/reference/plugin/docsearch.md',
'/zh/reference/plugin/search.md',
],
},
{
text: 'PWA',
children: [
'/zh/reference/plugin/pwa.md',
'/zh/reference/plugin/pwa-popup.md',
],
},
{
text: '语法高亮',
children: [
'/zh/reference/plugin/prismjs.md',
'/zh/reference/plugin/shiki.md',
],
},
{
text: '主题开发',
children: [
'/zh/reference/plugin/active-header-links.md',
'/zh/reference/plugin/git.md',
'/zh/reference/plugin/palette.md',
'/zh/reference/plugin/theme-data.md',
'/zh/reference/plugin/toc.md',
],
},
],
text: '官方生态系统',
link: 'https://ecosystem.vuejs.press/zh/',
},
],
}
2 changes: 1 addition & 1 deletion docs/advanced/cookbook/making-a-theme-extendable.md
Expand Up @@ -4,7 +4,7 @@ Sometimes users might want make some minor changes to a theme, but they don't wa

With the help of [Theme API](../../reference/theme-api.md), you can make your theme extendable, allowing users to make their own modifications easily.

You must have known that how to [extend default theme](../../reference/default-theme/extending.md). Here we'll introduce how to make your own theme extendable like default theme.
You must have known that how to [extend default theme](https://ecosystem.vuejs.press/themes/default/extending.html). Here we'll introduce how to make your own theme extendable like default theme.

## Layout Slots

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/i18n.md
Expand Up @@ -69,5 +69,5 @@ export default defineUserConfig({
```

::: tip
Config reference: [Default Theme > locales](../reference/default-theme/config.md#locales)
Config reference: [Default Theme > locales](https://ecosystem.vuejs.press/themes/default/config.html#locales)
:::
6 changes: 5 additions & 1 deletion docs/guide/markdown.md
Expand Up @@ -469,9 +469,13 @@ This is default theme built-in `<Badge />` component <Badge text="demo" />
::: tip
Check out the [Built-in Components](../reference/components.md) for a full list of built-in components.

Check out the [Default Theme > Built-in Components](../reference/default-theme/components.md) for a full list of default theme built-in components.
Check out the [Default Theme > Built-in Components](https://ecosystem.vuejs.press/themes/default/components.html) for a full list of default theme built-in components.
:::

## Markdown Plugins

You can explore more markdown plugins at [VuePress Marketplace](https://marketplace.vuejs.press).

## Cautions

### Non-Standard HTML Tags
Expand Down

0 comments on commit 738b953

Please sign in to comment.