shared.ts 743 B

123456789101112131415161718192021222324252627282930313233
  1. import { defineConfig } from 'vitepress'
  2. function thisYear() {
  3. return new Date().getFullYear()
  4. }
  5. export const sharedConfig = defineConfig({
  6. title: 'Nginx UI',
  7. description: 'Yet another Nginx Web UI',
  8. lastUpdated: true,
  9. themeConfig: {
  10. logo: '/logo.svg',
  11. search: {
  12. provider: 'local'
  13. },
  14. editLink: {
  15. pattern: 'https://github.com/0xJacky/nginx-ui/edit/master/docs/:path'
  16. },
  17. footer: {
  18. message: 'Released under the AGPL-3.0 License.',
  19. copyright: 'Copyright © 2021-' + thisYear() + ' Nginx UI Team'
  20. },
  21. socialLinks: [
  22. {icon: 'github', link: 'https://github.com/0xJacky/nginx-ui'}
  23. ]
  24. }
  25. })