unity-atoms/website/siteConfig.js
2019-10-15 02:08:41 +02:00

99 lines
2.9 KiB
JavaScript

/**
* 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: 'Unity Atoms', // Title for your website.
tagline: 'Tiny modular pieces utilizing the power of Scriptable Objects',
url: 'https://adamramberg.github.io', // Your website URL
baseUrl: '/unity-atoms/',
docsUrl: '',
// Used for publishing and more
projectName: 'unity-atoms',
organizationName: 'AdamRamberg',
// For top-level user or org sites, the organization is still the same.
// e.g., for the https://JoelMarcey.github.io site, it would be set like...
// organizationName: 'JoelMarcey'
// For no header links in the top nav bar -> headerLinks: [],
headerLinks: [
{ doc: 'introduction/quick-start', label: 'Quick Start' },
{ doc: 'api/unityatoms', label: 'API' },
{ href: 'https://www.github.com/AdamRamberg/unity-atoms', label: 'Github' },
],
/* path to images for header/footer */
headerIcon: 'img/atoms-icon-white.png',
footerIcon: 'img/atoms-icon-white.png',
favicon: 'img/favicon.ico',
/* Colors for website */
colors: {
primaryColor: '#5b389b',
secondaryColor: '#8555dc',
},
/* Custom fonts for website */
/*
fonts: {
myFont: [
"Times New Roman",
"Serif"
],
myOtherFont: [
"-apple-system",
"system-ui"
]
},
*/
// This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.
copyright: `Copyright © ${new Date().getFullYear()} Adam Ramberg`,
highlight: {
// Highlight.js theme to use for syntax highlighting in code blocks.
theme: 'default',
defaultLang: 'cs',
},
// Add custom scripts here that would be placed in <script> tags.
scripts: [
'https://buttons.github.io/buttons.js',
'https://cdnjs.cloudflare.com/ajax/libs/clipboard.js/2.0.0/clipboard.min.js',
'/unity-atoms/js/code-block-buttons.js',
],
stylesheets: ['/unity-atoms/css/code-block-buttons.css'],
// On page navigation for the current documentation page.
onPageNav: 'separate',
// No .html extensions for paths.
cleanUrl: true,
// Open Graph and Twitter card images.
ogImage: 'img/undraw_online.svg',
twitterImage: 'img/undraw_tweetstorm.svg',
// For sites with a sizable amount of content, set collapsible to true.
// Expand/collapse the links and subcategories under categories.
// docsSideNavCollapsible: true,
// Show documentation's last contributor's name.
// enableUpdateBy: true,
// Show documentation's last update time.
// 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/AdamRamberg/unity-atoms',
};
module.exports = siteConfig;