From 7a2d13430da64dcd3bb8fc3e1a3064c6dc0b01d5 Mon Sep 17 00:00:00 2001 From: Alexandr Garbuzov Date: Sun, 7 Sep 2025 21:21:03 +0300 Subject: [PATCH] refactor: remove suggestion to add theme from generate theme doc script (#4400) --- scripts/generate-theme-doc.js | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/scripts/generate-theme-doc.js b/scripts/generate-theme-doc.js index 1716ea6e..b83003d6 100644 --- a/scripts/generate-theme-doc.js +++ b/scripts/generate-theme-doc.js @@ -39,11 +39,6 @@ ${REPO_CARD_TABLE_FLAG} ${STAT_CARD_LINKS_FLAG} ${REPO_CARD_LINKS_FLAG} - - -[add-theme]: https://github.com/anuraghazra/github-readme-stats/edit/master/themes/index.js - -Want to add a new theme? Consider reading the [contribution guidelines](../CONTRIBUTING.md#themes-contribution) :D `; const createRepoMdLink = (theme) => { @@ -81,15 +76,7 @@ const generateTable = ({ isRepoCard }) => { let tableItem2 = createTableItem({ link: two, label: two, isRepoCard }); let tableItem3 = createTableItem({ link: three, label: three, isRepoCard }); - if (three === undefined) { - tableItem3 = `[Add your theme][add-theme]`; - } rows.push(`| ${tableItem1} | ${tableItem2} | ${tableItem3} |`); - - // if it's the last row & the row has no empty space push a new row - if (three && i + 3 === themesFiltered.length) { - rows.push(`| [Add your theme][add-theme] | | |`); - } } return rows.join("\n");