xref: /openbmc/webui-vue/docs/.vuepress/config.js (revision d388a28b)
1module.exports = {
2    base: "/webui-vue/",
3    title: "OpenBMC Web UI Style Guide",
4    description:
5      "Guidance on code style and development for the OpenBMC browser-based UI",
6    smoothScroll: true,
7    themeConfig: {
8      nav: [
9        {
10          text: "Guide",
11          link: "/guide/"
12        },
13        {
14          text: "Themes",
15          link: "/themes/"
16        },
17        {
18          text: "Github",
19          link: "https://github.com/openbmc/webui-vue"
20        }
21      ],
22      sidebarDepth: 1,
23      sidebar: {
24        "/guide/": [
25          "",
26          {
27            title: "Coding Standards",
28            children: [
29              "/guide/coding-standards/",
30              ["/guide/coding-standards/accessibility", "Accessibility"],
31              ["/guide/coding-standards/sass", "SASS"],
32              ["/guide/coding-standards/javascript", "JavaScript"]
33            ]
34          },
35          {
36            title: "Guidelines",
37            children: [
38              "/guide/guidelines/",
39              "/guide/guidelines/colors",
40              "/guide/guidelines/motion",
41              "/guide/guidelines/typography"
42            ]
43          },
44          {
45            title: "Components",
46            children: [
47            "/guide/components/",
48            "/guide/components/alert",
49            "/guide/components/button",
50            "/guide/components/toast",
51          ]
52          }
53        ],
54        "/themes/": ["", "customize"]
55      },
56    }
57  };