plume.config.ts 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. /**
  2. * 查看以下文档了解主题配置
  3. * - @see https://theme-plume.vuejs.press/config/intro/ 配置说明
  4. * - @see https://theme-plume.vuejs.press/config/theme/ 主题配置项
  5. *
  6. * 请注意,对此文件的修改不会重启 vuepress 服务,而是通过热更新的方式生效
  7. * 但同时部分配置项不支持热更新,请查看文档说明
  8. * 对于不支持热更新的配置项,请在 `.vuepress/config.ts` 文件中配置
  9. *
  10. * 特别的,请不要在两个配置文件中重复配置相同的项,当前文件的配置项会覆盖 `.vuepress/config.ts` 文件中的配置
  11. */
  12. import { defineThemeConfig } from 'vuepress-theme-plume'
  13. import navbar from './navbar'
  14. import { zhCollections } from './collections/index.js'
  15. /**
  16. * @see https://theme-plume.vuejs.press/config/basic/
  17. */
  18. export default defineThemeConfig({
  19. logo: './logo.png',
  20. social: [
  21. ],
  22. // navbarSocialInclude: ['github'], // 允许显示在导航栏的 social 社交链接
  23. // aside: true, // 页内侧边栏, 默认显示在右侧
  24. // outline: [2, 3], // 页内大纲, 默认显示 h2, h3
  25. /**
  26. * 文章版权信息
  27. * @see https://theme-plume.vuejs.press/guide/features/copyright/
  28. */
  29. // copyright: true,
  30. // prevPage: true, // 是否启用上一页链接
  31. // nextPage: true, // 是否启用下一页链接
  32. // createTime: true, // 是否显示文章创建时间
  33. /* 站点页脚 */
  34. // footer: {
  35. // message: 'Power by <a target="_blank" href="https://v2.vuepress.vuejs.org/">VuePress</a> & <a target="_blank" href="https://theme-plume.vuejs.press">vuepress-theme-plume</a>',
  36. // copyright: '',
  37. // },
  38. footer:false,
  39. /**
  40. * @see https://theme-plume.vuejs.press/config/basic/#profile
  41. */
  42. profile: {
  43. avatar: './logo.png',
  44. name: '工业软件平台',
  45. description: '为工业而生',
  46. // circle: true,
  47. // location: '',
  48. // organization: '',
  49. },
  50. locales: {
  51. '/': {
  52. navbar: navbar,
  53. collections: zhCollections,
  54. },
  55. },
  56. /**
  57. * 公告板
  58. * @see https://theme-plume.vuejs.press/guide/features/bulletin/
  59. */
  60. // bulletin: {
  61. // layout: 'top-right',
  62. // contentType: 'markdown',
  63. // title: '公告板标题',
  64. // content: '公告板内容',
  65. // },
  66. /* 过渡动画 @see https://theme-plume.vuejs.press/config/basic/#transition */
  67. transition: {
  68. page: true, // 启用 页面间跳转过渡动画
  69. postList: true,
  70. appearance: 'circle-clip'
  71. },
  72. })