blob: e2e413da41f209fbb04af8ff2716b449f6b0efc5 [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 Montague365bce52020-01-03 08:36:20 -060031 ["/guide/coding-standards/accessibility", "Accessibility"],
32 ["/guide/coding-standards/sass", "SASS"],
33 ["/guide/coding-standards/javascript", "JavaScript"]
34 ]
35 },
36 {
37 title: "Guidelines",
38 children: [
Derick Montague365bce52020-01-03 08:36:20 -060039 "/guide/guidelines/colors",
Derick Montague221b3182020-04-14 16:10:24 -050040 "/guide/guidelines/motion",
Derick Montague365bce52020-01-03 08:36:20 -060041 "/guide/guidelines/typography"
42 ]
43 },
44 {
45 title: "Components",
Derick Montague3f6710a2020-03-04 00:59:47 -060046 children: [
47 "/guide/components/",
Derick Montaguefd22b5b2020-03-13 15:15:43 -050048 "/guide/components/alert",
Derick Montague3f6710a2020-03-04 00:59:47 -060049 "/guide/components/button",
Derick Montague4e90eed2020-03-03 18:11:44 -060050 "/guide/components/toast",
Derick Montague3f6710a2020-03-04 00:59:47 -060051 ]
Derick Montague365bce52020-01-03 08:36:20 -060052 }
Derick Montague7fc4cd72020-02-07 12:06:41 -060053 ],
Derick Montague35b2bbf2020-10-09 11:50:42 -050054 "/themes/": ["", "customize", "env"]
Derick Montague365bce52020-01-03 08:36:20 -060055 },
Derick Montaguecaaf7ba2020-10-09 11:17:48 -050056 },
57 configureWebpack: {
58 resolve: {
59 alias: {
60 '@': path.resolve(__dirname, '../../src')
61 }
62 }
Derick Montague365bce52020-01-03 08:36:20 -060063 }
64 };