From f889fd920ce6e2ba1765abc711ee99a17699132b Mon Sep 17 00:00:00 2001 From: Mike Bostock Date: Fri, 22 Nov 2024 13:13:14 -0800 Subject: [PATCH] add examples to sidebar (#2247) --- docs/.vitepress/config.ts | 3 ++- docs/features/plots.md | 6 ++++++ docs/getting-started.md | 6 ++++++ 3 files changed, 14 insertions(+), 1 deletion(-) diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 1edd74a8cf..f1a0381ac8 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -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"} ] }, { diff --git a/docs/features/plots.md b/docs/features/plots.md index 34548522e7..ce1e3e89ed 100644 --- a/docs/features/plots.md +++ b/docs/features/plots.md @@ -1,3 +1,9 @@ +--- +prev: + text: Getting started + link: /getting-started +--- +