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