xref: /openbmc/webui-vue/docs/.vuepress/config.js (revision fd22b5b0)
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/typography"
41            ]
42          },
43          {
44            title: "Components",
45            children: [
46            "/guide/components/",
47            "/guide/components/alert",
48            "/guide/components/button",
49            "/guide/components/toast",
50          ]
51          }
52        ],
53        "/themes/": [""]
54      },
55    }
56  };