siteConfig.js
This file
Path
website/siteConfig.js
102 lines · 2.9 KiB · JavaScript
Last changed by
docs: updated sponsor linksMichel Weststratebefore adoptionf97d037
History of this fileTake it
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103/** * 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: "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 */ editUrl: "https://github.com/immerjs/immer/edit/master/docs/", // 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 projectName: "immer", organizationName: "immerjs", gaTrackingId: "UA-65632006-3", // 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", label: "Documentation" }, {href: "https://github.com/immerjs/immer", label: "GitHub"}, {doc: "support", label: "Support Immer"} ],
/* path to images for header/footer */ headerIcon: "img/favicon.ico", footerIcon: "img/favicon.ico", favicon: "img/favicon.ico",
/* Colors for website */ colors: { primaryColor: "#000", secondaryColor: "#22e7c3" },
/* 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()} Michel Weststrate`,
highlight: { // Highlight.js theme to use for syntax highlighting in code blocks. theme: "dracula" },
// Add custom scripts here that would be placed in <script> tags. scripts: [ "https://buttons.github.io/buttons.js", "https://media.ethicalads.io/media/client/ethicalads.min.js" ],
// 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