diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a407ba2b28..c3c3198712 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -8,9 +8,6 @@ name: Node.js Tests on: workflow_dispatch: - push: - branches: - - main pull_request: permissions: diff --git a/content/admin/advanced-security/index.md b/content/admin/advanced-security/index.md index b90c255c0a..9bb979a9eb 100644 --- a/content/admin/advanced-security/index.md +++ b/content/admin/advanced-security/index.md @@ -15,8 +15,6 @@ children: - /enabling-github-advanced-security-for-your-enterprise - /configuring-code-scanning-for-your-appliance - /configuring-secret-scanning-for-your-appliance - - /viewing-your-github-advanced-security-usage - /overview-of-github-advanced-security-deployment - /deploying-github-advanced-security-in-your-enterprise --- - diff --git a/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md b/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md deleted file mode 100644 index 9e7c1ef0c2..0000000000 --- a/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: Viewing your GitHub Advanced Security usage -intro: 'You can view usage of your {% data variables.product.prodname_GH_advanced_security %} license.' -permissions: 'Enterprise owners can view usage for {% data variables.product.prodname_GH_advanced_security %}.' -product: '{% data reusables.gated-features.ghas %}' -versions: - ghes: '>=3.1' -type: how_to -topics: - - Advanced Security - - Enterprise - - Licensing -shortTitle: View Advanced Security usage ---- - -## About licenses for {% data variables.product.prodname_GH_advanced_security %} - -{% data reusables.advanced-security.about-ghas-license-seats %} For more information, see "[About billing for {% data variables.product.prodname_GH_advanced_security %}](/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security)." - -## Viewing license usage for {% data variables.product.prodname_GH_advanced_security %} - -You can check how many seats your license includes and how many seats are currently in use. - -{% data reusables.enterprise-accounts.access-enterprise %} -{% data reusables.enterprise-accounts.settings-tab %} -{% data reusables.enterprise-accounts.license-tab %} - The "{% data variables.product.prodname_GH_advanced_security %}" section shows details of the current usage. You can see the total number of seats used, as well as a table with the number of committers and unique committers for each organization. - ![{% data variables.product.prodname_GH_advanced_security %} section of Enterprise license](/assets/images/help/billing/ghas-orgs-list-enterprise-ghes.png) -5. Optionally, click the name of an organization where you are an owner to display the security and analysis settings for the organization. - ![Owned organization in {% data variables.product.prodname_GH_advanced_security %} section of enterprise billing settings](/assets/images/help/billing/ghas-orgs-list-enterprise-click-org.png) -6. On the "Security & analysis" settings page, scroll to the "{% data variables.product.prodname_GH_advanced_security %} repositories" section to see a detailed breakdown of usage by repository for this organization. - ![{% data variables.product.prodname_GH_advanced_security %} repositories section](/assets/images/help/enterprises/settings-security-analysis-ghas-repos-list.png) - For more information, see "[Managing security and analysis settings for your organization](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization)." diff --git a/content/communities/moderating-comments-and-conversations/managing-disruptive-comments.md b/content/communities/moderating-comments-and-conversations/managing-disruptive-comments.md index 6a7d8ad677..cd8481cdd1 100644 --- a/content/communities/moderating-comments-and-conversations/managing-disruptive-comments.md +++ b/content/communities/moderating-comments-and-conversations/managing-disruptive-comments.md @@ -2,8 +2,8 @@ title: Managing disruptive comments intro: 'You can {% ifversion fpt or ghec %}hide, edit,{% else %}edit{% endif %} or delete comments on issues, pull requests, and commits.' redirect_from: - - /articles/editing-a-comment/ - - /articles/deleting-a-comment/ + - /articles/editing-a-comment + - /articles/deleting-a-comment - /articles/managing-disruptive-comments - /github/building-a-strong-community/managing-disruptive-comments versions: @@ -18,7 +18,7 @@ shortTitle: Manage comments ## Hiding a comment -Anyone with write access to a repository can hide comments on issues, pull requests, and commits. +Anyone with write access to a repository can hide comments on issues, pull requests, and commits. If a comment is off-topic, outdated, or resolved, you may want to hide a comment to keep a discussion focused or make a pull request easier to navigate and review. Hidden comments are minimized but people with read access to the repository can expand them. diff --git a/content/desktop/installing-and-configuring-github-desktop/overview/keyboard-shortcuts.md b/content/desktop/installing-and-configuring-github-desktop/overview/keyboard-shortcuts.md index ae127fcf00..cf34ff73d0 100644 --- a/content/desktop/installing-and-configuring-github-desktop/overview/keyboard-shortcuts.md +++ b/content/desktop/installing-and-configuring-github-desktop/overview/keyboard-shortcuts.md @@ -2,7 +2,7 @@ title: Keyboard shortcuts intro: 'You can use keyboard shortcuts in {% data variables.product.prodname_desktop %}.' redirect_from: - - /desktop/getting-started-with-github-desktop/keyboard-shortcuts-in-github-desktop/ + - /desktop/getting-started-with-github-desktop/keyboard-shortcuts-in-github-desktop - /desktop/getting-started-with-github-desktop/keyboard-shortcuts - /desktop/installing-and-configuring-github-desktop/keyboard-shortcuts versions: diff --git a/content/developers/github-marketplace/selling-your-app-on-github-marketplace/receiving-payment-for-app-purchases.md b/content/developers/github-marketplace/selling-your-app-on-github-marketplace/receiving-payment-for-app-purchases.md index e935d2a0e9..37bfe4dd23 100644 --- a/content/developers/github-marketplace/selling-your-app-on-github-marketplace/receiving-payment-for-app-purchases.md +++ b/content/developers/github-marketplace/selling-your-app-on-github-marketplace/receiving-payment-for-app-purchases.md @@ -2,10 +2,10 @@ title: Receiving payment for app purchases intro: 'At the end of each month, you''ll receive payment for your {% data variables.product.prodname_marketplace %} listing.' redirect_from: - - /apps/adding-integrations/managing-pricing-and-payments-for-a-github-marketplace-listing/receiving-payment-for-a-github-marketplace-listing/ - - /apps/marketplace/managing-pricing-and-payments-for-a-github-marketplace-listing/receiving-payment-for-a-github-marketplace-listing/ - - /apps/marketplace/pricing-payments-and-free-trials/receiving-payment-for-a-github-marketplace-listing/ - - /apps/marketplace/selling-your-app/receiving-payment-for-github-marketplace-listings/ + - /apps/adding-integrations/managing-pricing-and-payments-for-a-github-marketplace-listing/receiving-payment-for-a-github-marketplace-listing + - /apps/marketplace/managing-pricing-and-payments-for-a-github-marketplace-listing/receiving-payment-for-a-github-marketplace-listing + - /apps/marketplace/pricing-payments-and-free-trials/receiving-payment-for-a-github-marketplace-listing + - /apps/marketplace/selling-your-app/receiving-payment-for-github-marketplace-listings - /marketplace/selling-your-app/receiving-payment-for-github-marketplace-listings - /developers/github-marketplace/receiving-payment-for-app-purchases versions: diff --git a/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/why-wasnt-my-application-for-a-student-developer-pack-approved.md b/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/why-wasnt-my-application-for-a-student-developer-pack-approved.md index 514bf5d42f..3249d81ea8 100644 --- a/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/why-wasnt-my-application-for-a-student-developer-pack-approved.md +++ b/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-for-your-schoolwork/why-wasnt-my-application-for-a-student-developer-pack-approved.md @@ -4,7 +4,7 @@ intro: 'Review common reasons that applications for the {% data variables.produc redirect_from: - /education/teach-and-learn-with-github-education/why-wasnt-my-application-for-a-student-developer-pack-approved - /github/teaching-and-learning-with-github-education/why-wasnt-my-application-for-a-student-developer-pack-approved - - /articles/why-was-my-application-for-a-student-developer-pack-denied/ + - /articles/why-was-my-application-for-a-student-developer-pack-denied - /articles/why-wasn-t-my-application-for-a-student-developer-pack-approved - /articles/why-wasnt-my-application-for-a-student-developer-pack-approved - /education/explore-the-benefits-of-teaching-and-learning-with-github-education/why-wasnt-my-application-for-a-student-developer-pack-approved diff --git a/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/apply-for-an-educator-or-researcher-discount.md b/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/apply-for-an-educator-or-researcher-discount.md index 7c4d24edb6..e1e2026fb4 100644 --- a/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/apply-for-an-educator-or-researcher-discount.md +++ b/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/apply-for-an-educator-or-researcher-discount.md @@ -4,10 +4,10 @@ intro: 'If you''re an educator or a researcher, you can apply to receive {% data redirect_from: - /education/teach-and-learn-with-github-education/apply-for-an-educator-or-researcher-discount - /github/teaching-and-learning-with-github-education/applying-for-an-educator-or-researcher-discount - - /articles/applying-for-a-classroom-discount/ - - /articles/applying-for-a-discount-for-your-school-club/ - - /articles/applying-for-an-academic-research-discount/ - - /articles/applying-for-a-discount-for-your-first-robotics-team/ + - /articles/applying-for-a-classroom-discount + - /articles/applying-for-a-discount-for-your-school-club + - /articles/applying-for-an-academic-research-discount + - /articles/applying-for-a-discount-for-your-first-robotics-team - /articles/applying-for-an-educator-or-researcher-discount - /education/explore-the-benefits-of-teaching-and-learning-with-github-education/apply-for-an-educator-or-researcher-discount versions: diff --git a/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved.md b/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved.md index 45fd1d10bd..82cc504911 100644 --- a/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved.md +++ b/content/education/explore-the-benefits-of-teaching-and-learning-with-github-education/use-github-in-your-classroom-and-research/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved.md @@ -4,7 +4,7 @@ intro: Review common reasons that applications for an educator or researcher dis redirect_from: - /education/teach-and-learn-with-github-education/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved - /github/teaching-and-learning-with-github-education/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved - - /articles/why-was-my-application-for-an-educator-or-researcher-discount-denied/ + - /articles/why-was-my-application-for-an-educator-or-researcher-discount-denied - /articles/why-wasn-t-my-application-for-an-educator-or-researcher-discount-approved - /articles/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved - /education/explore-the-benefits-of-teaching-and-learning-with-github-education/why-wasnt-my-application-for-an-educator-or-researcher-discount-approved diff --git a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages.md b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages.md index 1326fe9a6b..8b423a877c 100644 --- a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages.md +++ b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/about-custom-domains-and-github-pages.md @@ -2,9 +2,9 @@ title: About custom domains and GitHub Pages intro: '{% data variables.product.prodname_pages %} supports using custom domains, or changing the root of your site''s URL from the default, like `octocat.github.io`, to any domain you own.' redirect_from: - - /articles/about-custom-domains-for-github-pages-sites/ - - /articles/about-supported-custom-domains/ - - /articles/custom-domain-redirects-for-your-github-pages-site/ + - /articles/about-custom-domains-for-github-pages-sites + - /articles/about-supported-custom-domains + - /articles/custom-domain-redirects-for-your-github-pages-site - /articles/about-custom-domains-and-github-pages - /github/working-with-github-pages/about-custom-domains-and-github-pages product: '{% data reusables.gated-features.pages %}' @@ -58,7 +58,7 @@ An apex domain is configured with an `A`, `ALIAS`, or `ANAME` record through you ## Securing the custom domain for your {% data variables.product.prodname_pages %} site -{% data reusables.pages.secure-your-domain %} For more information, see "[Verifying your custom domain for {% data variables.product.prodname_pages %}](/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages)" and "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/articles/managing-a-custom-domain-for-your-github-pages-site)." +{% data reusables.pages.secure-your-domain %} For more information, see "[Verifying your custom domain for {% data variables.product.prodname_pages %}](/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages)" and "[Managing a custom domain for your {% data variables.product.prodname_pages %} site](/articles/managing-a-custom-domain-for-your-github-pages-site)." There are a couple of reasons your site might be automatically disabled. diff --git a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/index.md b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/index.md index c51ebbe4fe..df8f8b376f 100644 --- a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/index.md +++ b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/index.md @@ -2,13 +2,13 @@ title: Configuring a custom domain for your GitHub Pages site intro: 'You can customize the domain name of your {% data variables.product.prodname_pages %} site.' redirect_from: - - /articles/tips-for-configuring-an-a-record-with-your-dns-provider/ - - /articles/adding-or-removing-a-custom-domain-for-your-github-pages-site/ - - /articles/configuring-an-a-record-with-your-dns-provider/ - - /articles/using-a-custom-domain-with-github-pages/ - - /articles/tips-for-configuring-a-cname-record/ - - /articles/setting-up-a-custom-domain-with-pages/ - - /articles/setting-up-a-custom-domain-with-github-pages/ + - /articles/tips-for-configuring-an-a-record-with-your-dns-provider + - /articles/adding-or-removing-a-custom-domain-for-your-github-pages-site + - /articles/configuring-an-a-record-with-your-dns-provider + - /articles/using-a-custom-domain-with-github-pages + - /articles/tips-for-configuring-a-cname-record + - /articles/setting-up-a-custom-domain-with-pages + - /articles/setting-up-a-custom-domain-with-github-pages - /articles/configuring-a-custom-domain-for-your-github-pages-site - /github/working-with-github-pages/configuring-a-custom-domain-for-your-github-pages-site product: '{% data reusables.gated-features.pages %}' @@ -24,4 +24,3 @@ children: - /troubleshooting-custom-domains-and-github-pages shortTitle: Configure a custom domain --- - diff --git a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site.md b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site.md index e656dccca5..025d260cef 100644 --- a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site.md +++ b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/managing-a-custom-domain-for-your-github-pages-site.md @@ -2,13 +2,13 @@ title: Managing a custom domain for your GitHub Pages site intro: 'You can set up or update certain DNS records and your repository settings to point the default domain for your {% data variables.product.prodname_pages %} site to a custom domain.' redirect_from: - - /articles/quick-start-setting-up-a-custom-domain/ - - /articles/setting-up-an-apex-domain/ - - /articles/setting-up-a-www-subdomain/ - - /articles/setting-up-a-custom-domain/ - - /articles/setting-up-an-apex-domain-and-www-subdomain/ - - /articles/adding-a-cname-file-to-your-repository/ - - /articles/setting-up-your-pages-site-repository/ + - /articles/quick-start-setting-up-a-custom-domain + - /articles/setting-up-an-apex-domain + - /articles/setting-up-a-www-subdomain + - /articles/setting-up-a-custom-domain + - /articles/setting-up-an-apex-domain-and-www-subdomain + - /articles/adding-a-cname-file-to-your-repository + - /articles/setting-up-your-pages-site-repository - /articles/managing-a-custom-domain-for-your-github-pages-site - /github/working-with-github-pages/managing-a-custom-domain-for-your-github-pages-site product: '{% data reusables.gated-features.pages %}' @@ -139,7 +139,7 @@ After you configure the apex domain, you must configure a CNAME record with your ## Securing your custom domain -{% data reusables.pages.secure-your-domain %} For more information, see "[Verifying your custom domain for {% data variables.product.prodname_pages %}](/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages)." +{% data reusables.pages.secure-your-domain %} For more information, see "[Verifying your custom domain for {% data variables.product.prodname_pages %}](/pages/configuring-a-custom-domain-for-your-github-pages-site/verifying-your-custom-domain-for-github-pages)." ## Further reading diff --git a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/troubleshooting-custom-domains-and-github-pages.md b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/troubleshooting-custom-domains-and-github-pages.md index ef31967c41..892a5af812 100644 --- a/content/pages/configuring-a-custom-domain-for-your-github-pages-site/troubleshooting-custom-domains-and-github-pages.md +++ b/content/pages/configuring-a-custom-domain-for-your-github-pages-site/troubleshooting-custom-domains-and-github-pages.md @@ -2,9 +2,9 @@ title: Troubleshooting custom domains and GitHub Pages intro: 'You can check for common errors to resolve issues with custom domains or HTTPS for your {% data variables.product.prodname_pages %} site.' redirect_from: - - /articles/my-custom-domain-isn-t-working/ - - /articles/custom-domain-isn-t-working/ - - /articles/troubleshooting-custom-domains/ + - /articles/my-custom-domain-isn-t-working + - /articles/custom-domain-isn-t-working + - /articles/troubleshooting-custom-domains - /articles/troubleshooting-custom-domains-and-github-pages - /github/working-with-github-pages/troubleshooting-custom-domains-and-github-pages product: '{% data reusables.gated-features.pages %}' diff --git a/content/pages/index.md b/content/pages/index.md index a07911e622..ac99f2500e 100644 --- a/content/pages/index.md +++ b/content/pages/index.md @@ -3,12 +3,11 @@ title: GitHub Pages Documentation shortTitle: GitHub Pages intro: 'You can create a website directly from a repository on {% ifversion ghae %}{% data variables.product.product_name %}{% else %}{% data variables.product.product_location %}{% endif %}.' redirect_from: - - /categories/20/articles/ - - /categories/95/articles/ - - /categories/github-pages-features/ - - /pages/ - - /categories/96/articles/ - - /categories/github-pages-troubleshooting/ + - /categories/20/articles + - /categories/95/articles + - /categories/github-pages-features + - /categories/96/articles + - /categories/github-pages-troubleshooting - /categories/working-with-github-pages - /github/working-with-github-pages product: '{% data reusables.gated-features.pages %}' @@ -25,4 +24,3 @@ children: - /setting-up-a-github-pages-site-with-jekyll - /configuring-a-custom-domain-for-your-github-pages-site --- - diff --git a/content/pages/setting-up-a-github-pages-site-with-jekyll/about-jekyll-build-errors-for-github-pages-sites.md b/content/pages/setting-up-a-github-pages-site-with-jekyll/about-jekyll-build-errors-for-github-pages-sites.md index 0a8646cfee..4b37a72160 100644 --- a/content/pages/setting-up-a-github-pages-site-with-jekyll/about-jekyll-build-errors-for-github-pages-sites.md +++ b/content/pages/setting-up-a-github-pages-site-with-jekyll/about-jekyll-build-errors-for-github-pages-sites.md @@ -2,8 +2,8 @@ title: About Jekyll build errors for GitHub Pages sites intro: 'If Jekyll encounters an error building your {% data variables.product.prodname_pages %} site locally or on {% data variables.product.product_name %}, you''ll receive an error message with more information.' redirect_from: - - /articles/viewing-jekyll-build-error-messages/ - - /articles/generic-jekyll-build-failures/ + - /articles/viewing-jekyll-build-error-messages + - /articles/generic-jekyll-build-failures - /articles/about-jekyll-build-errors-for-github-pages-sites - /github/working-with-github-pages/about-jekyll-build-errors-for-github-pages-sites product: '{% data reusables.gated-features.pages %}' diff --git a/content/pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll.md b/content/pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll.md index eee0a3b371..e93f69bfd4 100644 --- a/content/pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll.md +++ b/content/pages/setting-up-a-github-pages-site-with-jekyll/adding-a-theme-to-your-github-pages-site-using-jekyll.md @@ -2,8 +2,8 @@ title: Adding a theme to your GitHub Pages site using Jekyll intro: You can personalize your Jekyll site by adding and customizing a theme. redirect_from: - - /articles/customizing-css-and-html-in-your-jekyll-theme/ - - /articles/adding-a-jekyll-theme-to-your-github-pages-site/ + - /articles/customizing-css-and-html-in-your-jekyll-theme + - /articles/adding-a-jekyll-theme-to-your-github-pages-site - /articles/adding-a-theme-to-your-github-pages-site-using-jekyll - /github/working-with-github-pages/adding-a-theme-to-your-github-pages-site-using-jekyll product: '{% data reusables.gated-features.pages %}' @@ -27,7 +27,7 @@ People with write permissions for a repository can add a theme to a {% data vari {% data reusables.pages.navigate-publishing-source %} 2. Navigate to *_config.yml*. {% data reusables.repositories.edit-file %} -4. Add a new line to the file for the theme name. +4. Add a new line to the file for the theme name. - To use a supported theme, type `theme: THEME-NAME`, replacing _THEME-NAME_ with the name of the theme as shown in the README of the theme's repository. For a list of supported themes, see "[Supported themes](https://pages.github.com/themes/)" on the {% data variables.product.prodname_pages %} site. ![Supported theme in config file](/assets/images/help/pages/add-theme-to-config-file.png) - To use any other Jekyll theme hosted on {% data variables.product.prodname_dotcom %}, type `remote_theme: THEME-NAME`, replacing THEME-NAME with the name of the theme as shown in the README of the theme's repository. diff --git a/content/pages/setting-up-a-github-pages-site-with-jekyll/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll.md b/content/pages/setting-up-a-github-pages-site-with-jekyll/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll.md index dab7078fff..baf0068f4c 100644 --- a/content/pages/setting-up-a-github-pages-site-with-jekyll/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll.md +++ b/content/pages/setting-up-a-github-pages-site-with-jekyll/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll.md @@ -2,8 +2,8 @@ title: Setting a Markdown processor for your GitHub Pages site using Jekyll intro: 'You can choose a Markdown processor to determine how Markdown is rendered on your {% data variables.product.prodname_pages %} site.' redirect_from: - - /articles/migrating-your-pages-site-from-maruku/ - - /articles/updating-your-markdown-processor-to-kramdown/ + - /articles/migrating-your-pages-site-from-maruku + - /articles/updating-your-markdown-processor-to-kramdown - /articles/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll - /github/working-with-github-pages/setting-a-markdown-processor-for-your-github-pages-site-using-jekyll product: '{% data reusables.gated-features.pages %}' diff --git a/content/pages/setting-up-a-github-pages-site-with-jekyll/troubleshooting-jekyll-build-errors-for-github-pages-sites.md b/content/pages/setting-up-a-github-pages-site-with-jekyll/troubleshooting-jekyll-build-errors-for-github-pages-sites.md index 0224c4f21a..6f54aa966b 100644 --- a/content/pages/setting-up-a-github-pages-site-with-jekyll/troubleshooting-jekyll-build-errors-for-github-pages-sites.md +++ b/content/pages/setting-up-a-github-pages-site-with-jekyll/troubleshooting-jekyll-build-errors-for-github-pages-sites.md @@ -2,27 +2,27 @@ title: Troubleshooting Jekyll build errors for GitHub Pages sites intro: 'You can use Jekyll build error messages to troubleshoot problems with your {% data variables.product.prodname_pages %} site.' redirect_from: - - /articles/page-build-failed-missing-docs-folder/ - - /articles/page-build-failed-invalid-submodule/ - - /articles/page-build-failed-missing-submodule/ - - /articles/page-build-failed-markdown-errors/ - - /articles/page-build-failed-config-file-error/ - - /articles/page-build-failed-unknown-tag-error/ - - /articles/page-build-failed-tag-not-properly-terminated/ - - /articles/page-build-failed-tag-not-properly-closed/ - - /articles/page-build-failed-file-does-not-exist-in-includes-directory/ - - /articles/page-build-failed-file-is-a-symlink/ - - /articles/page-build-failed-symlink-does-not-exist-within-your-sites-repository/ - - /articles/page-build-failed-file-is-not-properly-utf-8-encoded/ - - /articles/page-build-failed-invalid-post-date/ - - /articles/page-build-failed-invalid-sass-or-scss/ - - /articles/page-build-failed-invalid-highlighter-language/ - - /articles/page-build-failed-relative-permalinks-configured/ - - /articles/page-build-failed-syntax-error-in-for-loop/ - - /articles/page-build-failed-invalid-yaml-in-data-file/ - - /articles/page-build-failed-date-is-not-a-valid-datetime/ - - /articles/troubleshooting-github-pages-builds/ - - /articles/troubleshooting-jekyll-builds/ + - /articles/page-build-failed-missing-docs-folder + - /articles/page-build-failed-invalid-submodule + - /articles/page-build-failed-missing-submodule + - /articles/page-build-failed-markdown-errors + - /articles/page-build-failed-config-file-error + - /articles/page-build-failed-unknown-tag-error + - /articles/page-build-failed-tag-not-properly-terminated + - /articles/page-build-failed-tag-not-properly-closed + - /articles/page-build-failed-file-does-not-exist-in-includes-directory + - /articles/page-build-failed-file-is-a-symlink + - /articles/page-build-failed-symlink-does-not-exist-within-your-sites-repository + - /articles/page-build-failed-file-is-not-properly-utf-8-encoded + - /articles/page-build-failed-invalid-post-date + - /articles/page-build-failed-invalid-sass-or-scss + - /articles/page-build-failed-invalid-highlighter-language + - /articles/page-build-failed-relative-permalinks-configured + - /articles/page-build-failed-syntax-error-in-for-loop + - /articles/page-build-failed-invalid-yaml-in-data-file + - /articles/page-build-failed-date-is-not-a-valid-datetime + - /articles/troubleshooting-github-pages-builds + - /articles/troubleshooting-jekyll-builds - /articles/troubleshooting-jekyll-build-errors-for-github-pages-sites - /github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites product: '{% data reusables.gated-features.pages %}' diff --git a/content/rest/guides/index.md b/content/rest/guides/index.md index 1715450046..072e826783 100644 --- a/content/rest/guides/index.md +++ b/content/rest/guides/index.md @@ -2,7 +2,7 @@ title: Guides intro: 'Learn about getting started with the REST API, authentication, and how to use the REST API for a variety of tasks.' redirect_from: - - /guides/ + - /guides - /v3/guides versions: fpt: '*' diff --git a/tests/content/redirect-orphans.js b/tests/content/redirect-orphans.js new file mode 100644 index 0000000000..1a099967fe --- /dev/null +++ b/tests/content/redirect-orphans.js @@ -0,0 +1,46 @@ +import path from 'path' +import { jest, beforeAll } from '@jest/globals' + +import { loadPages } from '../../lib/page-data.js' +import Permalink from '../../lib/permalink.js' + +describe('redirect orphans', () => { + let pageList + + // Because calling `loadPages` will trigger a warmup, this can potentially + // be very slow in CI. So we need a timeout. + jest.setTimeout(60 * 1000) + + beforeAll(async () => { + // Only doing English because they're the only files we do PRs for. + pageList = (await loadPages()).filter((page) => page.languageCode === 'en') + }) + + test('no page is a redirect in another file', () => { + const redirectFroms = new Map() + for (const page of pageList) { + for (const redirectFrom of page.redirect_from || []) { + if (redirectFrom.endsWith('/') && redirectFrom.startsWith('/')) { + console.warn( + `In ${path.join( + 'content', + page.relativePath + )} redirect entry (${redirectFrom}) has a trailing slash` + ) + } + redirectFroms.set(redirectFrom, page.relativePath) + } + } + + const errors = [] + for (const page of pageList) { + const asPath = Permalink.relativePathToSuffix(page.relativePath) + if (redirectFroms.has(asPath)) { + errors.push( + `${asPath} is a redirect_from in ${path.join('content', redirectFroms.get(asPath))}` + ) + } + } + expect(errors.length, errors.join('\n')).toBe(0) + }) +}) diff --git a/translations/es-ES/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md b/translations/es-ES/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md deleted file mode 100644 index 5711c25339..0000000000 --- a/translations/es-ES/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: Visualizar tu uso de GitHub Advanced Security -intro: 'Puedes ver el uso de tu licencia de {% data variables.product.prodname_GH_advanced_security %}.' -permissions: 'Enterprise owners can view usage for {% data variables.product.prodname_GH_advanced_security %}.' -product: '{% data reusables.gated-features.ghas %}' -versions: - ghes: '>=3.1' -type: how_to -topics: - - Advanced Security - - Enterprise - - Licensing -shortTitle: Visualizar el uso de la Seguridad Avanzada ---- - -## Acerca de las licencias para {% data variables.product.prodname_GH_advanced_security %} - -{% data reusables.advanced-security.about-ghas-license-seats %} Para obtener más información, consulta "[Acerca de la facturación para {% data variables.product.prodname_GH_advanced_security %}](/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security)". - -## Visualizar el uso de licencia para la {% data variables.product.prodname_GH_advanced_security %} - -Puedes verificar cuántas plazas incluye tu licencia y cuántas plazas se utilizan actualmente. - -{% data reusables.enterprise-accounts.access-enterprise %} -{% data reusables.enterprise-accounts.settings-tab %} -{% data reusables.enterprise-accounts.license-tab %} - La sección de "{% data variables.product.prodname_GH_advanced_security %}" muestra los detalles del uso actual. Puedes ver la cantidad total de plazas utilizadas, así como una tabla con la cantidad de confirmantes y confirmantes únicos para cada organización. ![Sección de {% data variables.product.prodname_GH_advanced_security %} de la licencia empresarial](/assets/images/help/billing/ghas-orgs-list-enterprise-ghes.png) -5. Opcionalmente, haz clic en el nombre de una organización que te pertenezca para mostrar la configuración de seguridad y análisis para la organización. ![Organización que te pertenece en la sección de {% data variables.product.prodname_GH_advanced_security %} de la configuración de facturación empresarial](/assets/images/help/billing/ghas-orgs-list-enterprise-click-org.png) -6. En la página de configuración de "Seguridad & análisis", desplázate hacia la sección de "repositorios de {% data variables.product.prodname_GH_advanced_security %}" para ver un resumen detallado del uso de este repositorio en esta organización. ![{% data variables.product.prodname_GH_advanced_security %} repositories section](/assets/images/help/enterprises/settings-security-analysis-ghas-repos-list.png) Para obtener más información, consulta la sección "[Administrar la configuración de seguridad y análisis de tu organización](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization)". diff --git a/translations/ja-JP/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md b/translations/ja-JP/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md deleted file mode 100644 index 9e7c1ef0c2..0000000000 --- a/translations/ja-JP/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md +++ /dev/null @@ -1,33 +0,0 @@ ---- -title: Viewing your GitHub Advanced Security usage -intro: 'You can view usage of your {% data variables.product.prodname_GH_advanced_security %} license.' -permissions: 'Enterprise owners can view usage for {% data variables.product.prodname_GH_advanced_security %}.' -product: '{% data reusables.gated-features.ghas %}' -versions: - ghes: '>=3.1' -type: how_to -topics: - - Advanced Security - - Enterprise - - Licensing -shortTitle: View Advanced Security usage ---- - -## About licenses for {% data variables.product.prodname_GH_advanced_security %} - -{% data reusables.advanced-security.about-ghas-license-seats %} For more information, see "[About billing for {% data variables.product.prodname_GH_advanced_security %}](/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security)." - -## Viewing license usage for {% data variables.product.prodname_GH_advanced_security %} - -You can check how many seats your license includes and how many seats are currently in use. - -{% data reusables.enterprise-accounts.access-enterprise %} -{% data reusables.enterprise-accounts.settings-tab %} -{% data reusables.enterprise-accounts.license-tab %} - The "{% data variables.product.prodname_GH_advanced_security %}" section shows details of the current usage. You can see the total number of seats used, as well as a table with the number of committers and unique committers for each organization. - ![{% data variables.product.prodname_GH_advanced_security %} section of Enterprise license](/assets/images/help/billing/ghas-orgs-list-enterprise-ghes.png) -5. Optionally, click the name of an organization where you are an owner to display the security and analysis settings for the organization. - ![Owned organization in {% data variables.product.prodname_GH_advanced_security %} section of enterprise billing settings](/assets/images/help/billing/ghas-orgs-list-enterprise-click-org.png) -6. On the "Security & analysis" settings page, scroll to the "{% data variables.product.prodname_GH_advanced_security %} repositories" section to see a detailed breakdown of usage by repository for this organization. - ![{% data variables.product.prodname_GH_advanced_security %} repositories section](/assets/images/help/enterprises/settings-security-analysis-ghas-repos-list.png) - For more information, see "[Managing security and analysis settings for your organization](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization)." diff --git a/translations/pt-BR/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md b/translations/pt-BR/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md deleted file mode 100644 index b5af8b11ea..0000000000 --- a/translations/pt-BR/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: Visualizar o seu uso do GitHub Advanced Security -intro: 'Você pode visualizar o uso de sua licença do {% data variables.product.prodname_GH_advanced_security %}.' -permissions: 'Enterprise owners can view usage for {% data variables.product.prodname_GH_advanced_security %}.' -product: '{% data reusables.gated-features.ghas %}' -versions: - ghes: '>=3.1' -type: how_to -topics: - - Advanced Security - - Enterprise - - Licensing -shortTitle: Visualizar o uso avançado de segurança ---- - -## Sobre as licenças para {% data variables.product.prodname_GH_advanced_security %} - -{% data reusables.advanced-security.about-ghas-license-seats %} Para obter mais informações, consulte "[Sobre a cobrança do {% data variables.product.prodname_GH_advanced_security %}](/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security)". - -## Visualizar o uso de licença para {% data variables.product.prodname_GH_advanced_security %} - -Você pode verificar quantas estações a sua licença inclui e quantas estações estão atualmente em uso. - -{% data reusables.enterprise-accounts.access-enterprise %} -{% data reusables.enterprise-accounts.settings-tab %} -{% data reusables.enterprise-accounts.license-tab %} - A seção "{% data variables.product.prodname_GH_advanced_security %}" mostra os detalhes do uso atual. Você pode ver o número total de estações usadas, bem como uma tabela com o número de committers e committers únicos para cada organização. ![Seção de {% data variables.product.prodname_GH_advanced_security %} de licença empresarial](/assets/images/help/billing/ghas-orgs-list-enterprise-ghes.png) -5. Opcionalmente, clique no nome de uma organização em que você é um proprietário para exibir as configurações de segurança e análise para a organização. ![Organização proprietária na seção de {% data variables.product.prodname_GH_advanced_security %} das configurações de cobrança corporativa](/assets/images/help/billing/ghas-orgs-list-enterprise-click-org.png) -6. Na página de configurações "Análise de & segurança" desça até a seção "repositórios de {% data variables.product.prodname_GH_advanced_security %}" para ver uma descrição detalhada do uso por repositório para esta organização. ![{% data variables.product.prodname_GH_advanced_security %} repositories section](/assets/images/help/enterprises/settings-security-analysis-ghas-repos-list.png) Para obter mais informações, consulte "[Gerenciar configurações de segurança e análise para a sua organização](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization)". diff --git a/translations/zh-CN/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md b/translations/zh-CN/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md deleted file mode 100644 index d54cfc4311..0000000000 --- a/translations/zh-CN/content/admin/advanced-security/viewing-your-github-advanced-security-usage.md +++ /dev/null @@ -1,29 +0,0 @@ ---- -title: 查看您的 GitHub 高级安全使用情况 -intro: '您可以查看 {% data variables.product.prodname_GH_advanced_security %} 许可证的使用情况。' -permissions: 'Enterprise owners can view usage for {% data variables.product.prodname_GH_advanced_security %}.' -product: '{% data reusables.gated-features.ghas %}' -versions: - ghes: '>=3.1' -type: how_to -topics: - - Advanced Security - - Enterprise - - Licensing -shortTitle: 查看高级安全用法 ---- - -## 关于 {% data variables.product.prodname_GH_advanced_security %} 的许可 - -{% data reusables.advanced-security.about-ghas-license-seats %} 更多信息请参阅“[关于 {% data variables.product.prodname_GH_advanced_security %} 的计费](/billing/managing-billing-for-github-advanced-security/about-billing-for-github-advanced-security)”。 - -## 查看 {% data variables.product.prodname_GH_advanced_security %} 的许可证使用情况 - -您可以检查您的许可证包含多少个座位以及当前使用的座位数。 - -{% data reusables.enterprise-accounts.access-enterprise %} -{% data reusables.enterprise-accounts.settings-tab %} -{% data reusables.enterprise-accounts.license-tab %} - “{% data variables.product.prodname_GH_advanced_security %}”部分显示了当前使用详情。 您可以查看已使用的席位总数,以及一份表格,其中包含每个组织的提交者数量和唯一提交者。 ![企业许可证的 {% data variables.product.prodname_GH_advanced_security %} 部分](/assets/images/help/billing/ghas-orgs-list-enterprise-ghes.png) -5. (可选)单击您是所有者的组织的名称,以显示组织的安全和分析设置。 ![在企业帐单设置的 {% data variables.product.prodname_GH_advanced_security %} 部分中拥有的组织](/assets/images/help/billing/ghas-orgs-list-enterprise-click-org.png) -6. 在“Security & analysis(安全性和分析)”设置页面上,滚动到“{% data variables.product.prodname_GH_advanced_security %} 仓库”部分以查看此组织的仓库使用明细。 ![{% data variables.product.prodname_GH_advanced_security %} repositories section](/assets/images/help/enterprises/settings-security-analysis-ghas-repos-list.png) 更多信息请参阅“[管理组织的安全性和分析设置](/organizations/keeping-your-organization-secure/managing-security-and-analysis-settings-for-your-organization)”。