From 04235256af65c0304740be8219f06c56fa957f68 Mon Sep 17 00:00:00 2001 From: Sarah Schneider Date: Tue, 24 Nov 2020 09:10:34 -0500 Subject: [PATCH 1/3] add script --- .../remove-html-comments-from-index-files.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 script/content-migrations/remove-html-comments-from-index-files.js diff --git a/script/content-migrations/remove-html-comments-from-index-files.js b/script/content-migrations/remove-html-comments-from-index-files.js new file mode 100755 index 0000000000..70feec4f82 --- /dev/null +++ b/script/content-migrations/remove-html-comments-from-index-files.js @@ -0,0 +1,15 @@ +#!/usr/bin/env node + +const fs = require('fs') +const path = require('path') +const walk = require('walk-sync') +const contentDir = path.join(process.cwd(), 'content') + +// remove legacy commented out conditionals in index.md files +walk(contentDir, { includeBasePath: true, directories: false }) + .filter(file => file.endsWith('index.md')) + .forEach(file => { + const newContents = fs.readFileSync(file, 'utf8') + .replace(/\n/g, '') + fs.writeFileSync(file, newContents) + }) From 8d7a4aec4bdea411042cf127fd1a478eb89a75e3 Mon Sep 17 00:00:00 2001 From: Sarah Schneider Date: Tue, 24 Nov 2020 09:10:46 -0500 Subject: [PATCH 2/3] ran script/content-migrations/remove-html-comments-from-index-files.js --- content/admin/configuration/index.md | 6 --- .../administering-a-repository/index.md | 24 --------- .../github/authenticating-to-github/index.md | 12 ----- .../building-a-strong-community/index.md | 10 ---- .../index.md | 8 --- .../index.md | 2 - .../index.md | 6 --- .../getting-started-with-github/index.md | 10 ---- .../index.md | 2 - content/github/index.md | 37 -------------- .../managing-files-in-a-repository/index.md | 2 - content/github/managing-large-files/index.md | 4 -- .../index.md | 7 --- .../managing-your-work-on-github/index.md | 6 --- .../index.md | 6 --- .../index.md | 50 ------------------- .../index.md | 16 ------ .../index.md | 4 -- .../github/working-with-github-pages/index.md | 6 --- 19 files changed, 218 deletions(-) diff --git a/content/admin/configuration/index.md b/content/admin/configuration/index.md index 736ec887b6..4efeb57618 100644 --- a/content/admin/configuration/index.md +++ b/content/admin/configuration/index.md @@ -31,9 +31,7 @@ versions: {% link_in_list /enabling-private-mode %} {% link_in_list /configuring-email-for-notifications %} {% link_in_list /configuring-rate-limits %} - {% link_in_list /configuring-applications %} - {% link_in_list /troubleshooting-ssl-errors %} {% link_in_list /configuring-time-synchronization %} {% link_in_list /command-line-utilities %} @@ -54,11 +52,7 @@ versions: {% link_in_list /connecting-github-enterprise-server-to-github-enterprise-cloud %} {% link_in_list /enabling-unified-search-between-github-enterprise-server-and-githubcom %} {% link_in_list /enabling-unified-contributions-between-github-enterprise-server-and-githubcom %} - {% link_in_list /enabling-alerts-for-vulnerable-dependencies-on-github-enterprise-server %} {% link_in_list /enabling-automatic-user-license-sync-between-github-enterprise-server-and-github-enterprise-cloud %} - - {% topic_link_in_list /configuring-advanced-security-features %} {% link_in_list /configuring-code-scanning-for-your-appliance %} - diff --git a/content/github/administering-a-repository/index.md b/content/github/administering-a-repository/index.md index ecae8ec4f0..d89430b90e 100644 --- a/content/github/administering-a-repository/index.md +++ b/content/github/administering-a-repository/index.md @@ -17,31 +17,19 @@ versions: {% link_in_list /classifying-your-repository-with-topics %} {% link_in_list /customizing-how-changed-files-appear-on-github %} {% link_in_list /about-email-notifications-for-pushes-to-your-repository %} - {% link_in_list /displaying-a-sponsor-button-in-your-repository %} - - {% link_in_list /customizing-your-repositorys-social-media-preview %} - - {% link_in_list /viewing-deployment-activity-for-your-repository %} - {% link_in_list /managing-the-forking-policy-for-your-repository %} - {% link_in_list /configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-repository %} {% link_in_list /disabling-or-limiting-github-actions-for-a-repository %} {% link_in_list /managing-git-lfs-objects-in-archives-of-your-repository %} {% link_in_list /enabling-anonymous-git-read-access-for-a-repository %} - - {% link_in_list /configuring-autolinks-to-reference-external-resources %} - {% link_in_list /renaming-a-repository %} {% link_in_list /transferring-a-repository %} {% link_in_list /deleting-a-repository %} - {% link_in_list /restoring-a-deleted-repository %} - {% topic_link_in_list /managing-branches-in-your-repository %} {% link_in_list /viewing-branches-in-your-repository %} {% link_in_list /changing-the-default-branch %} @@ -50,9 +38,7 @@ versions: {% link_in_list /about-merge-methods-on-github %} {% link_in_list /configuring-commit-squashing-for-pull-requests %} {% link_in_list /configuring-commit-rebasing-for-pull-requests %} - {% link_in_list /managing-the-automatic-deletion-of-branches %} - {% topic_link_in_list /defining-the-mergeability-of-pull-requests %} {% link_in_list /about-protected-branches %} {% link_in_list /configuring-protected-branches %} @@ -65,31 +51,22 @@ versions: {% link_in_list /enabling-required-reviews-for-pull-requests %} {% link_in_list /about-required-commit-signing %} {% link_in_list /enabling-required-commit-signing %} - {% link_in_list /requiring-a-linear-commit-history %} {% link_in_list /enabling-force-pushes-to-a-protected-branch %} {% link_in_list /enabling-deletion-of-a-protected-branch %} - {% topic_link_in_list /releasing-projects-on-github %} {% link_in_list /about-releases %} {% link_in_list /managing-releases-in-a-repository %} {% link_in_list /viewing-your-repositorys-releases-and-tags %} {% link_in_list /linking-to-releases %} - {% link_in_list /comparing-releases %} - - {% link_in_list /automation-for-release-forms-with-query-parameters %} - - {% topic_link_in_list /securing-your-repository %} {% link_in_list /about-securing-your-repository %} {% link_in_list /about-secret-scanning %} {% link_in_list /configuring-secret-scanning-for-private-repositories %} {% link_in_list /managing-alerts-from-secret-scanning %} {% link_in_list /managing-security-and-analysis-settings-for-your-repository %} - - {% topic_link_in_list /keeping-your-dependencies-updated-automatically %} {% link_in_list /about-dependabot-version-updates %} {% link_in_list /enabling-and-disabling-version-updates %} @@ -98,4 +75,3 @@ versions: {% link_in_list /customizing-dependency-updates %} {% link_in_list /configuration-options-for-dependency-updates %} {% link_in_list /keeping-your-actions-up-to-date-with-dependabot %} - diff --git a/content/github/authenticating-to-github/index.md b/content/github/authenticating-to-github/index.md index 1ea2f31cb2..30e51c7087 100644 --- a/content/github/authenticating-to-github/index.md +++ b/content/github/authenticating-to-github/index.md @@ -35,11 +35,9 @@ versions: {% link_in_list /reviewing-your-authorized-applications-oauth %} {% link_in_list /reviewing-your-security-log %} {% link_in_list /removing-sensitive-data-from-a-repository %} - {% link_in_list /about-anonymized-image-urls %} {% link_in_list /about-githubs-ip-addresses %} {% link_in_list /githubs-ssh-key-fingerprints %} - {% link_in_list /sudo-mode %} {% link_in_list /preventing-unauthorized-access %} {% topic_link_in_list /securing-your-account-with-two-factor-authentication-2fa %} @@ -48,18 +46,14 @@ versions: {% link_in_list /configuring-two-factor-authentication-recovery-methods %} {% link_in_list /accessing-github-using-two-factor-authentication %} {% link_in_list /recovering-your-account-if-you-lose-your-2fa-credentials %} - {% link_in_list /changing-two-factor-authentication-delivery-methods-for-your-mobile-device %} {% link_in_list /countries-where-sms-authentication-is-supported %} - {% link_in_list /disabling-two-factor-authentication-for-your-personal-account %} - {% topic_link_in_list /authenticating-with-saml-single-sign-on %} {% link_in_list /about-authentication-with-saml-single-sign-on %} {% link_in_list /authorizing-an-ssh-key-for-use-with-saml-single-sign-on %} {% link_in_list /authorizing-a-personal-access-token-for-use-with-saml-single-sign-on %} {% link_in_list /viewing-and-managing-your-active-saml-sessions %} - {% topic_link_in_list /connecting-to-github-with-ssh %} {% link_in_list /about-ssh %} {% link_in_list /checking-for-existing-ssh-keys %} @@ -68,13 +62,9 @@ versions: {% link_in_list /testing-your-ssh-connection %} {% link_in_list /working-with-ssh-key-passphrases %} {% topic_link_in_list /troubleshooting-ssh %} - {% link_in_list /using-ssh-over-the-https-port %} - {% link_in_list /recovering-your-ssh-key-passphrase %} - {% link_in_list /deleted-or-missing-ssh-keys %} - {% link_in_list /error-permission-denied-publickey %} {% link_in_list /error-bad-file-number %} {% link_in_list /error-key-already-in-use %} @@ -82,9 +72,7 @@ versions: {% link_in_list /error-permission-to-userrepo-denied-to-userother-repo %} {% link_in_list /error-agent-admitted-failure-to-sign %} {% link_in_list /error-ssh-add-illegal-option----k %} - {% link_in_list /error-ssl-certificate-problem-verify-that-the-ca-cert-is-ok %} - {% link_in_list /error-were-doing-an-ssh-key-audit %} {% topic_link_in_list /managing-commit-signature-verification %} {% link_in_list /about-commit-signature-verification %} diff --git a/content/github/building-a-strong-community/index.md b/content/github/building-a-strong-community/index.md index 854d6d0950..70d3a13506 100644 --- a/content/github/building-a-strong-community/index.md +++ b/content/github/building-a-strong-community/index.md @@ -13,21 +13,15 @@ versions: ### Table of Contents {% topic_link_in_list /setting-up-your-project-for-healthy-contributions %} - {% link_in_list /about-community-management-and-moderation %} {% link_in_list /about-community-profiles-for-public-repositories %} {% link_in_list /accessing-a-projects-community-profile %} {% link_in_list /adding-a-code-of-conduct-to-your-project %} - {% link_in_list /setting-guidelines-for-repository-contributors %} {% link_in_list /adding-a-license-to-a-repository %} {% link_in_list /adding-support-resources-to-your-project %} - {% link_in_list /creating-a-default-community-health-file %} - - {% link_in_list /encouraging-helpful-contributions-to-your-project-with-labels %} - {% topic_link_in_list /using-templates-to-encourage-useful-issues-and-pull-requests %} {% link_in_list /about-issue-and-pull-request-templates %} {% link_in_list /configuring-issue-templates-for-your-repository %} @@ -42,7 +36,6 @@ versions: {% link_in_list /tracking-changes-in-a-comment %} {% link_in_list /managing-how-contributors-report-abuse-in-your-organizations-repository %} {% link_in_list /managing-reported-content-in-your-organizations-repository %} - {% topic_link_in_list /maintaining-your-safety-on-github %} {% link_in_list /blocking-a-user-from-your-personal-account %} {% link_in_list /viewing-users-youve-blocked-from-your-personal-account %} @@ -51,7 +44,6 @@ versions: {% link_in_list /viewing-users-who-are-blocked-from-your-organization %} {% link_in_list /unblocking-a-user-from-your-organization %} {% link_in_list /reporting-abuse-or-spam %} - {% topic_link_in_list /documenting-your-project-with-wikis %} {% link_in_list /about-wikis %} {% link_in_list /adding-or-editing-wiki-pages %} @@ -60,10 +52,8 @@ versions: {% link_in_list /viewing-a-wikis-history-of-changes %} {% link_in_list /changing-access-permissions-for-wikis %} {% link_in_list /disabling-wikis %} - {% topic_link_in_list /collaborating-with-your-team %} {% link_in_list /about-team-discussions %} {% link_in_list /creating-a-team-discussion %} {% link_in_list /editing-or-deleting-a-team-discussion %} {% link_in_list /pinning-a-team-discussion %} - diff --git a/content/github/collaborating-with-issues-and-pull-requests/index.md b/content/github/collaborating-with-issues-and-pull-requests/index.md index fe2b997f77..234ce781cd 100644 --- a/content/github/collaborating-with-issues-and-pull-requests/index.md +++ b/content/github/collaborating-with-issues-and-pull-requests/index.md @@ -29,9 +29,7 @@ versions: {% link_in_list /what-happens-to-forks-when-a-repository-is-deleted-or-changes-visibility %} {% topic_link_in_list /collaborating-on-repositories-with-code-quality-features %} {% link_in_list /about-status-checks %} - {% link_in_list /working-with-pre-receive-hooks %} - {% topic_link_in_list /proposing-changes-to-your-work-with-pull-requests %} {% link_in_list /about-branches %} {% link_in_list /creating-and-deleting-branches-within-your-repository %} @@ -39,9 +37,7 @@ versions: {% link_in_list /about-comparing-branches-in-pull-requests %} {% link_in_list /creating-a-pull-request %} {% link_in_list /creating-a-pull-request-from-a-fork %} - {% link_in_list /changing-the-stage-of-a-pull-request %} - {% link_in_list /requesting-a-pull-request-review %} {% link_in_list /changing-the-base-branch-of-a-pull-request %} {% link_in_list /committing-changes-to-a-pull-request-branch-created-from-a-fork %} @@ -52,15 +48,11 @@ versions: {% topic_link_in_list /reviewing-changes-in-pull-requests %} {% link_in_list /about-pull-request-reviews %} {% link_in_list /reviewing-proposed-changes-in-a-pull-request %} - {% link_in_list /filtering-files-in-a-pull-request %} - {% link_in_list /finding-changed-methods-and-functions-in-a-pull-request %} {% link_in_list /commenting-on-a-pull-request %} {% link_in_list /viewing-a-pull-request-review %} - {% link_in_list /incorporating-feedback-in-your-pull-request %} - {% link_in_list /approving-a-pull-request-with-required-reviews %} {% link_in_list /dismissing-a-pull-request-review %} {% link_in_list /checking-out-pull-requests-locally %} diff --git a/content/github/committing-changes-to-your-project/index.md b/content/github/committing-changes-to-your-project/index.md index 6a0d69b0c6..d08959632a 100644 --- a/content/github/committing-changes-to-your-project/index.md +++ b/content/github/committing-changes-to-your-project/index.md @@ -16,9 +16,7 @@ versions: {% topic_link_in_list /creating-and-editing-commits %} {% link_in_list /about-commits %} {% link_in_list /creating-a-commit-with-multiple-authors %} - {% link_in_list /creating-a-commit-on-behalf-of-an-organization %} - {% link_in_list /changing-a-commit-message %} {% topic_link_in_list /viewing-and-comparing-commits %} {% link_in_list /commit-branch-and-tag-labels %} diff --git a/content/github/creating-cloning-and-archiving-repositories/index.md b/content/github/creating-cloning-and-archiving-repositories/index.md index c3f6d3e54d..d590e22a92 100644 --- a/content/github/creating-cloning-and-archiving-repositories/index.md +++ b/content/github/creating-cloning-and-archiving-repositories/index.md @@ -18,16 +18,12 @@ versions: {% link_in_list /about-repositories %} {% link_in_list /about-repository-visibility %} {% link_in_list /creating-a-new-repository %} - {% link_in_list /creating-a-repository-from-a-template %} - {% link_in_list /about-readmes %} {% link_in_list /about-code-owners %} {% link_in_list /about-repository-languages %} {% link_in_list /licensing-a-repository %} - {% link_in_list /creating-a-template-repository %} - {% link_in_list /creating-an-issues-only-repository %} {% link_in_list /limits-for-viewing-content-and-diffs-in-a-repository %} {% link_in_list /duplicating-a-repository %} @@ -39,8 +35,6 @@ versions: {% topic_link_in_list /archiving-a-github-repository %} {% link_in_list /about-archiving-repositories %} {% link_in_list /archiving-repositories %} - {% link_in_list /about-archiving-content-and-data-on-github %} {% link_in_list /referencing-and-citing-content %} - {% link_in_list /backing-up-a-repository %} diff --git a/content/github/getting-started-with-github/index.md b/content/github/getting-started-with-github/index.md index 58792d38bc..c8b857b90e 100644 --- a/content/github/getting-started-with-github/index.md +++ b/content/github/getting-started-with-github/index.md @@ -27,37 +27,27 @@ versions: {% link_in_list /fork-a-repo %} {% link_in_list /be-social %} {% topic_link_in_list /learning-about-github %} - {% link_in_list /githubs-products %} {% link_in_list /exploring-early-access-releases-with-feature-preview %} - {% link_in_list /types-of-github-accounts %} - {% link_in_list /faq-about-changes-to-githubs-plans %} {% link_in_list /github-cli %} {% link_in_list /github-desktop %} {% link_in_list /github-for-mobile %} - {% link_in_list /access-permissions-on-github %} {% link_in_list /github-glossary %} {% link_in_list /git-cheatsheet %} {% link_in_list /git-and-github-learning-resources %} {% topic_link_in_list /signing-up-for-github %} - {% link_in_list /signing-up-for-a-new-github-account %} {% link_in_list /verifying-your-email-address %} - {% link_in_list /setting-up-a-trial-of-github-enterprise-cloud %} {% link_in_list /setting-up-a-trial-of-github-enterprise-server %} {% topic_link_in_list /exploring-projects-on-github %} - {% link_in_list /finding-ways-to-contribute-to-open-source-on-github %} - {% link_in_list /saving-repositories-with-stars %} {% link_in_list /following-people %} {% topic_link_in_list /using-github %} {% link_in_list /supported-browsers %} - {% link_in_list /troubleshooting-connectivity-problems %} - {% link_in_list /keyboard-shortcuts %} diff --git a/content/github/importing-your-projects-to-github/index.md b/content/github/importing-your-projects-to-github/index.md index 1ebc5ad0d3..7882a47ea4 100644 --- a/content/github/importing-your-projects-to-github/index.md +++ b/content/github/importing-your-projects-to-github/index.md @@ -15,11 +15,9 @@ versions: ### Table of Contents {% topic_link_in_list /importing-source-code-to-github %} - {% link_in_list /about-github-importer %} {% link_in_list /importing-a-repository-with-github-importer %} {% link_in_list /updating-commit-author-attribution-with-github-importer %} - {% link_in_list /importing-a-git-repository-using-the-command-line %} {% link_in_list /adding-an-existing-project-to-github-using-the-command-line %} {% link_in_list /source-code-migration-tools %} diff --git a/content/github/index.md b/content/github/index.md index 768349e16a..038d3fea24 100644 --- a/content/github/index.md +++ b/content/github/index.md @@ -20,24 +20,14 @@ versions: {% link_in_list /authenticating-to-github %} - {% link_in_list /managing-subscriptions-and-notifications-on-github %} - - {% link_in_list /receiving-notifications-about-activity-on-github %} - {% link_in_list /setting-up-and-managing-organizations-and-teams %} - - {% link_in_list /setting-up-and-managing-your-enterprise %} - - - {% link_in_list /setting-up-and-managing-billing-and-payments-on-github %} - {% link_in_list /writing-on-github %} @@ -50,10 +40,7 @@ versions: {% link_in_list /collaborating-with-issues-and-pull-requests %} {% link_in_list /managing-your-work-on-github %} - - {% link_in_list /developing-online-with-codespaces %} - {% link_in_list /building-a-strong-community %} @@ -64,45 +51,21 @@ versions: {% link_in_list /administering-a-repository %} {% link_in_list /visualizing-repository-data-with-graphs %} - - {% link_in_list /managing-security-vulnerabilities %} - {% link_in_list /finding-security-vulnerabilities-and-errors-in-your-code %} {% link_in_list /managing-files-in-a-repository %} {% link_in_list /managing-large-files %} - - {% link_in_list /customizing-your-github-workflow %} - {% link_in_list /extending-github %} {% link_in_list /working-with-github-pages %} - - {% link_in_list /supporting-the-open-source-community-with-github-sponsors %} - - - {% link_in_list /teaching-and-learning-with-github-education %} - - - {% link_in_list /finding-talent-with-github-jobs %} - - - {% link_in_list /working-with-github-support %} - - - {% link_in_list /understanding-how-github-uses-and-protects-your-data %} - - - {% link_in_list /site-policy %} - diff --git a/content/github/managing-files-in-a-repository/index.md b/content/github/managing-files-in-a-repository/index.md index ebc35dd973..d1765daf5e 100644 --- a/content/github/managing-files-in-a-repository/index.md +++ b/content/github/managing-files-in-a-repository/index.md @@ -14,9 +14,7 @@ versions: ### Table of Contents {% topic_link_in_list /managing-files-on-github %} - {% link_in_list /navigating-code-on-github %} - {% link_in_list /creating-new-files %} {% link_in_list /adding-a-file-to-a-repository %} {% link_in_list /moving-a-file-to-a-new-location %} diff --git a/content/github/managing-large-files/index.md b/content/github/managing-large-files/index.md index bc1db5f762..576ce0e49f 100644 --- a/content/github/managing-large-files/index.md +++ b/content/github/managing-large-files/index.md @@ -15,16 +15,12 @@ versions: {% link_in_list /conditions-for-large-files %} {% link_in_list /removing-files-from-a-repositorys-history %} {% link_in_list /distributing-large-binaries %} - {% link_in_list /what-is-my-disk-quota %} - {% topic_link_in_list /versioning-large-files %} {% link_in_list /about-git-large-file-storage %} {% link_in_list /installing-git-large-file-storage %} {% link_in_list /configuring-git-large-file-storage %} - {% link_in_list /about-storage-and-bandwidth-usage %} - {% link_in_list /collaboration-with-git-large-file-storage %} {% link_in_list /moving-a-file-in-your-repository-to-git-large-file-storage %} {% link_in_list /removing-files-from-git-large-file-storage %} diff --git a/content/github/managing-security-vulnerabilities/index.md b/content/github/managing-security-vulnerabilities/index.md index 819e4c4e24..14e9fc90c3 100644 --- a/content/github/managing-security-vulnerabilities/index.md +++ b/content/github/managing-security-vulnerabilities/index.md @@ -9,8 +9,6 @@ versions: ### Table of Contents - - {% topic_link_in_list /managing-security-vulnerabilities-in-your-project %} {% link_in_list /adding-a-security-policy-to-your-repository %} {% link_in_list /about-github-security-advisories %} @@ -22,17 +20,12 @@ versions: {% link_in_list /publishing-a-security-advisory %} {% link_in_list /editing-a-security-advisory %} {% link_in_list /withdrawing-a-security-advisory %} - {% topic_link_in_list /managing-vulnerabilities-in-your-projects-dependencies %} - {% link_in_list /browsing-security-vulnerabilities-in-the-github-advisory-database %} - {% link_in_list /about-alerts-for-vulnerable-dependencies %} {% link_in_list /configuring-notifications-for-vulnerable-dependencies %} - {% link_in_list /about-dependabot-security-updates %} {% link_in_list /configuring-dependabot-security-updates %} {% link_in_list /viewing-and-updating-vulnerable-dependencies-in-your-repository %} {% link_in_list /troubleshooting-the-detection-of-vulnerable-dependencies %} {% link_in_list /troubleshooting-dependabot-errors %} - diff --git a/content/github/managing-your-work-on-github/index.md b/content/github/managing-your-work-on-github/index.md index c6f2a858e0..ae80e7dc21 100644 --- a/content/github/managing-your-work-on-github/index.md +++ b/content/github/managing-your-work-on-github/index.md @@ -17,15 +17,11 @@ versions: {% topic_link_in_list /managing-your-work-with-issues %} {% link_in_list /about-issues %} {% link_in_list /creating-an-issue %} - {% link_in_list /deleting-an-issue %} - {% link_in_list /opening-an-issue-from-a-comment %} {% link_in_list /opening-an-issue-from-code %} - {% link_in_list /transferring-an-issue-to-another-repository %} {% link_in_list /pinning-an-issue-to-your-repository %} - {% link_in_list /creating-a-permanent-link-to-a-code-snippet %} {% link_in_list /about-task-lists %} {% link_in_list /about-automation-for-issues-and-pull-requests-with-query-parameters %} @@ -48,9 +44,7 @@ versions: {% link_in_list /linking-a-repository-to-a-project-board %} {% link_in_list /about-automation-for-project-boards %} {% link_in_list /configuring-automation-for-project-boards %} - {% link_in_list /copying-a-project-board %} - {% link_in_list /closing-a-project-board %} {% link_in_list /reopening-a-closed-project-board %} {% link_in_list /deleting-a-project-board %} diff --git a/content/github/receiving-notifications-about-activity-on-github/index.md b/content/github/receiving-notifications-about-activity-on-github/index.md index 31ad8c870e..cbb97cfc98 100644 --- a/content/github/receiving-notifications-about-activity-on-github/index.md +++ b/content/github/receiving-notifications-about-activity-on-github/index.md @@ -14,16 +14,10 @@ versions: {% link_in_list /choosing-the-delivery-method-for-your-notifications %} {% topic_link_in_list /managing-your-notifications %} {% link_in_list /marking-notifications-as-read %} - {% link_in_list /saving-notifications-for-later %} - {% link_in_list /subscribing-to-and-unsubscribing-from-notifications %} - {% link_in_list /listing-the-issues-and-pull-requests-youre-subscribed-to %} - {% link_in_list /watching-and-unwatching-repositories %} - {% link_in_list /watching-and-unwatching-releases-for-a-repository %} - {% link_in_list /watching-and-unwatching-team-discussions %} {% link_in_list /listing-the-repositories-youre-watching %} diff --git a/content/github/setting-up-and-managing-organizations-and-teams/index.md b/content/github/setting-up-and-managing-organizations-and-teams/index.md index 51d361dd56..21ca94abd5 100644 --- a/content/github/setting-up-and-managing-organizations-and-teams/index.md +++ b/content/github/setting-up-and-managing-organizations-and-teams/index.md @@ -20,42 +20,30 @@ versions: {% link_in_list /creating-a-new-organization-from-scratch %} {% link_in_list /accessing-your-organizations-settings %} {% link_in_list /about-your-organizations-news-feed %} - {% link_in_list /viewing-insights-for-your-organization %} - {% topic_link_in_list /managing-membership-in-your-organization %} - {% link_in_list /inviting-users-to-join-your-organization %} {% link_in_list /canceling-or-editing-an-invitation-to-join-your-organization %} {% link_in_list /adding-people-to-your-organization %} - {% link_in_list /removing-a-member-from-your-organization %} {% link_in_list /reinstating-a-former-member-of-your-organization %} - {% link_in_list /can-i-create-accounts-for-people-in-my-organization %} - {% topic_link_in_list /managing-peoples-access-to-your-organization-with-roles %} {% link_in_list /permission-levels-for-an-organization %} {% link_in_list /maintaining-ownership-continuity-for-your-organization %} {% link_in_list /giving-team-maintainer-permissions-to-an-organization-member %} - {% link_in_list /adding-a-billing-manager-to-your-organization %} {% link_in_list /removing-a-billing-manager-from-your-organization %} - {% topic_link_in_list /organizing-members-into-teams %} {% link_in_list /about-teams %} {% link_in_list /creating-a-team %} {% link_in_list /setting-your-teams-profile-picture %} {% link_in_list /adding-organization-members-to-a-team %} - {% link_in_list /managing-code-review-assignment-for-your-team %} - {% link_in_list /renaming-a-team %} {% link_in_list /changing-team-visibility %} - {% link_in_list /synchronizing-a-team-with-an-identity-provider-group %} - {% link_in_list /moving-a-team-in-your-organizations-hierarchy %} {% link_in_list /requesting-to-add-a-child-team %} {% link_in_list /requesting-to-add-or-change-a-parent-team %} @@ -66,9 +54,7 @@ versions: {% topic_link_in_list /managing-access-to-your-organizations-repositories %} {% link_in_list /repository-permission-levels-for-an-organization %} {% link_in_list /setting-base-permissions-for-an-organization %} - {% link_in_list /viewing-people-with-access-to-your-repository %} - {% link_in_list /managing-an-individuals-access-to-an-organization-repository %} {% link_in_list /managing-team-access-to-an-organization-repository %} {% link_in_list /adding-outside-collaborators-to-repositories-in-your-organization %} @@ -84,83 +70,52 @@ versions: {% link_in_list /managing-an-individuals-access-to-an-organization-project-board %} {% link_in_list /adding-an-outside-collaborator-to-a-project-board-in-your-organization %} {% link_in_list /removing-an-outside-collaborator-from-an-organization-project-board %} - {% topic_link_in_list /managing-access-to-your-organizations-apps %} {% link_in_list /adding-github-app-managers-in-your-organization %} {% link_in_list /removing-github-app-managers-from-your-organization %} - {% topic_link_in_list /managing-organization-settings %} - {% link_in_list /verifying-your-organizations-domain %} - {% link_in_list /renaming-an-organization %} {% link_in_list /transferring-organization-ownership %} {% link_in_list /restricting-repository-creation-in-your-organization %} {% link_in_list /setting-permissions-for-deleting-or-transferring-repositories %} {% link_in_list /restricting-repository-visibility-changes-in-your-organization %} {% link_in_list /managing-the-forking-policy-for-your-organization %} - {% link_in_list /disabling-or-limiting-github-actions-for-your-organization %} {% link_in_list /configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization %} - - {% link_in_list /setting-permissions-for-adding-outside-collaborators %} {% link_in_list /allowing-people-to-delete-issues-in-your-organization %} - - {% link_in_list /setting-team-creation-permissions-in-your-organization %} - - {% link_in_list /managing-scheduled-reminders-for-your-organization %} - - {% link_in_list /managing-the-default-branch-name-for-repositories-in-your-organization %} - - {% link_in_list /managing-default-labels-for-repositories-in-your-organization %} - - {% link_in_list /changing-the-visibility-of-your-organizations-dependency-insights %} - - {% link_in_list /managing-the-display-of-member-names-in-your-organization %} - {% link_in_list /disabling-publication-of-github-pages-sites-for-your-organization %} {% link_in_list /deleting-an-organization-account %} {% link_in_list /converting-an-organization-into-a-user %} - {% link_in_list /integrating-jira-with-your-organization-project-board %} - - {% link_in_list /upgrading-to-the-corporate-terms-of-service %} - {% topic_link_in_list /migrating-to-improved-organization-permissions %} {% link_in_list /converting-an-owners-team-to-improved-organization-permissions %} {% link_in_list /converting-an-admin-team-to-improved-organization-permissions %} {% link_in_list /migrating-admin-teams-to-improved-organization-permissions %} - {% topic_link_in_list /restricting-access-to-your-organizations-data %} {% link_in_list /about-oauth-app-access-restrictions %} {% link_in_list /enabling-oauth-app-access-restrictions-for-your-organization %} {% link_in_list /disabling-oauth-app-access-restrictions-for-your-organization %} {% link_in_list /approving-oauth-apps-for-your-organization %} {% link_in_list /denying-access-to-a-previously-approved-oauth-app-for-your-organization %} - {% topic_link_in_list /keeping-your-organization-secure %} {% link_in_list /viewing-whether-users-in-your-organization-have-2fa-enabled %} {% link_in_list /preparing-to-require-two-factor-authentication-in-your-organization %} {% link_in_list /requiring-two-factor-authentication-in-your-organization %} - {% link_in_list /managing-security-and-analysis-settings-for-your-organization %} {% link_in_list /managing-secret-scanning-for-your-organization %} - {% link_in_list /managing-allowed-ip-addresses-for-your-organization %} - {% link_in_list /restricting-email-notifications-to-an-approved-domain %} - {% link_in_list /reviewing-the-audit-log-for-your-organization %} {% link_in_list /reviewing-your-organizations-installed-integrations %} - {% topic_link_in_list /managing-saml-single-sign-on-for-your-organization %} {% link_in_list /about-identity-and-access-management-with-saml-single-sign-on %} {% link_in_list /about-scim %} @@ -170,17 +125,12 @@ versions: {% link_in_list /preparing-to-enforce-saml-single-sign-on-in-your-organization %} {% link_in_list /enforcing-saml-single-sign-on-for-your-organization %} {% link_in_list /downloading-your-organizations-saml-single-sign-on-recovery-codes %} - {% link_in_list /managing-team-synchronization-for-your-organization %} - {% link_in_list /accessing-your-organization-if-your-identity-provider-is-unavailable %} {% topic_link_in_list /granting-access-to-your-organization-with-saml-single-sign-on %} {% link_in_list /managing-bots-and-service-accounts-with-saml-single-sign-on %} {% link_in_list /viewing-and-managing-a-members-saml-access-to-your-organization %} {% link_in_list /about-two-factor-authentication-and-saml-single-sign-on %} - - {% topic_link_in_list /managing-git-access-to-your-organizations-repositories %} {% link_in_list /about-ssh-certificate-authorities %} {% link_in_list /managing-your-organizations-ssh-certificate-authorities %} - diff --git a/content/github/setting-up-and-managing-your-github-user-account/index.md b/content/github/setting-up-and-managing-your-github-user-account/index.md index 19615ecffa..6ce7743d9f 100644 --- a/content/github/setting-up-and-managing-your-github-user-account/index.md +++ b/content/github/setting-up-and-managing-your-github-user-account/index.md @@ -15,40 +15,26 @@ versions: {% topic_link_in_list /managing-user-account-settings %} {% link_in_list /about-your-personal-dashboard %} {% link_in_list /changing-your-github-username %} - {% link_in_list /merging-multiple-user-accounts %} {% link_in_list /converting-a-user-into-an-organization %} - {% link_in_list /deleting-your-user-account %} {% link_in_list /permission-levels-for-a-user-account-repository %} {% link_in_list /permission-levels-for-user-owned-project-boards %} {% link_in_list /managing-the-default-branch-name-for-your-repositories %} {% link_in_list /managing-security-and-analysis-settings-for-your-user-account %} {% link_in_list /managing-access-to-your-user-accounts-project-boards %} - {% link_in_list /integrating-jira-with-your-personal-projects %} - - {% link_in_list /best-practices-for-leaving-your-company %} - - {% link_in_list /what-does-the-available-for-hire-checkbox-do %} - {% topic_link_in_list /managing-email-preferences %} {% link_in_list /adding-an-email-address-to-your-github-account %} {% link_in_list /changing-your-primary-email-address %} {% link_in_list /setting-a-backup-email-address %} {% link_in_list /setting-your-commit-email-address %} - {% link_in_list /blocking-command-line-pushes-that-expose-your-personal-email-address %} - {% link_in_list /remembering-your-github-username-or-email %} - {% link_in_list /types-of-emails-github-sends %} - - {% link_in_list /managing-marketing-emails-from-github %} - {% topic_link_in_list /managing-access-to-your-personal-repositories %} {% link_in_list /inviting-collaborators-to-a-personal-repository %} {% link_in_list /removing-a-collaborator-from-a-personal-repository %} @@ -58,9 +44,7 @@ versions: {% link_in_list /about-organization-membership %} {% link_in_list /accessing-an-organization %} {% link_in_list /viewing-peoples-roles-in-an-organization %} - {% link_in_list /requesting-organization-approval-for-oauth-apps %} - {% link_in_list /publicizing-or-hiding-organization-membership %} {% link_in_list /managing-your-scheduled-reminders %} {% link_in_list /removing-yourself-from-an-organization %} diff --git a/content/github/visualizing-repository-data-with-graphs/index.md b/content/github/visualizing-repository-data-with-graphs/index.md index fb095cfc5f..bbe4472b6b 100644 --- a/content/github/visualizing-repository-data-with-graphs/index.md +++ b/content/github/visualizing-repository-data-with-graphs/index.md @@ -18,16 +18,12 @@ versions: {% link_in_list /about-repository-graphs %} {% link_in_list /viewing-a-summary-of-repository-activity %} {% link_in_list /viewing-a-projects-contributors %} - {% link_in_list /viewing-traffic-to-a-repository %} - {% topic_link_in_list /analyzing-changes-to-a-repositorys-content %} {% link_in_list /visualizing-commits-in-a-repository %} {% link_in_list /visualizing-additions-and-deletions-to-content-in-a-repository %} {% topic_link_in_list /understanding-connections-between-repositories %} {% link_in_list /viewing-a-repositorys-network %} {% link_in_list /listing-the-forks-of-a-repository %} - {% link_in_list /about-the-dependency-graph %} {% link_in_list /exploring-the-dependencies-of-a-repository %} - diff --git a/content/github/working-with-github-pages/index.md b/content/github/working-with-github-pages/index.md index 55af53121b..38497ac888 100644 --- a/content/github/working-with-github-pages/index.md +++ b/content/github/working-with-github-pages/index.md @@ -23,15 +23,11 @@ versions: {% topic_link_in_list /getting-started-with-github-pages %} {% link_in_list /about-github-pages %} {% link_in_list /creating-a-github-pages-site %} - {% link_in_list /adding-a-theme-to-your-github-pages-site-with-the-theme-chooser %} - {% link_in_list /configuring-a-publishing-source-for-your-github-pages-site %} {% link_in_list /creating-a-custom-404-page-for-your-github-pages-site %} - {% link_in_list /securing-your-github-pages-site-with-https %} {% link_in_list /using-submodules-with-github-pages %} - {% link_in_list /unpublishing-a-github-pages-site %} {% topic_link_in_list /setting-up-a-github-pages-site-with-jekyll %} {% link_in_list /about-github-pages-and-jekyll %} @@ -42,9 +38,7 @@ versions: {% link_in_list /adding-a-theme-to-your-github-pages-site-using-jekyll %} {% link_in_list /about-jekyll-build-errors-for-github-pages-sites %} {% link_in_list /troubleshooting-jekyll-build-errors-for-github-pages-sites %} - {% topic_link_in_list /configuring-a-custom-domain-for-your-github-pages-site %} {% link_in_list /about-custom-domains-and-github-pages %} {% link_in_list /managing-a-custom-domain-for-your-github-pages-site %} {% link_in_list /troubleshooting-custom-domains-and-github-pages %} - From 13fef5b1b7b3a7c4534d0424b0748ee11bbc3f41 Mon Sep 17 00:00:00 2001 From: Sarah Schneider Date: Tue, 1 Dec 2020 09:30:04 -0500 Subject: [PATCH 3/3] remove unnecessary versioning from TOCs --- content/github/administering-a-repository/index.md | 4 ++-- content/github/searching-for-information-on-github/index.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/content/github/administering-a-repository/index.md b/content/github/administering-a-repository/index.md index d89430b90e..4252f4354c 100644 --- a/content/github/administering-a-repository/index.md +++ b/content/github/administering-a-repository/index.md @@ -12,8 +12,8 @@ versions: ### Table of Contents {% topic_link_in_list /managing-repository-settings %} - {% link_in_list /setting-repository-visibility %}{% if currentVersion == "free-pro-team@latest" %} - {% link_in_list /managing-teams-and-people-with-access-to-your-repository %}{% endif %} + {% link_in_list /setting-repository-visibility %} + {% link_in_list /managing-teams-and-people-with-access-to-your-repository %} {% link_in_list /classifying-your-repository-with-topics %} {% link_in_list /customizing-how-changed-files-appear-on-github %} {% link_in_list /about-email-notifications-for-pushes-to-your-repository %} diff --git a/content/github/searching-for-information-on-github/index.md b/content/github/searching-for-information-on-github/index.md index 1c417eade8..ac04d9d141 100644 --- a/content/github/searching-for-information-on-github/index.md +++ b/content/github/searching-for-information-on-github/index.md @@ -25,8 +25,8 @@ versions: {% link_in_list /searching-topics %} {% link_in_list /searching-code %} {% link_in_list /searching-commits %} - {% link_in_list /searching-issues-and-pull-requests %}{% if currentVersion == "free-pro-team@latest" %} - {% link_in_list /searching-github-marketplace %}{% endif %} + {% link_in_list /searching-issues-and-pull-requests %} + {% link_in_list /searching-github-marketplace %} {% link_in_list /searching-users %} {% link_in_list /searching-for-packages %} {% link_in_list /searching-wikis %}