grid-apps-cmms/conf/docusaurus.config.js

66 lines
1.3 KiB
JavaScript
Raw Permalink Normal View History

2025-05-16 14:04:52 -06:00
module.exports = {
2025-05-17 16:11:39 -06:00
url: 'https://docs.grid.space',
2025-05-16 14:04:52 -06:00
title: 'grid.space docs',
2025-05-17 16:52:10 -06:00
baseUrl : '/',
2025-06-10 11:44:45 -06:00
favicon: 'img/gs-logo.png',
2025-05-16 14:04:52 -06:00
staticDirectories: ['./docs/static/'],
// ...
plugins: [
require.resolve('docusaurus-lunr-search'),
['@docusaurus/plugin-client-redirects',
{
redirects: [
// /docs/oldDoc -> /docs/newDoc
{
to: '/kiri-moto',
from: '/projects/kiri-moto',
},
// Redirect from multiple old paths to the new path
{
to: '/gridbot',
from: '/projects/gridbot',
},
{
to: '/mesh-tool',
from: '/projects/mesh-tool',
},
],
}],
],
2025-05-16 14:04:52 -06:00
presets: [
[
'@docusaurus/preset-classic',
{
docs: {
/* docs plugin options */
path: 'docs',
routeBasePath: '/',
sidebarPath: './docs/sidebars.js',
// sidebar:{
// hideable: true,
// }
},
2025-05-17 16:51:37 -06:00
blog: false,
theme: {
customCss: './docs/src/custom.css',
},
2025-05-16 14:04:52 -06:00
},
],
],
2025-05-17 15:48:41 -06:00
themeConfig:{
navbar:{
title: "Grid.Space Docs",
logo: {
alt: "Grid.Space Logo",
src: "img/gs-logo.png",
href: "https://docs.grid.space",
width: 32,
height:32,
},
},
},
2025-05-16 14:04:52 -06:00
};