xref: /openbmc/webui-vue/docs/.vuepress/config.js (revision d6752694)
1const path = require('path');
2
3module.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",
13          link: "/guide/"
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/": [
27          "",
28          {
29            title: "Coding Standards",
30            children: [
31              ["/guide/coding-standards/", "JavaScript and SASS"],
32              ["/guide/coding-standards/accessibility", "Accessibility"],
33            ]
34          },
35          {
36            title: "Guidelines",
37            children: [
38              "/guide/guidelines/colors",
39              "/guide/guidelines/motion",
40              "/guide/guidelines/typography"
41            ]
42          },
43          "/guide/unit-testing/",
44          {
45            title: "Components",
46            children: [
47            "/guide/components/",
48            "/guide/components/alerts/",
49            "/guide/components/buttons/",
50            "/guide/components/file-upload/",
51            "/guide/components/info-tooltip/",
52            "/guide/components/page-section/",
53            "/guide/components/page-title/",
54            "/guide/components/status-icon/",
55            "/guide/components/table/",
56            "/guide/components/toasts/"
57          ]
58          },
59          {
60            title: "Quick Start",
61            children: [
62            "/guide/quickstart/page-anatomy",
63            "/guide/quickstart/store-anatomy"
64          ]
65          }
66        ],
67        "/themes/": ["", "customize", "env"]
68      },
69    }
70  };