blob: 257b6fe138ec932e896617852c0a6ebf73162a02 [file] [log] [blame]
Derick Montaguecaaf7ba2020-10-09 11:17:48 -05001const path = require('path');
2
Derick Montague365bce52020-01-03 08:36:20 -06003module.exports = {
4 base: "/webui-vue/",
5 title: "OpenBMC Web UI Style Guide",
6 description:
7 "Guidance on code style and development for the OpenBMC browser-based UI",
8 smoothScroll: true,
9 themeConfig: {
10 nav: [
11 {
12 text: "Guide",
Derick Montague7fc4cd72020-02-07 12:06:41 -060013 link: "/guide/"
Derick Montague365bce52020-01-03 08:36:20 -060014 },
15 {
Derick Montaguec2f8f342021-05-12 12:26:18 -050016 text: "Customization",
17 link: "/customization/"
Derick Montague365bce52020-01-03 08:36:20 -060018 },
19 {
20 text: "Github",
21 link: "https://github.com/openbmc/webui-vue"
22 }
23 ],
24 sidebarDepth: 1,
25 sidebar: {
26 "/guide/": [
Derick Montague7fc4cd72020-02-07 12:06:41 -060027 "",
Derick Montague365bce52020-01-03 08:36:20 -060028 {
29 title: "Coding Standards",
30 children: [
Derick Montague9a25c802021-02-25 08:27:26 -060031 ["/guide/coding-standards/", "JavaScript and SASS"],
Derick Montague365bce52020-01-03 08:36:20 -060032 ["/guide/coding-standards/accessibility", "Accessibility"],
Derick Montague365bce52020-01-03 08:36:20 -060033 ]
34 },
35 {
36 title: "Guidelines",
37 children: [
Derick Montague365bce52020-01-03 08:36:20 -060038 "/guide/guidelines/colors",
Sandeepa Singh56ada532021-03-08 19:42:37 +053039 "/guide/guidelines/internationalization",
Derick Montague221b3182020-04-14 16:10:24 -050040 "/guide/guidelines/motion",
Derick Montague365bce52020-01-03 08:36:20 -060041 "/guide/guidelines/typography"
42 ]
43 },
Derick Montaguee7eb9dc2020-10-27 07:24:33 -050044 "/guide/unit-testing/",
Derick Montague365bce52020-01-03 08:36:20 -060045 {
46 title: "Components",
Derick Montague3f6710a2020-03-04 00:59:47 -060047 children: [
48 "/guide/components/",
Derick Montaguef6df8012020-12-09 18:37:11 -060049 "/guide/components/alerts/",
Derick Montagueab931922020-11-16 12:10:32 -060050 "/guide/components/buttons/",
Sukanya Pandey0f229072020-11-27 13:59:30 +053051 "/guide/components/file-upload/",
Derick Montaguef6df8012020-12-09 18:37:11 -060052 "/guide/components/info-tooltip/",
53 "/guide/components/page-section/",
54 "/guide/components/page-title/",
Sukanya Pandey432134d2020-11-13 16:05:35 +053055 "/guide/components/status-icon/",
Yoshie Muranakae080ba72020-11-12 14:06:54 -080056 "/guide/components/table/",
Derick Montaguef6df8012020-12-09 18:37:11 -060057 "/guide/components/toasts/"
Derick Montague3f6710a2020-03-04 00:59:47 -060058 ]
Dixsie Wolmers26c8fae2020-10-26 08:59:51 -050059 },
60 {
61 title: "Quick Start",
62 children: [
Dixsiedbc691c2021-03-24 06:33:30 -050063 "/guide/quickstart/forms",
Dixsie Wolmers8da32b52020-11-16 11:29:17 -060064 "/guide/quickstart/page-anatomy",
65 "/guide/quickstart/store-anatomy"
Dixsie Wolmers26c8fae2020-10-26 08:59:51 -050066 ]
Derick Montague365bce52020-01-03 08:36:20 -060067 }
Derick Montague7fc4cd72020-02-07 12:06:41 -060068 ],
Derick Montaguec2f8f342021-05-12 12:26:18 -050069 "/customization/": ["", "theme", "build"]
Derick Montague365bce52020-01-03 08:36:20 -060070 },
Derick Montague365bce52020-01-03 08:36:20 -060071 }
72 };