Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 

63 строки
1.6 KiB

  1. /**
  2. * Copyright (c) 2017-present, Facebook, Inc.
  3. *
  4. * This source code is licensed under the MIT license found in the
  5. * LICENSE file in the root directory of this source tree.
  6. */
  7. // See https://docusaurus.io/docs/site-config for all the possible
  8. // site configuration options.
  9. const siteConfig = {
  10. title: 'Diagrams',
  11. tagline: 'Diagram as Code',
  12. url: 'https://diagrams.mingrammer.com',
  13. baseUrl: '/',
  14. cname: 'diagrams.mingrammer.com',
  15. projectName: 'diagrams',
  16. organizationName: 'mingrammer',
  17. headerLinks: [
  18. {doc: 'getting-started/installation', label: 'Docs'},
  19. {doc: 'guides/diagram', label: 'Guides'},
  20. {doc: 'nodes/aws', label: 'Nodes'},
  21. {href: 'https://github.com/mingrammer/diagrams', label: 'GitHub'},
  22. ],
  23. headerIcon: 'img/diagrams.ico',
  24. footerIcon: 'img/diagrams.ico',
  25. favicon: 'img/diagrams.ico',
  26. colors: {
  27. primaryColor: '#5E73E5',
  28. secondaryColor: '#5E89E5',
  29. },
  30. copyright: `Copyright © ${new Date().getFullYear()} mingrammer`,
  31. highlight: {
  32. // Highlight.js theme to use for syntax highlighting in code blocks.
  33. theme: 'default',
  34. },
  35. // Add custom scripts here that would be placed in <script> tags.
  36. scripts: ['https://buttons.github.io/buttons.js'],
  37. // On page navigation for the current documentation page.
  38. onPageNav: 'separate',
  39. cleanUrl: true,
  40. // Open Graph and Twitter card images.
  41. facebookComments: false,
  42. twitterImage: 'img/diagrams.png',
  43. ogImage: 'img/diagrams.png',
  44. docsSideNavCollapsible: false,
  45. enableUpdateTime: true,
  46. gaTrackingId: 'UA-84081627-3',
  47. };
  48. module.exports = siteConfig;