You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
diagrams/website/siteConfig.js

65 lines
1.7 KiB

/**
* Copyright (c) 2017-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
// See https://docusaurus.io/docs/site-config for all the possible
// site configuration options.
const siteConfig = {
title: 'Diagrams',
tagline: 'Diagram as Code',
url: 'diagrams.mingrrammer.com',
baseUrl: '/',
cname: 'diagrams.mingrrammer.com',
projectName: 'diagrams',
organizationName: 'mingrammer',
headerLinks: [
{doc: 'installation', label: 'Docs'},
{doc: 'diagram', label: 'Guides'},
{href: 'https://github.com/mingrammer/diagrams', label: 'GitHub'},
],
headerIcon: 'img/diagrams.ico',
footerIcon: 'img/diagrams.ico',
favicon: 'img/diagrams.ico',
colors: {
primaryColor: '#5E73E5',
secondaryColor: '#5E89E5',
},
copyright: `Copyright © ${new Date().getFullYear()} mingrammer`,
highlight: {
// Highlight.js theme to use for syntax highlighting in code blocks.
theme: 'default',
},
// Add custom scripts here that would be placed in <script> tags.
scripts: ['https://buttons.github.io/buttons.js'],
// On page navigation for the current documentation page.
onPageNav: 'separate',
cleanUrl: true,
// Open Graph and Twitter card images.
ogImage: 'img/diagrams.svg',
docsSideNavCollapsible: false,
// Show documentation's last contributor's name.
// enableUpdateBy: true,
enableUpdateTime: true,
// You may provide arbitrary config keys to be used as needed by your
// template. For example, if you need your repo's URL...
// repoUrl: 'https://github.com/facebook/test-site',
};
module.exports = siteConfig;