Skip to content

Commit 661a372

Browse files
authored
Update docusaurus.config.js
1 parent 5a53783 commit 661a372

File tree

1 file changed

+27
-25
lines changed

1 file changed

+27
-25
lines changed

docusaurus.config.js

Lines changed: 27 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const config = {
1818
url: 'https://docs.basisvr.org',
1919
// Set the /<baseUrl>/ pathname under which your site is served
2020
// For GitHub pages deployment, it is often '/<projectName>/'
21-
baseUrl: '/BasisDocs/docs/',
21+
baseUrl: '/BasisDocs/',
2222

2323
// GitHub pages deployment config.
2424
// If you aren't using GitHub pages, you don't need these.
@@ -43,21 +43,23 @@ const config = {
4343
({
4444
docs: {
4545
sidebarPath: './sidebars.js',
46+
path: 'docs',
47+
routeBasePath: 'docs',
4648
// Please change this to your repo.
4749
// Remove this to remove the "edit this page" links.
48-
editUrl:
49-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
50+
//editUrl:
51+
// 'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
5052
},
51-
blog: {
52-
showReadingTime: true,
53-
feedOptions: {
54-
type: ['rss', 'atom'],
55-
xslt: true,
56-
},
53+
//blog: {
54+
// showReadingTime: true,
55+
// feedOptions: {
56+
// type: ['rss', 'atom'],
57+
// xslt: true,
58+
// },
5759
// Please change this to your repo.
5860
// Remove this to remove the "edit this page" links.
5961
editUrl:
60-
'https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/',
62+
'https://github.com/BasisVR/BasisDocs/',
6163
// Useful options to enforce blogging best practices
6264
onInlineTags: 'warn',
6365
onInlineAuthors: 'warn',
@@ -74,11 +76,14 @@ const config = {
7476
/** @type {import('@docusaurus/preset-classic').ThemeConfig} */
7577
({
7678
// Replace with your project's social card
77-
image: 'img/docusaurus-social-card.jpg',
79+
image: 'img/basisvr-social-card.jpg',
80+
colorMode: {
81+
defaultMode: 'dark',
82+
},
7883
navbar: {
79-
title: 'My Site',
84+
title: 'BasisVR',
8085
logo: {
81-
alt: 'My Site Logo',
86+
alt: 'BasisVR Logo',
8287
src: 'img/logo.svg',
8388
},
8489
items: [
@@ -111,35 +116,32 @@ const config = {
111116
{
112117
title: 'Community',
113118
items: [
114-
{
115-
label: 'Stack Overflow',
116-
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
117-
},
118119
{
119120
label: 'Discord',
120-
href: 'https://discordapp.com/invite/docusaurus',
121+
href: 'https://discord.gg/aCzSPKEW2v',
121122
},
123+
{
124+
label: 'BSky',
125+
href: 'https://bsky.app/profile/basisvr.org',
126+
},
122127
{
123128
label: 'X',
124-
href: 'https://x.com/docusaurus',
129+
href: 'https://x.com/basisvr',
125130
},
126131
],
127132
},
128133
{
129134
title: 'More',
130135
items: [
131-
{
132-
label: 'Blog',
133-
to: '/blog',
134-
},
135136
{
136137
label: 'GitHub',
137-
href: 'https://github.com/facebook/docusaurus',
138+
href: 'https://github.com/BasisVR/Basis',
138139
},
139140
],
140141
},
141142
],
142-
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
143+
//copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
144+
copyright: `Distributed under the MIT License. See MIT License for more information.`,
143145
},
144146
prism: {
145147
theme: prismThemes.github,

0 commit comments

Comments
 (0)