microsoft/hve-core

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
hve-core-v3.1.46

Branches

Tags

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

Clone

HTTPS

Download ZIP

docs/docusaurus/docusaurus.config.js

158lines · 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 announcementBar: {
72 id: 'draft_notice',
73 content: '⚠️ <strong>Draft Content</strong> — This documentation site is under active development. Content is preliminary and subject to change.',
74 backgroundColor: '#fff3cd',
75 textColor: '#664d03',
76 isCloseable: false,
77 },
78 colorMode: {
79 respectPrefersColorScheme: true,
80 },
81 navbar: {
82 title: 'HVE Core',
83 logo: {
84 alt: 'Microsoft',
85 src: 'img/microsoft-logo.svg',
86 width: 26,
87 height: 26,
88 },
89 items: [
90 {
91 type: 'docSidebar',
92 sidebarId: 'docsSidebar',
93 position: 'left',
94 label: 'Documentation',
95 },
96 {
97 type: 'dropdown',
98 label: 'Topics',
99 position: 'left',
100 items: [
101 { label: 'Getting Started', to: '/docs/category/getting-started' },
102 { label: 'HVE Guide', to: '/docs/category/hve-guide' },
103 { label: 'RPI Workflow', to: '/docs/category/rpi' },
104 { label: 'Agents', to: '/docs/category/agents' },
105 { label: 'Architecture', to: '/docs/category/architecture' },
106 { label: 'Contributing', to: '/docs/category/contributing' },
107 { label: 'Security', to: '/docs/category/security' },
108 { label: 'Templates', to: '/docs/category/templates' },
109 ],
110 },
111 {
112 href: 'https://github.com/microsoft/hve-core',
113 label: 'GitHub',
114 position: 'right',
115 },
116 ],
117 },
118 footer: {
119 style: 'dark',
120 links: [
121 {
122 title: 'Documentation',
123 items: [
124 { label: 'Getting Started', to: '/docs/category/getting-started' },
125 { label: 'HVE Guide', to: '/docs/category/hve-guide' },
126 { label: 'RPI Workflow', to: '/docs/category/rpi' },
127 { label: 'Agents', to: '/docs/category/agents' },
128 { label: 'Architecture', to: '/docs/category/architecture' },
129 ],
130 },
131 {
132 title: 'Resources',
133 items: [
134 { label: 'Contributing', to: '/docs/category/contributing' },
135 { label: 'Security', to: '/docs/category/security' },
136 { label: 'Templates', to: '/docs/category/templates' },
137 ],
138 },
139 {
140 title: 'Community',
141 items: [
142 {
143 label: 'GitHub',
144 href: 'https://github.com/microsoft/hve-core',
145 },
146 ],
147 },
148 ],
149 copyright: `© Microsoft ${new Date().getFullYear()}. Built with HVE.`,
150 },
151 prism: {
152 theme: prismThemes.github,
153 darkTheme: prismThemes.dracula,
154 },
155 }),
156};
157
158export default config;
159