microsoft/hve-core

Public

mirrored fromhttps://github.com/microsoft/hve-coreAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
68b04bc3b47266718f1570cf7f2cb7908467f8d4

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

docs/docusaurus/docusaurus.config.js

151lines · modecode

1// @ts-check
2import {themes as prismThemes} from 'prism-react-renderer';
3import remarkGithubAlert from 'remark-github-blockquote-alert';
4
5/** @type {import('@docusaurus/types').Config} */
6const config = {
7 title: 'HVE Core',
8 tagline: 'AI-Driven Software Development Across the Full Lifecycle',
9 favicon: 'img/microsoft-logo.svg',
10
11 future: {
12 v4: true,
13 },
14
15 url: 'https://microsoft.github.io',
16 baseUrl: '/hve-core/',
17
18 organizationName: 'microsoft',
19 projectName: 'hve-core',
20
21 onBrokenLinks: 'throw',
22
23 markdown: {
24 mermaid: true,
25 hooks: {
26 onBrokenMarkdownLinks: 'throw',
27 },
28 },
29
30 i18n: {
31 defaultLocale: 'en',
32 locales: ['en'],
33 },
34
35 presets: [
36 [
37 'classic',
38 /** @type {import('@docusaurus/preset-classic').Options} */
39 ({
40 docs: {
41 path: '../',
42 exclude: [
43 'docusaurus/**',
44 'announcements/**',
45 '**/_*.{js,jsx,ts,tsx,md,mdx}',
46 '**/_*/**',
47 '**/*.test.{js,jsx,ts,tsx}',
48 '**/__tests__/**',
49 ],
50 sidebarPath: './sidebars.js',
51 showLastUpdateTime: true,
52 showLastUpdateAuthor: true,
53 editUrl: ({ docPath }) =>
54 `https://github.com/microsoft/hve-core/tree/main/docs/${docPath}`,
55 remarkPlugins: [remarkGithubAlert],
56 },
57 blog: false,
58 theme: {
59 customCss: './src/css/custom.css',
60 },
61 }),
62 ],
63 ],
64
65 themes: ['@docusaurus/theme-mermaid'],
66
67 themeConfig:
68 /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
69 ({
70 image: 'img/microsoft-logo.svg',
71 colorMode: {
72 respectPrefersColorScheme: true,
73 },
74 navbar: {
75 title: 'HVE Core',
76 logo: {
77 alt: 'Microsoft',
78 src: 'img/microsoft-logo.svg',
79 width: 26,
80 height: 26,
81 },
82 items: [
83 {
84 type: 'docSidebar',
85 sidebarId: 'docsSidebar',
86 position: 'left',
87 label: 'Documentation',
88 },
89 {
90 type: 'dropdown',
91 label: 'Topics',
92 position: 'left',
93 items: [
94 { label: 'Getting Started', to: '/docs/category/getting-started' },
95 { label: 'HVE Guide', to: '/docs/category/hve-guide' },
96 { label: 'RPI Workflow', to: '/docs/category/rpi' },
97 { label: 'Agents', to: '/docs/category/agents' },
98 { label: 'Architecture', to: '/docs/category/architecture' },
99 { label: 'Contributing', to: '/docs/category/contributing' },
100 { label: 'Security', to: '/docs/category/security' },
101 { label: 'Templates', to: '/docs/category/templates' },
102 ],
103 },
104 {
105 href: 'https://github.com/microsoft/hve-core',
106 label: 'GitHub',
107 position: 'right',
108 },
109 ],
110 },
111 footer: {
112 style: 'dark',
113 links: [
114 {
115 title: 'Documentation',
116 items: [
117 { label: 'Getting Started', to: '/docs/category/getting-started' },
118 { label: 'HVE Guide', to: '/docs/category/hve-guide' },
119 { label: 'RPI Workflow', to: '/docs/category/rpi' },
120 { label: 'Agents', to: '/docs/category/agents' },
121 { label: 'Architecture', to: '/docs/category/architecture' },
122 ],
123 },
124 {
125 title: 'Resources',
126 items: [
127 { label: 'Contributing', to: '/docs/category/contributing' },
128 { label: 'Security', to: '/docs/category/security' },
129 { label: 'Templates', to: '/docs/category/templates' },
130 ],
131 },
132 {
133 title: 'Community',
134 items: [
135 {
136 label: 'GitHub',
137 href: 'https://github.com/microsoft/hve-core',
138 },
139 ],
140 },
141 ],
142 copyright: `© Microsoft ${new Date().getFullYear()}. Built with HVE.`,
143 },
144 prism: {
145 theme: prismThemes.github,
146 darkTheme: prismThemes.dracula,
147 },
148 }),
149};
150
151export default config;
152