reorder: everythinggg

This commit is contained in:
Nova
2024-08-22 05:26:51 -04:00
parent f04a3eabbc
commit d67dc8fc4d
14 changed files with 238 additions and 195 deletions

View File

@@ -1,22 +1,22 @@
const lightCodeTheme = require('prism-react-renderer/themes/vsLight');
const darkCodeTheme = require('prism-react-renderer/themes/vsDark');
const lightCodeTheme = require("prism-react-renderer/themes/vsLight");
const darkCodeTheme = require("prism-react-renderer/themes/vsDark");
/** @type {import('@docusaurus/types').DocusaurusConfig} */
module.exports = {
title: 'Stardust XR',
tagline: 'We Fight for the Users!',
url: 'https://stardustxr.org',
baseUrl: '/',
title: "Stardust XR",
tagline: "We Fight for the Users!",
url: "https://stardustxr.org",
baseUrl: "/",
trailingSlash: false,
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'warn',
favicon: 'img/favicon.ico',
organizationName: 'StardustXR', // Usually your GitHub org/user name.
projectName: 'website', // Usually your repo name.
onBrokenLinks: "throw",
onBrokenMarkdownLinks: "warn",
favicon: "img/favicon.ico",
organizationName: "StardustXR", // Usually your GitHub org/user name.
projectName: "website", // Usually your repo name.
markdown: {
mermaid: true,
},
themes: ['@docusaurus/theme-mermaid'],
themes: ["@docusaurus/theme-mermaid"],
themeConfig: {
colorMode: {
defaultMode: "dark",
@@ -24,105 +24,99 @@ module.exports = {
respectPrefersColorScheme: false,
},
navbar: {
title: 'Stardust XR',
title: "Stardust XR",
logo: {
alt: 'Stardust XR logo, a yellow astroid with smaller white astroids around it',
src: 'img/icon.webp',
alt: "Stardust XR logo, a yellow astroid with smaller white astroids around it",
src: "img/icon.webp",
},
items: [
{
href: '/roadmap',
position: 'left',
label: 'Roadmap',
href: "/roadmap",
position: "left",
label: "Roadmap",
},
{
type: 'doc',
docId: 'overview',
position: 'left',
label: 'Docs',
href: "https://twitter.com/stardustxr",
label: "Twitter",
position: "right",
},
{
href: 'https://twitter.com/stardustxr',
label: 'Twitter',
position: 'right',
href: "https://discord.gg/A9w7fKE",
label: "Discord",
position: "right",
},
{
href: 'https://discord.gg/A9w7fKE',
label: 'Discord',
position: 'right',
href: "https://matrix.to/#/#stardustxr:matrix.org",
label: "Matrix",
position: "right",
},
{
href: 'https://matrix.to/#/#stardustxr:matrix.org',
label: 'Matrix',
position: 'right',
href: "https://github.com/StardustXR",
label: "GitHub",
position: "right",
},
{
href: 'https://github.com/StardustXR',
label: 'GitHub',
position: 'right',
},
{
href: 'https://github.com/sponsors/technobaboo',
label: 'Sponsor This',
position: 'right',
href: "https://github.com/sponsors/technobaboo",
label: "Sponsor This",
position: "right",
},
],
},
footer: {
style: 'dark',
style: "dark",
links: [
{
title: 'Docs',
title: "Docs",
items: [
{
label: 'Roadmap',
href: 'roadmap',
label: "Roadmap",
href: "roadmap",
},
{
label: 'Getting Started',
to: '/docs/getting-started/tutorial',
label: "Getting Started",
to: "/docs/get-started/setup-openxr",
},
],
},
{
title: 'Community',
title: "Community",
items: [
{
label: 'Discord',
href: 'https://discord.gg/A9w7fKE',
label: "Discord",
href: "https://discord.gg/A9w7fKE",
},
{
label: 'Matrix',
href: 'https://matrix.to/#/#stardustxr:matrix.org',
label: "Matrix",
href: "https://matrix.to/#/#stardustxr:matrix.org",
},
{
label: 'Twitter',
href: 'https://twitter.com/stardustxr',
label: "Twitter",
href: "https://twitter.com/stardustxr",
},
{
label: 'Stardust XR (GitHub)',
href: 'https://github.com/StardustXR',
label: "Stardust XR (GitHub)",
href: "https://github.com/StardustXR",
},
{
label: 'Sponsor This',
href: 'https://github.com/sponsors/technobaboo',
label: "Sponsor This",
href: "https://github.com/sponsors/technobaboo",
},
],
},
{
title: 'Code',
title: "Code",
items: [
{
label: 'Stardust XR (Server)',
href: 'https://github.com/StardustXR/stardust-xr-server',
label: "Stardust XR (Server)",
href: "https://github.com/StardustXR/stardust-xr-server",
},
{
label: 'stardust-xr (includes Fusion)',
href: 'https://github.com/StardustXR/stardust-xr',
label: "stardust-xr (includes Fusion)",
href: "https://github.com/StardustXR/stardust-xr",
},
{
label: 'Flatland',
href: 'https://github.com/StardustXR/flatland',
label: "Flatland",
href: "https://github.com/StardustXR/flatland",
},
],
},
@@ -136,16 +130,15 @@ module.exports = {
},
presets: [
[
'@docusaurus/preset-classic',
"@docusaurus/preset-classic",
{
docs: {
sidebarPath: require.resolve('./sidebars.js'),
sidebarPath: require.resolve("./sidebars.js"),
// Please change this to your repo.
editUrl:
'https://github.com/StardustXR/website/edit/main/',
editUrl: "https://github.com/StardustXR/website/edit/main/",
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
customCss: require.resolve("./src/css/custom.css"),
},
},
],