|
|
|
@ -6,20 +6,20 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
|
|
|
|
|
|
|
|
|
/** @type {import('@docusaurus/types').Config} */
|
|
|
|
|
const config = {
|
|
|
|
|
title: 'My Site',
|
|
|
|
|
title: '浮生绘',
|
|
|
|
|
tagline: 'Dinosaurs are cool',
|
|
|
|
|
favicon: 'img/favicon.ico',
|
|
|
|
|
|
|
|
|
|
// Set the production url of your site here
|
|
|
|
|
url: 'https://your-docusaurus-test-site.com',
|
|
|
|
|
url: 'https://live.aqzscn.cn/',
|
|
|
|
|
// Set the /<baseUrl>/ pathname under which your site is served
|
|
|
|
|
// For GitHub pages deployment, it is often '/<projectName>/'
|
|
|
|
|
baseUrl: '/',
|
|
|
|
|
|
|
|
|
|
// GitHub pages deployment config.
|
|
|
|
|
// If you aren't using GitHub pages, you don't need these.
|
|
|
|
|
organizationName: 'facebook', // Usually your GitHub org/user name.
|
|
|
|
|
projectName: 'docusaurus', // Usually your repo name.
|
|
|
|
|
organizationName: 'gitbobo', // Usually your GitHub org/user name.
|
|
|
|
|
projectName: 'live', // Usually your repo name.
|
|
|
|
|
|
|
|
|
|
onBrokenLinks: 'throw',
|
|
|
|
|
onBrokenMarkdownLinks: 'warn',
|
|
|
|
@ -28,8 +28,8 @@ const config = {
|
|
|
|
|
// metadata like html lang. For example, if your site is Chinese, you may want
|
|
|
|
|
// to replace "en" with "zh-Hans".
|
|
|
|
|
i18n: {
|
|
|
|
|
defaultLocale: 'en',
|
|
|
|
|
locales: ['en'],
|
|
|
|
|
defaultLocale: 'zh-Hans',
|
|
|
|
|
locales: ['zh-Hans'],
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
presets: [
|
|
|
|
@ -45,13 +45,13 @@ const config = {
|
|
|
|
|
editUrl:
|
|
|
|
|
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
|
|
|
|
},
|
|
|
|
|
blog: {
|
|
|
|
|
showReadingTime: true,
|
|
|
|
|
// Please change this to your repo.
|
|
|
|
|
// Remove this to remove the "edit this page" links.
|
|
|
|
|
editUrl:
|
|
|
|
|
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
|
|
|
|
},
|
|
|
|
|
// blog: {
|
|
|
|
|
// showReadingTime: true,
|
|
|
|
|
// // Please change this to your repo.
|
|
|
|
|
// // Remove this to remove the "edit this page" links.
|
|
|
|
|
// editUrl:
|
|
|
|
|
// 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
|
|
|
|
|
// },
|
|
|
|
|
theme: {
|
|
|
|
|
customCss: require.resolve('./src/css/custom.css'),
|
|
|
|
|
},
|
|
|
|
@ -65,7 +65,7 @@ const config = {
|
|
|
|
|
// Replace with your project's social card
|
|
|
|
|
image: 'img/docusaurus-social-card.jpg',
|
|
|
|
|
navbar: {
|
|
|
|
|
title: 'My Site',
|
|
|
|
|
title: '浮生绘',
|
|
|
|
|
logo: {
|
|
|
|
|
alt: 'My Site Logo',
|
|
|
|
|
src: 'img/logo.svg',
|
|
|
|
@ -99,7 +99,7 @@ const config = {
|
|
|
|
|
items: [
|
|
|
|
|
{
|
|
|
|
|
label: 'Tutorial',
|
|
|
|
|
to: '/docs/intro',
|
|
|
|
|
to: 'intro',
|
|
|
|
|
},
|
|
|
|
|
],
|
|
|
|
|
},
|
|
|
|
|