From 618a3d42c63f78300fd8cb2e4a201d1d13a59398 Mon Sep 17 00:00:00 2001 From: Zach Shilton <4624598+zchsh@users.noreply.github.com> Date: Thu, 18 Mar 2021 12:31:24 -0400 Subject: [PATCH] website: clarify purpose of sourceUrl --- website/components/remote-plugin-docs/utils/resolve-nav-data.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/components/remote-plugin-docs/utils/resolve-nav-data.js b/website/components/remote-plugin-docs/utils/resolve-nav-data.js index 837feb6b4..d5d21b7e3 100644 --- a/website/components/remote-plugin-docs/utils/resolve-nav-data.js +++ b/website/components/remote-plugin-docs/utils/resolve-nav-data.js @@ -145,7 +145,7 @@ async function resolvePluginEntryDocs(pluginConfigEntry) { const { data: frontmatter } = grayMatter(fileString) const { nav_title, sidebar_title } = frontmatter const title = nav_title || sidebar_title || basename - // construct sourceUrl + // construct sourceUrl (used for "Edit this page" link) const sourceUrl = `https://github.com/${repo}/blob/${version}/${filePath}` // determine pluginTier const pluginOwner = repo.split('/')[0]