2019-09-12 12:57:29 +02:00
|
|
|
/**
|
|
|
|
|
* 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 = {
|
2019-09-12 13:15:53 +02:00
|
|
|
title: "Immer", // Title for your website.
|
|
|
|
|
tagline: "Create the next immutable state by mutating the current one",
|
|
|
|
|
url: "https://immerjs.github.io", // Your website URL
|
|
|
|
|
baseUrl: "/immer/", // Base URL for your project */
|
2019-09-12 20:18:26 +02:00
|
|
|
editUrl: "https://github.com/immerjs/immer/edit/master/docs/",
|
2019-09-12 12:57:29 +02:00
|
|
|
// For github.io type URLs, you would set the url and baseUrl like:
|
|
|
|
|
// url: 'https://facebook.github.io',
|
|
|
|
|
// baseUrl: '/test-site/',
|
|
|
|
|
|
|
|
|
|
// Used for publishing and more
|
2019-09-12 13:15:53 +02:00
|
|
|
projectName: "immer",
|
|
|
|
|
organizationName: "immerjs",
|
2019-09-12 20:18:26 +02:00
|
|
|
gaTrackingId: "UA-65632006-3",
|
2019-09-12 12:57:29 +02:00
|
|
|
// 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: [],
|
2019-09-13 11:26:51 +02:00
|
|
|
headerLinks: [
|
|
|
|
|
{
|
|
|
|
|
doc: "introduction",
|
|
|
|
|
label: "Documentation"
|
|
|
|
|
},
|
|
|
|
|
{href: "https://github.com/immerjs/immer", label: "GitHub"},
|
|
|
|
|
{doc: "support", label: "Support Immer"}
|
|
|
|
|
],
|
2019-09-12 12:57:29 +02:00
|
|
|
|
|
|
|
|
/* path to images for header/footer */
|
|
|
|
|
headerIcon: "img/favicon.ico",
|
|
|
|
|
footerIcon: "img/favicon.ico",
|
|
|
|
|
favicon: "img/favicon.ico",
|
|
|
|
|
|
|
|
|
|
/* Colors for website */
|
|
|
|
|
colors: {
|
2019-09-12 13:15:53 +02:00
|
|
|
primaryColor: "#000",
|
|
|
|
|
secondaryColor: "#22e7c3"
|
2019-09-12 12:57:29 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
/* 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.
|
2019-09-12 13:15:53 +02:00
|
|
|
copyright: `Copyright © ${new Date().getFullYear()} Michel Weststrate`,
|
2019-09-12 12:57:29 +02:00
|
|
|
|
|
|
|
|
highlight: {
|
|
|
|
|
// Highlight.js theme to use for syntax highlighting in code blocks.
|
2019-09-12 13:15:53 +02:00
|
|
|
theme: "dracula"
|
2019-09-12 12:57:29 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
|
|
// Add custom scripts here that would be placed in <script> tags.
|
2019-09-12 20:18:26 +02:00
|
|
|
scripts: [
|
|
|
|
|
"https://buttons.github.io/buttons.js",
|
|
|
|
|
"https://codefund.io/properties/439/funder.js"
|
|
|
|
|
],
|
2019-09-12 12:57:29 +02:00
|
|
|
|
|
|
|
|
// 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/facebook/test-site',
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
module.exports = siteConfig
|