blob: fffc2590bb57512262c83cad70b91ae678e6d809 [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 {
16 text: "Themes",
17 link: "/themes/"
18 },
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 Montague736f2a42020-10-26 14:22:31 -050031 ["/guide/coding-standards/", "Overview"],
Derick Montague365bce52020-01-03 08:36:20 -060032 ["/guide/coding-standards/accessibility", "Accessibility"],
33 ["/guide/coding-standards/sass", "SASS"],
34 ["/guide/coding-standards/javascript", "JavaScript"]
35 ]
36 },
37 {
38 title: "Guidelines",
39 children: [
Derick Montague365bce52020-01-03 08:36:20 -060040 "/guide/guidelines/colors",
Derick Montague221b3182020-04-14 16:10:24 -050041 "/guide/guidelines/motion",
Derick Montague365bce52020-01-03 08:36:20 -060042 "/guide/guidelines/typography"
43 ]
44 },
Derick Montaguee7eb9dc2020-10-27 07:24:33 -050045 "/guide/unit-testing/",
Derick Montague365bce52020-01-03 08:36:20 -060046 {
47 title: "Components",
Derick Montague3f6710a2020-03-04 00:59:47 -060048 children: [
49 "/guide/components/",
Derick Montaguefd22b5b2020-03-13 15:15:43 -050050 "/guide/components/alert",
Derick Montagueab931922020-11-16 12:10:32 -060051 "/guide/components/buttons/",
Yoshie Muranaka111325b2020-11-03 14:48:08 -080052 "/guide/components/table",
Derick Montague4e90eed2020-03-03 18:11:44 -060053 "/guide/components/toast",
Derick Montague3f6710a2020-03-04 00:59:47 -060054 ]
Dixsie Wolmers26c8fae2020-10-26 08:59:51 -050055 },
56 {
57 title: "Quick Start",
58 children: [
Dixsie Wolmers8da32b52020-11-16 11:29:17 -060059 "/guide/quickstart/page-anatomy",
60 "/guide/quickstart/store-anatomy"
Dixsie Wolmers26c8fae2020-10-26 08:59:51 -050061 ]
Derick Montague365bce52020-01-03 08:36:20 -060062 }
Derick Montague7fc4cd72020-02-07 12:06:41 -060063 ],
Derick Montague35b2bbf2020-10-09 11:50:42 -050064 "/themes/": ["", "customize", "env"]
Derick Montague365bce52020-01-03 08:36:20 -060065 },
Derick Montague365bce52020-01-03 08:36:20 -060066 }
67 };