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 | }, |
Derick Montague | e7eb9dc | 2020-10-27 07:24:33 -0500 | [diff] [blame] | 45 | "/guide/unit-testing/", |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 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 | ab93192 | 2020-11-16 12:10:32 -0600 | [diff] [blame] | 51 | "/guide/components/buttons/", |
Yoshie Muranaka | 111325b | 2020-11-03 14:48:08 -0800 | [diff] [blame] | 52 | "/guide/components/table", |
Derick Montague | 4e90eed | 2020-03-03 18:11:44 -0600 | [diff] [blame] | 53 | "/guide/components/toast", |
Derick Montague | 3f6710a | 2020-03-04 00:59:47 -0600 | [diff] [blame] | 54 | ] |
Dixsie Wolmers | 26c8fae | 2020-10-26 08:59:51 -0500 | [diff] [blame] | 55 | }, |
| 56 | { |
| 57 | title: "Quick Start", |
| 58 | children: [ |
Dixsie Wolmers | 8da32b5 | 2020-11-16 11:29:17 -0600 | [diff] [blame^] | 59 | "/guide/quickstart/page-anatomy", |
| 60 | "/guide/quickstart/store-anatomy" |
Dixsie Wolmers | 26c8fae | 2020-10-26 08:59:51 -0500 | [diff] [blame] | 61 | ] |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 62 | } |
Derick Montague | 7fc4cd7 | 2020-02-07 12:06:41 -0600 | [diff] [blame] | 63 | ], |
Derick Montague | 35b2bbf | 2020-10-09 11:50:42 -0500 | [diff] [blame] | 64 | "/themes/": ["", "customize", "env"] |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 65 | }, |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 66 | } |
| 67 | }; |