Derick Montague | caaf7ba | 2020-10-09 11:17:48 -0500 | [diff] [blame] | 1 | const path = require('path'); |
| 2 | |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 3 | module.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 Montague | 7fc4cd7 | 2020-02-07 12:06:41 -0600 | [diff] [blame] | 13 | link: "/guide/" |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 14 | }, |
| 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 Montague | 7fc4cd7 | 2020-02-07 12:06:41 -0600 | [diff] [blame] | 27 | "", |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 28 | { |
| 29 | title: "Coding Standards", |
| 30 | children: [ |
| 31 | "/guide/coding-standards/", |
| 32 | ["/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: [ |
| 40 | "/guide/guidelines/", |
| 41 | "/guide/guidelines/colors", |
Derick Montague | 221b318 | 2020-04-14 16:10:24 -0500 | [diff] [blame] | 42 | "/guide/guidelines/motion", |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 43 | "/guide/guidelines/typography" |
| 44 | ] |
| 45 | }, |
| 46 | { |
| 47 | title: "Components", |
Derick Montague | 3f6710a | 2020-03-04 00:59:47 -0600 | [diff] [blame] | 48 | children: [ |
| 49 | "/guide/components/", |
Derick Montague | fd22b5b | 2020-03-13 15:15:43 -0500 | [diff] [blame] | 50 | "/guide/components/alert", |
Derick Montague | 3f6710a | 2020-03-04 00:59:47 -0600 | [diff] [blame] | 51 | "/guide/components/button", |
Derick Montague | 4e90eed | 2020-03-03 18:11:44 -0600 | [diff] [blame] | 52 | "/guide/components/toast", |
Derick Montague | 3f6710a | 2020-03-04 00:59:47 -0600 | [diff] [blame] | 53 | ] |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 54 | } |
Derick Montague | 7fc4cd7 | 2020-02-07 12:06:41 -0600 | [diff] [blame] | 55 | ], |
Derick Montague | 35b2bbf | 2020-10-09 11:50:42 -0500 | [diff] [blame] | 56 | "/themes/": ["", "customize", "env"] |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 57 | }, |
Derick Montague | caaf7ba | 2020-10-09 11:17:48 -0500 | [diff] [blame] | 58 | }, |
| 59 | configureWebpack: { |
| 60 | resolve: { |
| 61 | alias: { |
| 62 | '@': path.resolve(__dirname, '../../src') |
| 63 | } |
| 64 | } |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 65 | } |
| 66 | }; |