microsoft/hve-core

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
feat/1290-agentic-skip

Branches

Tags

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

Clone

HTTPS

Download ZIP

docs/docusaurus/docusaurus.config.js

163lines · 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 hooks: {
25 onBrokenMarkdownLinks: 'throw',
26 },
27 },
28
29 i18n: {
30 defaultLocale: 'en',
31 locales: ['en'],
32 },
33
34 presets: [
35 [
36 'classic',
37 /** @type {import('@docusaurus/preset-classic').Options} */
38 ({
39 docs: {
40 path: '../',
41 exclude: [
42 'docusaurus/**',
43 'announcements/**',
44 '**/_*.{js,jsx,ts,tsx,md,mdx}',
45 '**/_*/**',
46 '**/*.test.{js,jsx,ts,tsx}',
47 '**/__tests__/**',
48 ],
49 sidebarPath: './sidebars.js',
50 showLastUpdateTime: true,
51 showLastUpdateAuthor: true,
52 editUrl: ({ docPath }) =>
53 `https://github.com/microsoft/hve-core/tree/main/docs/${docPath}`,
54 remarkPlugins: [remarkGithubAlert],
55 },
56 blog: false,
57 theme: {
58 customCss: './src/css/custom.css',
59 },
60 }),
61 ],
62 ],
63
64 themes: [
65 [
66 '@easyops-cn/docusaurus-search-local',
67 /** @type {import("@easyops-cn/docusaurus-search-local").PluginOptions} */
68 ({
69 hashed: true,
70 language: ['en'],
71 highlightSearchTermsOnTargetPage: true,
72 explicitSearchResultPath: true,
73 }),
74 ],
75 ],
76
77 themeConfig:
78 /** @type {import('@docusaurus/preset-classic').ThemeConfig} */
79 ({
80 image: 'img/microsoft-logo.svg',
81 colorMode: {
82 respectPrefersColorScheme: true,
83 },
84 docs: {
85 sidebar: {
86 hideable: true,
87 autoCollapseCategories: true,
88 },
89 },
90 navbar: {
91 title: 'HVE Core',
92 logo: {
93 alt: 'Microsoft',
94 src: 'img/microsoft-logo.svg',
95 width: 26,
96 height: 26,
97 },
98 items: [
99 {
100 type: 'docSidebar',
101 sidebarId: 'docsSidebar',
102 position: 'left',
103 label: 'Documentation',
104 },
105 {
106 type: 'dropdown',
107 label: 'Topics',
108 position: 'left',
109 items: [
110 { label: 'Get Started', to: '/docs/getting-started/' },
111 { label: 'Workflows', to: '/docs/rpi/' },
112 { label: 'Customize', to: '/docs/customization/' },
113 { label: 'Reference', to: '/docs/architecture/' },
114 ],
115 },
116 {
117 href: 'https://github.com/microsoft/hve-core',
118 label: 'GitHub',
119 position: 'right',
120 },
121 ],
122 },
123 footer: {
124 style: 'dark',
125 links: [
126 {
127 title: 'Documentation',
128 items: [
129 { label: 'Getting Started', to: '/docs/getting-started/' },
130 { label: 'HVE Guide', to: '/docs/hve-guide/' },
131 { label: 'RPI Workflow', to: '/docs/rpi/' },
132 { label: 'Agents', to: '/docs/agents/' },
133 { label: 'Architecture', to: '/docs/architecture/' },
134 ],
135 },
136 {
137 title: 'Resources',
138 items: [
139 { label: 'Contributing', to: '/docs/contributing/' },
140 { label: 'Security', to: '/docs/security/' },
141 { label: 'Templates', to: '/docs/templates/' },
142 ],
143 },
144 {
145 title: 'Community',
146 items: [
147 {
148 label: 'GitHub',
149 href: 'https://github.com/microsoft/hve-core',
150 },
151 ],
152 },
153 ],
154 copyright: `© Microsoft ${new Date().getFullYear()}. Built with HVE.`,
155 },
156 prism: {
157 theme: prismThemes.github,
158 darkTheme: prismThemes.dracula,
159 },
160 }),
161};
162
163export default config;
164