Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.

siteConfig.js 1.6 KiB

4 anni fa
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  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. {href: 'https://www.buymeacoffee.com/mingrammer', label: 'Sponsoring'},
  23. ],
  24. headerIcon: 'img/diagrams.ico',
  25. footerIcon: 'img/diagrams.ico',
  26. favicon: 'img/diagrams.ico',
  27. colors: {
  28. primaryColor: '#5E73E5',
  29. secondaryColor: '#5E89E5',
  30. },
  31. copyright: `Copyright © ${new Date().getFullYear()} mingrammer`,
  32. highlight: {
  33. // Highlight.js theme to use for syntax highlighting in code blocks.
  34. theme: 'default',
  35. },
  36. // Add custom scripts here that would be placed in <script> tags.
  37. scripts: ['https://buttons.github.io/buttons.js'],
  38. // On page navigation for the current documentation page.
  39. onPageNav: 'separate',
  40. cleanUrl: true,
  41. // Open Graph and Twitter card images.
  42. facebookComments: false,
  43. twitterImage: 'img/diagrams.png',
  44. ogImage: 'img/diagrams.png',
  45. docsSideNavCollapsible: false,
  46. enableUpdateTime: true,
  47. gaTrackingId: 'UA-84081627-3',
  48. };
  49. module.exports = siteConfig;