Skip to content
Myr

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 file

Take it

Merge pull request #421 from immerjs/docsMichel Weststratebefore adoption9be6e46

lines 1–74why, one step back
1/**
2 * Copyright (c) 2017-present, Facebook, Inc.3 *4 * This source code is licensed under the MIT license found in the5 * LICENSE file in the root directory of this source tree.6 */78// See https://docusaurus.io/docs/site-config for all the possible9// site configuration options.1011const siteConfig = {12 title: "Immer", // Title for your website.13 tagline: "Create the next immutable state by mutating the current one",14 url: "https://immerjs.github.io", // Your website URL15 baseUrl: "/immer/", // Base URL for your project */16 editUrl: "https://github.com/immerjs/immer/edit/master/docs/",17 // For github.io type URLs, you would set the url and baseUrl like:18 // url: 'https://facebook.github.io',19 // baseUrl: '/test-site/',2021 // Used for publishing and more22 projectName: "immer",23 organizationName: "immerjs",24 gaTrackingId: "UA-65632006-3",25 // For top-level user or org sites, the organization is still the same.26 // e.g., for the https://JoelMarcey.github.io site, it would be set like...27 // organizationName: 'JoelMarcey'2829 // For no header links in the top nav bar -> headerLinks: [],30 headerLinks: [31 {32 doc: "introduction",33 label: "Documentation"34 },35 {href: "https://github.com/immerjs/immer", label: "GitHub"},36 {doc: "support", label: "Support Immer"}37 ],3839 /* path to images for header/footer */40 headerIcon: "img/favicon.ico",41 footerIcon: "img/favicon.ico",42 favicon: "img/favicon.ico",4344 /* Colors for website */45 colors: {46 primaryColor: "#000",47 secondaryColor: "#22e7c3"48 },4950 /* Custom fonts for website */51 /*52 fonts: {53 myFont: [54 "Times New Roman",55 "Serif"56 ],57 myOtherFont: [58 "-apple-system",59 "system-ui"60 ]61 },62 */6364 // This copyright info is used in /core/Footer.js and blog RSS/Atom feeds.65 copyright: `Copyright © ${new Date().getFullYear()} Michel Weststrate`,6667 highlight: {68 // Highlight.js theme to use for syntax highlighting in code blocks.69 theme: "dracula"70 },7172 // Add custom scripts here that would be placed in <script> tags.73 scripts: [74 "https://buttons.github.io/buttons.js",

docs: updated sponsor linksMichel Weststratebefore adoptionf97d037

line 75why, one step back
75 "https://media.ethicalads.io/media/client/ethicalads.min.js"

Merge pull request #421 from immerjs/docsMichel Weststratebefore adoption9be6e46

lines 76–102why, one step back
76 ],
7778 // On page navigation for the current documentation page.79 onPageNav: "separate",80 // No .html extensions for paths.81 cleanUrl: true,8283 // Open Graph and Twitter card images.84 ogImage: "img/undraw_online.svg",85 twitterImage: "img/undraw_tweetstorm.svg"8687 // For sites with a sizable amount of content, set collapsible to true.88 // Expand/collapse the links and subcategories under categories.89 // docsSideNavCollapsible: true,9091 // Show documentation's last contributor's name.92 // enableUpdateBy: true,9394 // Show documentation's last update time.95 // enableUpdateTime: true,9697 // You may provide arbitrary config keys to be used as needed by your98 // template. For example, if you need your repo's URL...99 // repoUrl: 'https://github.com/facebook/test-site',100}101102module.exports = siteConfig