-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
062b645
commit 2d9321c
Showing
3 changed files
with
66 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,77 +1,83 @@ | ||
// @ts-check | ||
// Note: type annotations allow type checking and IDEs autocompletion | ||
|
||
const themeConfig = require('./docusaurus-config/theme-config'); | ||
const getTopNav = require('./docusaurus-config/nav'); | ||
|
||
|
||
const themeConfig = require("./docusaurus-config/theme-config"); | ||
const getTopNav = require("./docusaurus-config/nav"); | ||
|
||
/** @type {import('@docusaurus/types').Config} */ | ||
const config = { | ||
title: 'Wilderness Labs Developer Portal', | ||
tagline: 'Wilderness Labs developer documentation and resource site.', | ||
favicon: 'img/favicon.ico', | ||
staticDirectories: ['docs', 'static'], | ||
title: "Wilderness Labs Developer Portal", | ||
tagline: "Wilderness Labs developer documentation and resource site.", | ||
favicon: "img/favicon.ico", | ||
staticDirectories: ["docs", "static"], | ||
customFields: { | ||
email: 'hello@wildernesslabs.co', | ||
twitter_username: 'wildernesslabs', | ||
github_username: 'wildernesslabs', | ||
topNav: getTopNav() | ||
email: "hello@wildernesslabs.co", | ||
twitter_username: "wildernesslabs", | ||
github_username: "wildernesslabs", | ||
topNav: getTopNav(), | ||
tabGroups: [ | ||
{ | ||
id: "os", | ||
defaultTab: "windows", | ||
}, | ||
{ | ||
id: "ide", | ||
defaultTab: "visualstudio2022", | ||
}, | ||
], | ||
}, | ||
|
||
plugins: ['docusaurus-plugin-sass'], | ||
plugins: ["docusaurus-plugin-sass"], | ||
|
||
// Set the production url of your site here | ||
url: 'https://developer-docusaurus.wildernesslabs.co/', | ||
url: "https://developer-docusaurus.wildernesslabs.co/", | ||
// Set the /<baseUrl>/ pathname under which your site is served | ||
// For GitHub pages deployment, it is often '/<projectName>/' | ||
baseUrl: '/', | ||
baseUrl: "/", | ||
trailingSlash: true, | ||
|
||
// GitHub pages deployment config. | ||
// If you aren't using GitHub pages, you don't need these. | ||
organizationName: 'WildernessLabs', // Usually your GitHub org/user name. | ||
projectName: 'Documentation', // Usually your repo name. | ||
organizationName: "WildernessLabs", // Usually your GitHub org/user name. | ||
projectName: "Documentation", // Usually your repo name. | ||
|
||
onBrokenLinks: 'warn', | ||
onBrokenMarkdownLinks: 'warn', | ||
onBrokenLinks: "warn", | ||
onBrokenMarkdownLinks: "warn", | ||
|
||
// Even if you don't use internalization, you can use this field to set useful | ||
// 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: "en", | ||
locales: ["en"], | ||
}, | ||
|
||
presets: [ | ||
[ | ||
'classic', | ||
"classic", | ||
/** @type {import('@docusaurus/preset-classic').Options} */ | ||
({ | ||
docs: { | ||
sidebarPath: require.resolve('./src/sidebars/sidebars.js'), | ||
sidebarPath: require.resolve("./src/sidebars/sidebars.js"), | ||
// Please change this to your repo. | ||
// Remove this to remove the "edit this page" links. | ||
editUrl: | ||
'https://github.com/WildernessLabs/Documentation/tree/main/', | ||
routeBasePath: '/' // <-- removes "docs" from url | ||
editUrl: "https://github.com/WildernessLabs/Documentation/tree/main/", | ||
routeBasePath: "/", // <-- removes "docs" from url | ||
}, | ||
blog: { | ||
showReadingTime: true, | ||
// Please change this to your repo. | ||
// Remove this to remove the "edit this page" links. | ||
editUrl: | ||
'https://github.com/WildernessLabs/Documentation/tree/main/', | ||
editUrl: "https://github.com/WildernessLabs/Documentation/tree/main/", | ||
}, | ||
theme: { | ||
customCss: require.resolve('./src/css/custom.scss'), | ||
customCss: require.resolve("./src/css/custom.scss"), | ||
}, | ||
}), | ||
], | ||
], | ||
|
||
themeConfig | ||
themeConfig, | ||
}; | ||
|
||
module.exports = config; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters