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 | { |
Derick Montague | c2f8f34 | 2021-05-12 12:26:18 -0500 | [diff] [blame] | 16 | text: "Customization", |
| 17 | link: "/customization/" |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 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 | 9a25c80 | 2021-02-25 08:27:26 -0600 | [diff] [blame] | 31 | ["/guide/coding-standards/", "JavaScript and SASS"], |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 32 | ["/guide/coding-standards/accessibility", "Accessibility"], |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 33 | ] |
| 34 | }, |
| 35 | { |
| 36 | title: "Guidelines", |
| 37 | children: [ |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 38 | "/guide/guidelines/colors", |
Sandeepa Singh | 56ada53 | 2021-03-08 19:42:37 +0530 | [diff] [blame] | 39 | "/guide/guidelines/internationalization", |
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 | }, |
Derick Montague | e7eb9dc | 2020-10-27 07:24:33 -0500 | [diff] [blame] | 44 | "/guide/unit-testing/", |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 45 | { |
| 46 | title: "Components", |
Derick Montague | 3f6710a | 2020-03-04 00:59:47 -0600 | [diff] [blame] | 47 | children: [ |
| 48 | "/guide/components/", |
Derick Montague | f6df801 | 2020-12-09 18:37:11 -0600 | [diff] [blame] | 49 | "/guide/components/alerts/", |
Derick Montague | ab93192 | 2020-11-16 12:10:32 -0600 | [diff] [blame] | 50 | "/guide/components/buttons/", |
Sukanya Pandey | 0f22907 | 2020-11-27 13:59:30 +0530 | [diff] [blame] | 51 | "/guide/components/file-upload/", |
Derick Montague | f6df801 | 2020-12-09 18:37:11 -0600 | [diff] [blame] | 52 | "/guide/components/info-tooltip/", |
| 53 | "/guide/components/page-section/", |
| 54 | "/guide/components/page-title/", |
Sukanya Pandey | 432134d | 2020-11-13 16:05:35 +0530 | [diff] [blame] | 55 | "/guide/components/status-icon/", |
Yoshie Muranaka | e080ba7 | 2020-11-12 14:06:54 -0800 | [diff] [blame] | 56 | "/guide/components/table/", |
Derick Montague | f6df801 | 2020-12-09 18:37:11 -0600 | [diff] [blame] | 57 | "/guide/components/toasts/" |
Derick Montague | 3f6710a | 2020-03-04 00:59:47 -0600 | [diff] [blame] | 58 | ] |
Dixsie Wolmers | 26c8fae | 2020-10-26 08:59:51 -0500 | [diff] [blame] | 59 | }, |
| 60 | { |
| 61 | title: "Quick Start", |
| 62 | children: [ |
Dixsie | dbc691c | 2021-03-24 06:33:30 -0500 | [diff] [blame] | 63 | "/guide/quickstart/forms", |
Dixsie Wolmers | 8da32b5 | 2020-11-16 11:29:17 -0600 | [diff] [blame] | 64 | "/guide/quickstart/page-anatomy", |
| 65 | "/guide/quickstart/store-anatomy" |
Dixsie Wolmers | 26c8fae | 2020-10-26 08:59:51 -0500 | [diff] [blame] | 66 | ] |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 67 | } |
Derick Montague | 7fc4cd7 | 2020-02-07 12:06:41 -0600 | [diff] [blame] | 68 | ], |
Derick Montague | c2f8f34 | 2021-05-12 12:26:18 -0500 | [diff] [blame] | 69 | "/customization/": ["", "theme", "build"] |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 70 | }, |
Derick Montague | 365bce5 | 2020-01-03 08:36:20 -0600 | [diff] [blame] | 71 | } |
| 72 | }; |