Skip to content

Commit f889fd9

Browse files
authored
add examples to sidebar (#2247)
1 parent 5fb8616 commit f889fd9

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

docs/.vitepress/config.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ export default defineConfig({
6060
items: [
6161
{text: "What is Plot?", link: "/what-is-plot"},
6262
{text: "Why Plot?", link: "/why-plot"},
63-
{text: "Getting started", link: "/getting-started"}
63+
{text: "Getting started", link: "/getting-started"},
64+
{text: "Examples", link: "https://observablehq.com/@observablehq/plot-gallery"}
6465
]
6566
},
6667
{

docs/features/plots.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
prev:
3+
text: Getting started
4+
link: /getting-started
5+
---
6+
17
<script setup>
28

39
import * as Plot from "@observablehq/plot";

docs/getting-started.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
---
2+
next:
3+
text: Plots
4+
link: /features/plots
5+
---
6+
17
<script setup>
28

39
import * as Plot from "@observablehq/plot";

0 commit comments

Comments
 (0)