Skip to content
This repository was archived by the owner on Sep 20, 2024. It is now read-only.

Commit 1c1ff07

Browse files
committed
docs: add layout and default mdx components
1 parent 5fe1a98 commit 1c1ff07

36 files changed

+9539
-67
lines changed

website/package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,10 @@
3030
"@vueuse/head": "^0.5.1",
3131
"markdown-it-prism": "^2.1.6",
3232
"prismjs": "^1.23.0",
33+
"remark-autolink-headings": "^6.0.1",
34+
"remark-frontmatter": "^3.0.0",
3335
"remark-gfm": "^1.0.0",
36+
"remark-slug": "^6.0.0",
3437
"typescript": "^4.1.3",
3538
"vite": "2.1.5",
3639
"vite-plugin-components": "^0.8.3",

website/src/config/blog-sidebar.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"routes": [
3+
{
4+
"title": "Recent Posts",
5+
"heading": true,
6+
"routes": [
7+
{
8+
"title": "2020",
9+
"path": "/blog/2020",
10+
"open": true,
11+
"routes": [
12+
{
13+
"title": "Chakra v1 is here",
14+
"path": "/blog/chakra-v1-just-landed"
15+
}
16+
]
17+
}
18+
]
19+
}
20+
]
21+
}

0 commit comments

Comments
 (0)