/** * 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. */ import { resolve } from 'path' import type { Options, ThemeConfig } from '@docusaurus/preset-classic' import type { Config } from '@docusaurus/types' import type { Options as UmamiOptions } from '@dipakparmar/docusaurus-plugin-umami' // See https://docusaurus.io/docs/site-config for all the possible // site configuration options. const siteConfig: Config = { presets: [ [ '@docusaurus/preset-classic', { docs: { path: '../docs', routeBasePath: '/', sidebarPath: require.resolve('./sidebars.js'), showLastUpdateTime: true, editUrl: 'https://github.com/reduxjs/react-redux/edit/master/website', include: [ '{api,introduction,using-react-redux,tutorials}/*.{md,mdx}', 'troubleshooting.md', ], // no other way to exclude node_modules }, theme: { customCss: [ require.resolve('./static/css/custom.css'), require.resolve('./static/css/404.css'), require.resolve('./static/css/codeblock.css'), ], }, } satisfies Options, ], ], title: 'React Redux', // Title for your website. onBrokenLinks: 'throw', tagline: 'Official React bindings for Redux', url: 'https://react-redux.js.org', // Your website URL baseUrl: '/', // Used for publishing and more projectName: 'react-redux', organizationName: 'reduxjs', // For no header links in the top nav bar -> headerLinks: [], /* path to images for header/footer */ favicon: 'img/favicon/favicon.ico', // Add custom scripts here that would be placed in