From ce0b9ff04242f61c8c49fc1ce164eb45eb3c459a Mon Sep 17 00:00:00 2001 From: Tanuj Kanti <86398394+Tanujkanti4441@users.noreply.github.com> Date: Tue, 31 Dec 2024 22:59:16 +0530 Subject: [PATCH] docs: add navigation link for `code explorer` (#19285) docs: add nav link to code explorer --- docs/src/_data/links.json | 1 + docs/src/_data/navigation.json | 4 ++++ docs/src/_data/sites/en.yml | 3 +++ docs/src/_data/sites/zh-hans.yml | 3 +++ 4 files changed, 11 insertions(+) diff --git a/docs/src/_data/links.json b/docs/src/_data/links.json index 9bf8222a4f58..bdf3b61c8bbe 100644 --- a/docs/src/_data/links.json +++ b/docs/src/_data/links.json @@ -6,6 +6,7 @@ "blog": "/blog", "docs": "/docs/latest/", "playground": "/play", + "codeExplorer": "https://explorer.eslint.org/", "getStarted": "/docs/latest/use/getting-started", "sponsors": "/sponsors", "branding": "/branding", diff --git a/docs/src/_data/navigation.json b/docs/src/_data/navigation.json index bc831667e91a..14973172906e 100644 --- a/docs/src/_data/navigation.json +++ b/docs/src/_data/navigation.json @@ -19,6 +19,10 @@ { "text": "Playground", "url": "https://eslint.org/play" + }, + { + "text": "Code Explorer", + "url": "https://explorer.eslint.org/" } ] } diff --git a/docs/src/_data/sites/en.yml b/docs/src/_data/sites/en.yml index d53528732c9a..adde1125b361 100644 --- a/docs/src/_data/sites/en.yml +++ b/docs/src/_data/sites/en.yml @@ -62,6 +62,9 @@ navigation: target: _blank - text: Playground link: playground +- text: Code Explorer + link: codeExplorer + target: _blank #------------------------------------------------------------------------------ # Footer diff --git a/docs/src/_data/sites/zh-hans.yml b/docs/src/_data/sites/zh-hans.yml index ffc4ed7e3574..bd27824486f9 100644 --- a/docs/src/_data/sites/zh-hans.yml +++ b/docs/src/_data/sites/zh-hans.yml @@ -60,6 +60,9 @@ navigation: target: _blank - text: 演练场 link: playground +- text: Code Explorer + link: codeExplorer + target: _blank #------------------------------------------------------------------------------ # Footer