siteConfig.js 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. // See https://docusaurus.io/docs/site-config.html for all the possible site configuration options.
  2. const siteConfig = {
  3. // Metadata
  4. title: 'express-validator',
  5. tagline: 'express-validator docs',
  6. url: 'https://express-validator.github.io',
  7. baseUrl: '/',
  8. repoPath: 'express-validator/express-validator',
  9. projectName: 'express-validator.github.io',
  10. organizationName: 'express-validator',
  11. // Website customization
  12. headerLinks: [
  13. {doc: 'index', label: 'Docs'},
  14. {doc: 'check-api', label: 'API'},
  15. {href: 'https://github.com/express-validator/express-validator', label: 'GitHub'},
  16. ],
  17. headerIcon: 'img/logo.svg',
  18. footerIcon: 'img/logo.svg',
  19. favicon: 'img/favicon.png',
  20. colors: {
  21. primaryColor: 'rgb(107, 0, 177)',
  22. secondaryColor: 'rgb(93, 0, 154)',
  23. },
  24. onPageNav: 'separate',
  25. scripts: ['https://buttons.github.io/buttons.js'],
  26. // Features
  27. editUrl: 'https://github.com/express-validator/express-validator/edit/master/docs/',
  28. copyright:
  29. 'Copyright © ' +
  30. new Date().getFullYear() +
  31. ' express-validator',
  32. highlight: {
  33. // Highlight.js theme to use for syntax highlighting in code blocks
  34. theme: 'default',
  35. }
  36. };
  37. module.exports = siteConfig;