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