Skip to content

Commit

Permalink
rel=external (#3746)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbostock committed Jul 29, 2023
1 parent 0eb853b commit 5bab785
Show file tree
Hide file tree
Showing 2 changed files with 442 additions and 439 deletions.
9 changes: 7 additions & 2 deletions docs/.vitepress/config.ts
Expand Up @@ -11,6 +11,11 @@ export default defineConfig({
["link", {rel: "apple-touch-icon", href: "/logo.png"}],
["link", {rel: "icon", type: "image/png", href: "/logo.png"}]
],
markdown: {
externalLinks: {
rel: "external"
}
},
vite: {
resolve: {
alias: [
Expand All @@ -25,9 +30,9 @@ export default defineConfig({
siteTitle: "",
nav: [
{text: "Home", link: "/"},
{text: "Examples", link: "https://observablehq.com/@d3/gallery?utm_source=d3js-org&utm_medium=nav&utm_campaign=try-observable"},
{text: "Examples", link: "https://observablehq.com/@d3/gallery?utm_source=d3js-org&utm_medium=nav&utm_campaign=try-observable", rel: "external"},
{text: "Community", link: "/community"},
{text: "Plot", link: "https://observablehq.com/plot?utm_source=d3js-org&utm_medium=nav&utm_campaign=try-observable"}
{text: "Plot", link: "https://observablehq.com/plot?utm_source=d3js-org&utm_medium=nav&utm_campaign=try-observable", rel: "external"}
],
sidebar: [
{
Expand Down

0 comments on commit 5bab785

Please sign in to comment.