From eb95789740409cd1f5354e30723878b1e563a6cd Mon Sep 17 00:00:00 2001 From: Josh Ford Date: Fri, 2 Feb 2024 07:42:11 -0800 Subject: [PATCH] fix: update github overview (#1705) * fix: remove auto sync * fix: point to near.org github * fix: update report links * revert main merge --- website/blog/2023-01-31-changelog.md | 2 +- website/blog/2023-02-28-changelog.md | 2 +- website/blog/2023-03-31-changelog.md | 2 +- website/blog/2023-04-30-changelog.md | 2 +- website/blog/2023-05-31-changelog.md | 2 +- website/blog/2023-06-30-changelog.md | 2 +- website/blog/2023-07-31-changelog.md | 2 +- website/blog/2023-08-31-changelog.md | 2 +- website/blog/2023-09-30-changelog.md | 2 +- website/blog/2023-10-31-changelog.md | 2 +- website/blog/2023-11-30-changelog.md | 2 +- website/docusaurus.config.js | 32 ++-------------------------- 12 files changed, 13 insertions(+), 41 deletions(-) diff --git a/website/blog/2023-01-31-changelog.md b/website/blog/2023-01-31-changelog.md index 868d93b738f..6f6fb2bcb93 100644 --- a/website/blog/2023-01-31-changelog.md +++ b/website/blog/2023-01-31-changelog.md @@ -1,6 +1,6 @@ # January 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/blog/2023-02-28-changelog.md b/website/blog/2023-02-28-changelog.md index 8ccb4b9155a..1225d6ff507 100644 --- a/website/blog/2023-02-28-changelog.md +++ b/website/blog/2023-02-28-changelog.md @@ -1,6 +1,6 @@ # February 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/blog/2023-03-31-changelog.md b/website/blog/2023-03-31-changelog.md index b09c580a3e8..7401dd44e11 100644 --- a/website/blog/2023-03-31-changelog.md +++ b/website/blog/2023-03-31-changelog.md @@ -1,6 +1,6 @@ # March 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/blog/2023-04-30-changelog.md b/website/blog/2023-04-30-changelog.md index f0903a03557..9efe1229234 100644 --- a/website/blog/2023-04-30-changelog.md +++ b/website/blog/2023-04-30-changelog.md @@ -1,6 +1,6 @@ # April 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/blog/2023-05-31-changelog.md b/website/blog/2023-05-31-changelog.md index b8b523c2c49..cb3bbea47bc 100644 --- a/website/blog/2023-05-31-changelog.md +++ b/website/blog/2023-05-31-changelog.md @@ -1,6 +1,6 @@ # May 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/blog/2023-06-30-changelog.md b/website/blog/2023-06-30-changelog.md index a62c8ecac7a..fdddb1805fa 100644 --- a/website/blog/2023-06-30-changelog.md +++ b/website/blog/2023-06-30-changelog.md @@ -1,6 +1,6 @@ # June 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/blog/2023-07-31-changelog.md b/website/blog/2023-07-31-changelog.md index 35543d8374c..853505926a2 100644 --- a/website/blog/2023-07-31-changelog.md +++ b/website/blog/2023-07-31-changelog.md @@ -1,6 +1,6 @@ # July 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/blog/2023-08-31-changelog.md b/website/blog/2023-08-31-changelog.md index fee85ce281d..12f9511dad7 100644 --- a/website/blog/2023-08-31-changelog.md +++ b/website/blog/2023-08-31-changelog.md @@ -1,6 +1,6 @@ # August 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/blog/2023-09-30-changelog.md b/website/blog/2023-09-30-changelog.md index 88556a37d3f..d86aa1342d4 100644 --- a/website/blog/2023-09-30-changelog.md +++ b/website/blog/2023-09-30-changelog.md @@ -1,6 +1,6 @@ # September 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/blog/2023-10-31-changelog.md b/website/blog/2023-10-31-changelog.md index 31f5c9cabc8..2257c9e5663 100644 --- a/website/blog/2023-10-31-changelog.md +++ b/website/blog/2023-10-31-changelog.md @@ -1,6 +1,6 @@ # October 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/blog/2023-11-30-changelog.md b/website/blog/2023-11-30-changelog.md index 089647fb9e2..9bb8a4c864d 100644 --- a/website/blog/2023-11-30-changelog.md +++ b/website/blog/2023-11-30-changelog.md @@ -1,6 +1,6 @@ # November 2023 -Developer changelog for [essential repositories](/develop/github-overview) when building on NEAR Protocol. 🏗️ +Developer changelog for [essential repositories](https://github.com/near) when building on NEAR Protocol. 🏗️ 👉 [Get monthly emails of this report](https://docs.google.com/forms/d/1JfFUbTq3ELUlScJT1UI9PQPuQsv0W2jcTa7P94KrS5U/edit) 👈 diff --git a/website/docusaurus.config.js b/website/docusaurus.config.js index ef8ecfaa7a6..0d4870ee267 100644 --- a/website/docusaurus.config.js +++ b/website/docusaurus.config.js @@ -69,35 +69,7 @@ const config = { [ 'docusaurus-plugin-remote-content', { - // options here - name: 'dx', // used by CLI, must be path safe - sourceBaseUrl: 'https://raw.githubusercontent.com/near/DX/main/', - outDir: '../docs/2.develop', - documents: ['README.md'], - noRuntimeDownloads: true, - modifyContent(filename, content) { - // get everything after ## BOS - content = content.substring( - content.indexOf( - 'An overview of essential repositories when building on NEAR Protocol.' - ) - ); - return { - filename: 'github-overview.md', - content: `--- -id: github-overview -title: NEAR Developer Repositories ---- - -${content}`, // <-- this last part adds in the rest of the content, which would otherwise be discarded - }; - } - }, - ], - [ - 'docusaurus-plugin-remote-content', - { - name: 'changelog', + name: 'near-changelog', sourceBaseUrl: 'https://raw.githubusercontent.com/near/near-releases/main/reports/', outDir: '/blog', @@ -231,7 +203,7 @@ ${content}`, // <-- this last part adds in the rest of the content, which would position: "right" }, { - href: '/develop/github-overview', + href: 'https://github.com/near', position: 'right', className: 'header-github-link', 'aria-label': 'GitHub repository',