Skip to content

Commit

Permalink
add examples to sidebar (#2247)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock authored Nov 22, 2024
1 parent 5fb8616 commit f889fd9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,8 @@ export default defineConfig({
items: [
{text: "What is Plot?", link: "/what-is-plot"},
{text: "Why Plot?", link: "/why-plot"},
{text: "Getting started", link: "/getting-started"}
{text: "Getting started", link: "/getting-started"},
{text: "Examples", link: "https://observablehq.com/@observablehq/plot-gallery"}
]
},
{
Expand Down
6 changes: 6 additions & 0 deletions docs/features/plots.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
prev:
text: Getting started
link: /getting-started
---

<script setup>

import * as Plot from "@observablehq/plot";
Expand Down
6 changes: 6 additions & 0 deletions docs/getting-started.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
---
next:
text: Plots
link: /features/plots
---

<script setup>

import * as Plot from "@observablehq/plot";
Expand Down

0 comments on commit f889fd9

Please sign in to comment.