Update Docusaurus config and dependencies
Changed site URL in docusaurus.config.js, enabled experimental features, and added Bash syntax highlighting. Updated dependencies in package.json to latest versions and added @docusaurus/faster for improved build performance.
This commit is contained in:
@@ -8,7 +8,7 @@ const config = {
|
||||
favicon: '../public/favicon.svg',
|
||||
|
||||
// Set the production url of your site here
|
||||
url: 'https://halo-dev.github.io',
|
||||
url: 'https://docs.upage.ai',
|
||||
// Set the /<baseUrl>/ pathname under which your site is served
|
||||
// For GitHub pages deployment, it is often '/<projectName>/'
|
||||
baseUrl: '/',
|
||||
@@ -30,6 +30,11 @@ const config = {
|
||||
locales: ['zh-Hans'],
|
||||
},
|
||||
|
||||
future: {
|
||||
experimental_faster: true,
|
||||
v4: true,
|
||||
},
|
||||
|
||||
presets: [
|
||||
[
|
||||
'classic',
|
||||
@@ -121,6 +126,7 @@ const config = {
|
||||
prism: {
|
||||
theme: require('prism-react-renderer').themes.github,
|
||||
darkTheme: require('prism-react-renderer').themes.dracula,
|
||||
additionalLanguages: ['bash']
|
||||
},
|
||||
colorMode: {
|
||||
defaultMode: 'light',
|
||||
|
||||
Reference in New Issue
Block a user