plume.config.ts 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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 collections from './collections'
  15. /**
  16. * @see https://theme-plume.vuejs.press/config/basic/
  17. */
  18. export default defineThemeConfig({
  19. logo: './logo.png',
  20. appearance: true, // 配置 深色模式
  21. social: [
  22. ],
  23. // navbarSocialInclude: ['github'], // 允许显示在导航栏的 social 社交链接
  24. // aside: true, // 页内侧边栏, 默认显示在右侧
  25. // outline: [2, 3], // 页内大纲, 默认显示 h2, h3
  26. /**
  27. * 文章版权信息
  28. * @see https://theme-plume.vuejs.press/guide/features/copyright/
  29. */
  30. // copyright: true,
  31. // prevPage: true, // 是否启用上一页链接
  32. // nextPage: true, // 是否启用下一页链接
  33. // createTime: true, // 是否显示文章创建时间
  34. /* 站点页脚 */
  35. // footer: {
  36. // 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>',
  37. // copyright: '',
  38. // },
  39. footer:false,
  40. /**
  41. * @see https://theme-plume.vuejs.press/config/basic/#profile
  42. */
  43. profile: {
  44. avatar: './logo.png',
  45. name: '工业软件平台',
  46. description: '为工业而生',
  47. // circle: true,
  48. // location: '',
  49. // organization: '',
  50. },
  51. navbar,
  52. collections,
  53. /**
  54. * 公告板
  55. * @see https://theme-plume.vuejs.press/guide/features/bulletin/
  56. */
  57. // bulletin: {
  58. // layout: 'top-right',
  59. // contentType: 'markdown',
  60. // title: '公告板标题',
  61. // content: '公告板内容',
  62. // },
  63. /* 过渡动画 @see https://theme-plume.vuejs.press/config/basic/#transition */
  64. // transition: {
  65. // page: true, // 启用 页面间跳转过渡动画
  66. // postList: true, // 启用 博客文章列表过渡动画
  67. // appearance: 'fade', // 启用 深色模式切换过渡动画, 或配置过渡动画类型
  68. // },
  69. })