feat: establish Corp v1 Board portal
Build and publish Corp v1 Board portal / build (push) Successful in 34s
Build and publish Corp v1 Board portal / build (push) Successful in 34s
This commit is contained in:
+12
-9
@@ -5,16 +5,16 @@ import type * as Preset from '@docusaurus/preset-classic';
|
||||
const docsCommon = {
|
||||
showLastUpdateAuthor: true,
|
||||
showLastUpdateTime: true,
|
||||
editUrl: 'https://gitea.lego-cloud.eu/corp-v1/sterring-commitee/_edit/main/',
|
||||
editUrl: 'https://gitea.lego-cloud.eu/corp-v1/portal/_edit/main/',
|
||||
};
|
||||
|
||||
const config: Config = {
|
||||
title: 'Corp v1 Steering Committee',
|
||||
tagline: 'Project governance, teams, and membership registry',
|
||||
title: 'Corp v1 Board',
|
||||
tagline: 'Project governance, Board, teams, and membership registry',
|
||||
url: 'https://pages.apps.lego-cloud.eu',
|
||||
baseUrl: '/corp-v1/sterring-commitee/',
|
||||
baseUrl: '/corp-v1/portal/',
|
||||
organizationName: 'corp-v1',
|
||||
projectName: 'sterring-commitee',
|
||||
projectName: 'portal',
|
||||
trailingSlash: true,
|
||||
onBrokenLinks: 'throw',
|
||||
markdown: {hooks: {onBrokenMarkdownLinks: 'throw'}},
|
||||
@@ -37,6 +37,7 @@ const config: Config = {
|
||||
['@docusaurus/plugin-content-docs', {...docsCommon, id: 'projects', path: 'docs/projects', routeBasePath: 'projects', sidebarPath: './sidebars/projects.ts'}],
|
||||
['@docusaurus/plugin-content-docs', {...docsCommon, id: 'teams', path: 'docs/teams', routeBasePath: 'teams', sidebarPath: './sidebars/teams.ts'}],
|
||||
['@docusaurus/plugin-content-docs', {...docsCommon, id: 'members', path: 'docs/members', routeBasePath: 'members', sidebarPath: './sidebars/members.ts'}],
|
||||
['@docusaurus/plugin-content-docs', {...docsCommon, id: 'board', path: 'docs/board', routeBasePath: 'board', sidebarPath: './sidebars/board.ts'}],
|
||||
['@docusaurus/plugin-content-docs', {...docsCommon, id: 'governance', path: 'docs/governance', routeBasePath: 'governance', sidebarPath: './sidebars/governance.ts'}],
|
||||
],
|
||||
themes: [[
|
||||
@@ -46,7 +47,7 @@ const config: Config = {
|
||||
indexDocs: true,
|
||||
indexBlog: false,
|
||||
indexPages: true,
|
||||
docsRouteBasePath: ['/', 'projects', 'teams', 'members', 'governance'],
|
||||
docsRouteBasePath: ['/', 'projects', 'teams', 'members', 'board', 'governance'],
|
||||
language: ['en'],
|
||||
highlightSearchTermsOnTargetPage: true,
|
||||
explicitSearchResultPath: true,
|
||||
@@ -57,13 +58,14 @@ const config: Config = {
|
||||
themeConfig: {
|
||||
colorMode: {defaultMode: 'dark', disableSwitch: false, respectPrefersColorScheme: true},
|
||||
navbar: {
|
||||
title: 'CORP V1 / STEERING',
|
||||
title: 'CORP V1 / BOARD',
|
||||
items: [
|
||||
{type: 'docSidebar', sidebarId: 'projectsSidebar', docsPluginId: 'projects', label: 'Projects', position: 'left'},
|
||||
{type: 'docSidebar', sidebarId: 'teamsSidebar', docsPluginId: 'teams', label: 'Teams', position: 'left'},
|
||||
{type: 'docSidebar', sidebarId: 'membersSidebar', docsPluginId: 'members', label: 'Members', position: 'left'},
|
||||
{type: 'docSidebar', sidebarId: 'boardSidebar', docsPluginId: 'board', label: 'Board', position: 'left'},
|
||||
{type: 'docSidebar', sidebarId: 'governanceSidebar', docsPluginId: 'governance', label: 'Governance', position: 'left'},
|
||||
{href: 'https://gitea.lego-cloud.eu/corp-v1/sterring-commitee', label: 'Gitea ↗', position: 'right'},
|
||||
{href: 'https://gitea.lego-cloud.eu/corp-v1/portal', label: 'Gitea ↗', position: 'right'},
|
||||
],
|
||||
},
|
||||
footer: {
|
||||
@@ -72,11 +74,12 @@ const config: Config = {
|
||||
{label: 'Projects', to: '/projects/'},
|
||||
{label: 'Teams', to: '/teams/'},
|
||||
{label: 'Members', to: '/members/'},
|
||||
{label: 'Board', to: '/board/'},
|
||||
]}, {title: 'Governance', items: [
|
||||
{label: 'Project lifecycle', to: '/governance/project-lifecycle/'},
|
||||
{label: 'Decision log', to: '/governance/decisions/'},
|
||||
]}],
|
||||
copyright: `© ${new Date().getFullYear()} Corp v1 Steering Committee`,
|
||||
copyright: `© ${new Date().getFullYear()} Corp v1 Board`,
|
||||
},
|
||||
prism: {theme: prismThemes.github, darkTheme: prismThemes.oneDark},
|
||||
} satisfies Preset.ThemeConfig,
|
||||
|
||||
Reference in New Issue
Block a user