diff --git a/docs/.vuepress/config.ts b/docs/.vuepress/config.ts index cbe206c..4307a83 100644 --- a/docs/.vuepress/config.ts +++ b/docs/.vuepress/config.ts @@ -1,6 +1,6 @@ import { resolve } from 'path' import { defineConfig4CustomTheme } from 'vuepress/config' -import { VdoingThemeConfig } from '../../theme-vdoing/types' +import { VdoingThemeConfig } from '../../vdoing/types' // import { VdoingThemeConfig } from 'vuepress-theme-vdoing/types' import dayjs from 'dayjs' import baiduCode from './config/baiduCode' // 百度统计hm码 @@ -9,7 +9,7 @@ import htmlModules from './config/htmlModules' // 自定义插入的html块 export default defineConfig4CustomTheme({ // theme: 'vdoing', // 使用npm包主题 - theme: resolve(__dirname, '../../theme-vdoing'), // 使用本地主题 + theme: resolve(__dirname, '../../vdoing'), // 使用本地主题 locales: { '/': { diff --git a/theme-vdoing/LICENSE b/vdoing/LICENSE similarity index 100% rename from theme-vdoing/LICENSE rename to vdoing/LICENSE diff --git a/theme-vdoing/README.md b/vdoing/README.md similarity index 100% rename from theme-vdoing/README.md rename to vdoing/README.md diff --git a/theme-vdoing/components/AlgoliaSearchBox.vue b/vdoing/components/AlgoliaSearchBox.vue similarity index 100% rename from theme-vdoing/components/AlgoliaSearchBox.vue rename to vdoing/components/AlgoliaSearchBox.vue diff --git a/theme-vdoing/components/ArchivesPage.vue b/vdoing/components/ArchivesPage.vue similarity index 100% rename from theme-vdoing/components/ArchivesPage.vue rename to vdoing/components/ArchivesPage.vue diff --git a/theme-vdoing/components/ArticleInfo.vue b/vdoing/components/ArticleInfo.vue similarity index 100% rename from theme-vdoing/components/ArticleInfo.vue rename to vdoing/components/ArticleInfo.vue diff --git a/theme-vdoing/components/BloggerBar.vue b/vdoing/components/BloggerBar.vue similarity index 100% rename from theme-vdoing/components/BloggerBar.vue rename to vdoing/components/BloggerBar.vue diff --git a/theme-vdoing/components/BodyBgImg.vue b/vdoing/components/BodyBgImg.vue similarity index 100% rename from theme-vdoing/components/BodyBgImg.vue rename to vdoing/components/BodyBgImg.vue diff --git a/theme-vdoing/components/Buttons.vue b/vdoing/components/Buttons.vue similarity index 100% rename from theme-vdoing/components/Buttons.vue rename to vdoing/components/Buttons.vue diff --git a/theme-vdoing/components/Catalogue.vue b/vdoing/components/Catalogue.vue similarity index 100% rename from theme-vdoing/components/Catalogue.vue rename to vdoing/components/Catalogue.vue diff --git a/theme-vdoing/components/CategoriesBar.vue b/vdoing/components/CategoriesBar.vue similarity index 100% rename from theme-vdoing/components/CategoriesBar.vue rename to vdoing/components/CategoriesBar.vue diff --git a/theme-vdoing/components/CategoriesPage.vue b/vdoing/components/CategoriesPage.vue similarity index 100% rename from theme-vdoing/components/CategoriesPage.vue rename to vdoing/components/CategoriesPage.vue diff --git a/theme-vdoing/components/DropdownLink.vue b/vdoing/components/DropdownLink.vue similarity index 100% rename from theme-vdoing/components/DropdownLink.vue rename to vdoing/components/DropdownLink.vue diff --git a/theme-vdoing/components/DropdownTransition.vue b/vdoing/components/DropdownTransition.vue similarity index 100% rename from theme-vdoing/components/DropdownTransition.vue rename to vdoing/components/DropdownTransition.vue diff --git a/theme-vdoing/components/Footer.vue b/vdoing/components/Footer.vue similarity index 100% rename from theme-vdoing/components/Footer.vue rename to vdoing/components/Footer.vue diff --git a/theme-vdoing/components/Home.vue b/vdoing/components/Home.vue similarity index 100% rename from theme-vdoing/components/Home.vue rename to vdoing/components/Home.vue diff --git a/theme-vdoing/components/MainLayout.vue b/vdoing/components/MainLayout.vue similarity index 100% rename from theme-vdoing/components/MainLayout.vue rename to vdoing/components/MainLayout.vue diff --git a/theme-vdoing/components/NavLink.vue b/vdoing/components/NavLink.vue similarity index 100% rename from theme-vdoing/components/NavLink.vue rename to vdoing/components/NavLink.vue diff --git a/theme-vdoing/components/NavLinks.vue b/vdoing/components/NavLinks.vue similarity index 100% rename from theme-vdoing/components/NavLinks.vue rename to vdoing/components/NavLinks.vue diff --git a/theme-vdoing/components/Navbar.vue b/vdoing/components/Navbar.vue similarity index 100% rename from theme-vdoing/components/Navbar.vue rename to vdoing/components/Navbar.vue diff --git a/theme-vdoing/components/Page.vue b/vdoing/components/Page.vue similarity index 100% rename from theme-vdoing/components/Page.vue rename to vdoing/components/Page.vue diff --git a/theme-vdoing/components/PageEdit.vue b/vdoing/components/PageEdit.vue similarity index 100% rename from theme-vdoing/components/PageEdit.vue rename to vdoing/components/PageEdit.vue diff --git a/theme-vdoing/components/PageNav.vue b/vdoing/components/PageNav.vue similarity index 100% rename from theme-vdoing/components/PageNav.vue rename to vdoing/components/PageNav.vue diff --git a/theme-vdoing/components/Pagination.vue b/vdoing/components/Pagination.vue similarity index 100% rename from theme-vdoing/components/Pagination.vue rename to vdoing/components/Pagination.vue diff --git a/theme-vdoing/components/PostList.vue b/vdoing/components/PostList.vue similarity index 100% rename from theme-vdoing/components/PostList.vue rename to vdoing/components/PostList.vue diff --git a/theme-vdoing/components/RightMenu.vue b/vdoing/components/RightMenu.vue similarity index 100% rename from theme-vdoing/components/RightMenu.vue rename to vdoing/components/RightMenu.vue diff --git a/theme-vdoing/components/Sidebar.vue b/vdoing/components/Sidebar.vue similarity index 100% rename from theme-vdoing/components/Sidebar.vue rename to vdoing/components/Sidebar.vue diff --git a/theme-vdoing/components/SidebarButton.vue b/vdoing/components/SidebarButton.vue similarity index 100% rename from theme-vdoing/components/SidebarButton.vue rename to vdoing/components/SidebarButton.vue diff --git a/theme-vdoing/components/SidebarGroup.vue b/vdoing/components/SidebarGroup.vue similarity index 100% rename from theme-vdoing/components/SidebarGroup.vue rename to vdoing/components/SidebarGroup.vue diff --git a/theme-vdoing/components/SidebarLink.vue b/vdoing/components/SidebarLink.vue similarity index 100% rename from theme-vdoing/components/SidebarLink.vue rename to vdoing/components/SidebarLink.vue diff --git a/theme-vdoing/components/SidebarLinks.vue b/vdoing/components/SidebarLinks.vue similarity index 100% rename from theme-vdoing/components/SidebarLinks.vue rename to vdoing/components/SidebarLinks.vue diff --git a/theme-vdoing/components/TagsBar.vue b/vdoing/components/TagsBar.vue similarity index 100% rename from theme-vdoing/components/TagsBar.vue rename to vdoing/components/TagsBar.vue diff --git a/theme-vdoing/components/TagsPage.vue b/vdoing/components/TagsPage.vue similarity index 100% rename from theme-vdoing/components/TagsPage.vue rename to vdoing/components/TagsPage.vue diff --git a/theme-vdoing/components/UpdateArticle.vue b/vdoing/components/UpdateArticle.vue similarity index 100% rename from theme-vdoing/components/UpdateArticle.vue rename to vdoing/components/UpdateArticle.vue diff --git a/theme-vdoing/enhanceApp.js b/vdoing/enhanceApp.js similarity index 100% rename from theme-vdoing/enhanceApp.js rename to vdoing/enhanceApp.js diff --git a/theme-vdoing/global-components/Badge.vue b/vdoing/global-components/Badge.vue similarity index 100% rename from theme-vdoing/global-components/Badge.vue rename to vdoing/global-components/Badge.vue diff --git a/theme-vdoing/global-components/CodeBlock.vue b/vdoing/global-components/CodeBlock.vue similarity index 100% rename from theme-vdoing/global-components/CodeBlock.vue rename to vdoing/global-components/CodeBlock.vue diff --git a/theme-vdoing/global-components/CodeGroup.vue b/vdoing/global-components/CodeGroup.vue similarity index 100% rename from theme-vdoing/global-components/CodeGroup.vue rename to vdoing/global-components/CodeGroup.vue diff --git a/theme-vdoing/index.js b/vdoing/index.js similarity index 100% rename from theme-vdoing/index.js rename to vdoing/index.js diff --git a/theme-vdoing/layouts/404.vue b/vdoing/layouts/404.vue similarity index 100% rename from theme-vdoing/layouts/404.vue rename to vdoing/layouts/404.vue diff --git a/theme-vdoing/layouts/Layout.vue b/vdoing/layouts/Layout.vue similarity index 100% rename from theme-vdoing/layouts/Layout.vue rename to vdoing/layouts/Layout.vue diff --git a/theme-vdoing/mixins/posts.js b/vdoing/mixins/posts.js similarity index 100% rename from theme-vdoing/mixins/posts.js rename to vdoing/mixins/posts.js diff --git a/theme-vdoing/mixins/titleBadge.js b/vdoing/mixins/titleBadge.js similarity index 100% rename from theme-vdoing/mixins/titleBadge.js rename to vdoing/mixins/titleBadge.js diff --git a/theme-vdoing/node_utils/getSidebarData.js b/vdoing/node_utils/getSidebarData.js similarity index 100% rename from theme-vdoing/node_utils/getSidebarData.js rename to vdoing/node_utils/getSidebarData.js diff --git a/theme-vdoing/node_utils/handlePage.js b/vdoing/node_utils/handlePage.js similarity index 100% rename from theme-vdoing/node_utils/handlePage.js rename to vdoing/node_utils/handlePage.js diff --git a/theme-vdoing/node_utils/modules/fn.js b/vdoing/node_utils/modules/fn.js similarity index 100% rename from theme-vdoing/node_utils/modules/fn.js rename to vdoing/node_utils/modules/fn.js diff --git a/theme-vdoing/node_utils/modules/readFileList.js b/vdoing/node_utils/modules/readFileList.js similarity index 100% rename from theme-vdoing/node_utils/modules/readFileList.js rename to vdoing/node_utils/modules/readFileList.js diff --git a/theme-vdoing/node_utils/setFrontmatter.js b/vdoing/node_utils/setFrontmatter.js similarity index 100% rename from theme-vdoing/node_utils/setFrontmatter.js rename to vdoing/node_utils/setFrontmatter.js diff --git a/theme-vdoing/noopModule.js b/vdoing/noopModule.js similarity index 100% rename from theme-vdoing/noopModule.js rename to vdoing/noopModule.js diff --git a/theme-vdoing/package.json b/vdoing/package.json similarity index 100% rename from theme-vdoing/package.json rename to vdoing/package.json diff --git a/theme-vdoing/styles/arrow.styl b/vdoing/styles/arrow.styl similarity index 100% rename from theme-vdoing/styles/arrow.styl rename to vdoing/styles/arrow.styl diff --git a/theme-vdoing/styles/code-theme.styl b/vdoing/styles/code-theme.styl similarity index 100% rename from theme-vdoing/styles/code-theme.styl rename to vdoing/styles/code-theme.styl diff --git a/theme-vdoing/styles/code.styl b/vdoing/styles/code.styl similarity index 100% rename from theme-vdoing/styles/code.styl rename to vdoing/styles/code.styl diff --git a/theme-vdoing/styles/config.styl b/vdoing/styles/config.styl similarity index 100% rename from theme-vdoing/styles/config.styl rename to vdoing/styles/config.styl diff --git a/theme-vdoing/styles/custom-blocks.styl b/vdoing/styles/custom-blocks.styl similarity index 100% rename from theme-vdoing/styles/custom-blocks.styl rename to vdoing/styles/custom-blocks.styl diff --git a/theme-vdoing/styles/index.styl b/vdoing/styles/index.styl similarity index 100% rename from theme-vdoing/styles/index.styl rename to vdoing/styles/index.styl diff --git a/theme-vdoing/styles/markdown-container.styl b/vdoing/styles/markdown-container.styl similarity index 100% rename from theme-vdoing/styles/markdown-container.styl rename to vdoing/styles/markdown-container.styl diff --git a/theme-vdoing/styles/mobile.styl b/vdoing/styles/mobile.styl similarity index 100% rename from theme-vdoing/styles/mobile.styl rename to vdoing/styles/mobile.styl diff --git a/theme-vdoing/styles/palette.styl b/vdoing/styles/palette.styl similarity index 100% rename from theme-vdoing/styles/palette.styl rename to vdoing/styles/palette.styl diff --git a/theme-vdoing/styles/toc.styl b/vdoing/styles/toc.styl similarity index 100% rename from theme-vdoing/styles/toc.styl rename to vdoing/styles/toc.styl diff --git a/theme-vdoing/styles/wrapper.styl b/vdoing/styles/wrapper.styl similarity index 100% rename from theme-vdoing/styles/wrapper.styl rename to vdoing/styles/wrapper.styl diff --git a/theme-vdoing/templates/dev.html b/vdoing/templates/dev.html similarity index 100% rename from theme-vdoing/templates/dev.html rename to vdoing/templates/dev.html diff --git a/theme-vdoing/templates/ssr.html b/vdoing/templates/ssr.html similarity index 100% rename from theme-vdoing/templates/ssr.html rename to vdoing/templates/ssr.html diff --git a/theme-vdoing/types/index.ts b/vdoing/types/index.ts similarity index 100% rename from theme-vdoing/types/index.ts rename to vdoing/types/index.ts diff --git a/theme-vdoing/util/index.js b/vdoing/util/index.js similarity index 100% rename from theme-vdoing/util/index.js rename to vdoing/util/index.js diff --git a/theme-vdoing/util/postData.js b/vdoing/util/postData.js similarity index 100% rename from theme-vdoing/util/postData.js rename to vdoing/util/postData.js