diff --git a/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-accessibility-settings.md b/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-accessibility-settings.md index c697ffad2ea5..5e20ac09e765 100644 --- a/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-accessibility-settings.md +++ b/content/account-and-profile/setting-up-and-managing-your-personal-account-on-github/managing-personal-account-settings/managing-accessibility-settings.md @@ -7,7 +7,6 @@ versions: redirect_from: - /account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/managing-accessibility-settings type: how_to -miniTocMaxHeadingLevel: 3 --- ## About accessibility settings diff --git a/content/actions/creating-actions/metadata-syntax-for-github-actions.md b/content/actions/creating-actions/metadata-syntax-for-github-actions.md index 3c3202f5ee9b..dd1fd90d2115 100644 --- a/content/actions/creating-actions/metadata-syntax-for-github-actions.md +++ b/content/actions/creating-actions/metadata-syntax-for-github-actions.md @@ -13,7 +13,6 @@ versions: ghae: '*' ghec: '*' type: reference -miniTocMaxHeadingLevel: 4 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect.md b/content/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect.md index 0ef3fff2e8ae..9bdffb682cf2 100644 --- a/content/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect.md +++ b/content/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect.md @@ -2,7 +2,6 @@ title: About security hardening with OpenID Connect shortTitle: Security hardening with OpenID Connect intro: OpenID Connect allows your workflows to exchange short-lived tokens directly from your cloud provider. -miniTocMaxHeadingLevel: 4 versions: fpt: '*' ghec: '*' diff --git a/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md b/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md index 521ac4621189..192ac6144c91 100644 --- a/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md +++ b/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md @@ -2,7 +2,6 @@ title: Configuring OpenID Connect in Amazon Web Services shortTitle: OpenID Connect in AWS intro: Use OpenID Connect within your workflows to authenticate with Amazon Web Services. -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure.md b/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure.md index aef4c57ebaaa..ca58e10fd668 100644 --- a/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure.md +++ b/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-azure.md @@ -2,7 +2,6 @@ title: Configuring OpenID Connect in Azure shortTitle: OpenID Connect in Azure intro: Use OpenID Connect within your workflows to authenticate with Azure. -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers.md b/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers.md index d9247ba352a0..4376e5a8a297 100644 --- a/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers.md +++ b/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-cloud-providers.md @@ -2,7 +2,6 @@ title: Configuring OpenID Connect in cloud providers shortTitle: OpenID Connect in cloud providers intro: Use OpenID Connect within your workflows to authenticate with cloud providers. -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md b/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md index 7b5a29794403..5953709788ad 100644 --- a/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md +++ b/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-google-cloud-platform.md @@ -2,7 +2,6 @@ title: Configuring OpenID Connect in Google Cloud Platform shortTitle: OpenID Connect in Google Cloud Platform intro: Use OpenID Connect within your workflows to authenticate with Google Cloud Platform. -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md b/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md index 789384b67371..66d411f97f16 100644 --- a/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md +++ b/content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-hashicorp-vault.md @@ -2,7 +2,6 @@ title: Configuring OpenID Connect in HashiCorp Vault shortTitle: OpenID Connect in HashiCorp Vault intro: Use OpenID Connect within your workflows to authenticate with HashiCorp Vault. -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/actions/deployment/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows.md b/content/actions/deployment/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows.md index 22fd2c82d6d3..44f0e3e5d012 100644 --- a/content/actions/deployment/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows.md +++ b/content/actions/deployment/security-hardening-your-deployments/using-openid-connect-with-reusable-workflows.md @@ -2,7 +2,6 @@ title: Using OpenID Connect with reusable workflows shortTitle: OpenID Connect with reusable workflows intro: You can use reusable workflows with OIDC to standardize and security harden your deployment steps. -miniTocMaxHeadingLevel: 3 redirect_from: - /actions/deployment/security-hardening-your-deployments/using-oidc-with-your-reusable-workflows versions: diff --git a/content/actions/deployment/targeting-different-environments/using-environments-for-deployment.md b/content/actions/deployment/targeting-different-environments/using-environments-for-deployment.md index 08171e2546d3..77948fbfb5c1 100644 --- a/content/actions/deployment/targeting-different-environments/using-environments-for-deployment.md +++ b/content/actions/deployment/targeting-different-environments/using-environments-for-deployment.md @@ -3,7 +3,6 @@ title: Using environments for deployment shortTitle: Use environments for deployment intro: You can configure environments with protection rules and secrets. A workflow job that references an environment must follow any protection rules for the environment before running or accessing the environment's secrets. product: '{% data reusables.gated-features.environments %}' -miniTocMaxHeadingLevel: 3 redirect_from: - /actions/reference/environments - /actions/deployment/environments diff --git a/content/actions/hosting-your-own-runners/customizing-the-containers-used-by-jobs.md b/content/actions/hosting-your-own-runners/customizing-the-containers-used-by-jobs.md index f57acec4b207..4baa49dcf916 100644 --- a/content/actions/hosting-your-own-runners/customizing-the-containers-used-by-jobs.md +++ b/content/actions/hosting-your-own-runners/customizing-the-containers-used-by-jobs.md @@ -4,7 +4,6 @@ intro: You can customize how your self-hosted runner invokes a container for a j versions: feature: container-hooks type: reference -miniTocMaxHeadingLevel: 4 shortTitle: Customize containers used by jobs --- diff --git a/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md b/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md index 223d316747af..3a9b14678b76 100644 --- a/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md +++ b/content/actions/hosting-your-own-runners/managing-access-to-self-hosted-runners-using-groups.md @@ -4,7 +4,6 @@ shortTitle: Manage access with runner groups intro: You can use policies to limit access to self-hosted runners that have been added to an organization or enterprise. redirect_from: - /actions/hosting-your-own-runners/managing-access-to-self-hosted-runners -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghes: '*' diff --git a/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md b/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md index 988fac7b22c0..04eb9b9e35ee 100644 --- a/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md +++ b/content/actions/hosting-your-own-runners/monitoring-and-troubleshooting-self-hosted-runners.md @@ -11,7 +11,6 @@ versions: ghae: '*' ghec: '*' type: tutorial -miniTocMaxHeadingLevel: 3 defaultPlatform: linux shortTitle: Monitor & troubleshoot --- diff --git a/content/actions/hosting-your-own-runners/running-scripts-before-or-after-a-job.md b/content/actions/hosting-your-own-runners/running-scripts-before-or-after-a-job.md index 0b56cbea1a71..09a4275b562f 100644 --- a/content/actions/hosting-your-own-runners/running-scripts-before-or-after-a-job.md +++ b/content/actions/hosting-your-own-runners/running-scripts-before-or-after-a-job.md @@ -4,7 +4,6 @@ intro: 'Scripts can automatically execute on a self-hosted runner, directly befo versions: feature: job-hooks-for-runners type: tutorial -miniTocMaxHeadingLevel: 3 shortTitle: Run a script before or after a job --- diff --git a/content/actions/learn-github-actions/contexts.md b/content/actions/learn-github-actions/contexts.md index c614910bc9dd..c283aaf8f60d 100644 --- a/content/actions/learn-github-actions/contexts.md +++ b/content/actions/learn-github-actions/contexts.md @@ -13,7 +13,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 3 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/learn-github-actions/expressions.md b/content/actions/learn-github-actions/expressions.md index 189646314c1d..3c4e823beee3 100644 --- a/content/actions/learn-github-actions/expressions.md +++ b/content/actions/learn-github-actions/expressions.md @@ -7,7 +7,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 3 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/learn-github-actions/understanding-github-actions.md b/content/actions/learn-github-actions/understanding-github-actions.md index 00cc1b433b2e..cfb6d97b54d0 100644 --- a/content/actions/learn-github-actions/understanding-github-actions.md +++ b/content/actions/learn-github-actions/understanding-github-actions.md @@ -2,7 +2,6 @@ title: Understanding GitHub Actions shortTitle: Understand GitHub Actions intro: 'Learn the basics of {% data variables.product.prodname_actions %}, including core concepts and essential terminology.' -miniTocMaxHeadingLevel: 3 redirect_from: - /github/automating-your-workflow-with-github-actions/core-concepts-for-github-actions - /actions/automating-your-workflow-with-github-actions/core-concepts-for-github-actions diff --git a/content/actions/learn-github-actions/variables.md b/content/actions/learn-github-actions/variables.md index 34805e9979d1..1d6bd4f024e0 100644 --- a/content/actions/learn-github-actions/variables.md +++ b/content/actions/learn-github-actions/variables.md @@ -12,7 +12,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 3 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md b/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md index 46960100aec8..ec1626d9d369 100644 --- a/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md +++ b/content/actions/managing-workflow-runs/re-running-workflows-and-jobs.md @@ -3,7 +3,6 @@ title: Re-running workflows and jobs shortTitle: Re-run workflows and jobs intro: 'You can re-run a workflow run{% ifversion re-run-jobs %}, all failed jobs in a workflow run, or specific jobs in a workflow run{% endif %} up to 30 days after its initial run.' permissions: People with write permissions to a repository can re-run workflows in the repository. -miniTocMaxHeadingLevel: 3 redirect_from: - /actions/managing-workflow-runs/re-running-a-workflow versions: diff --git a/content/actions/migrating-to-github-actions/automating-migration-with-github-actions-importer.md b/content/actions/migrating-to-github-actions/automating-migration-with-github-actions-importer.md index 7a2933c20e36..6289b2a39f47 100644 --- a/content/actions/migrating-to-github-actions/automating-migration-with-github-actions-importer.md +++ b/content/actions/migrating-to-github-actions/automating-migration-with-github-actions-importer.md @@ -7,7 +7,6 @@ versions: ghes: '*' ghae: '*' type: how_to -miniTocMaxHeadingLevel: 3 topics: - Migration - CI diff --git a/content/actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting.md b/content/actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting.md index a0ac8a499aae..de5d26eb0751 100644 --- a/content/actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting.md +++ b/content/actions/monitoring-and-troubleshooting-workflows/about-monitoring-and-troubleshooting.md @@ -7,7 +7,6 @@ versions: ghae: '*' ghec: '*' shortTitle: About monitoring and troubleshooting -miniTocMaxHeadingLevel: 3 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/security-guides/encrypted-secrets.md b/content/actions/security-guides/encrypted-secrets.md index 6f00e8f3f217..c0192b2c798d 100644 --- a/content/actions/security-guides/encrypted-secrets.md +++ b/content/actions/security-guides/encrypted-secrets.md @@ -8,7 +8,6 @@ redirect_from: - /actions/configuring-and-managing-workflows/using-variables-and-secrets-in-a-workflow - /actions/reference/encrypted-secrets - /actions/managing-workflows/storing-secrets -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghes: '*' diff --git a/content/actions/security-guides/security-hardening-for-github-actions.md b/content/actions/security-guides/security-hardening-for-github-actions.md index 18310ebbe286..b0f64e330a41 100644 --- a/content/actions/security-guides/security-hardening-for-github-actions.md +++ b/content/actions/security-guides/security-hardening-for-github-actions.md @@ -13,7 +13,6 @@ versions: type: overview topics: - Security -miniTocMaxHeadingLevel: 3 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/using-github-hosted-runners/about-github-hosted-runners.md b/content/actions/using-github-hosted-runners/about-github-hosted-runners.md index c6939882a387..63063ec9cc26 100644 --- a/content/actions/using-github-hosted-runners/about-github-hosted-runners.md +++ b/content/actions/using-github-hosted-runners/about-github-hosted-runners.md @@ -10,7 +10,6 @@ redirect_from: - /actions/reference/virtual-environments-for-github-hosted-runners - /actions/reference/software-installed-on-github-hosted-runners - /actions/reference/specifications-for-github-hosted-runners -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghes: '*' diff --git a/content/actions/using-github-hosted-runners/controlling-access-to-larger-runners.md b/content/actions/using-github-hosted-runners/controlling-access-to-larger-runners.md index 04ec2750473f..845fc5268638 100644 --- a/content/actions/using-github-hosted-runners/controlling-access-to-larger-runners.md +++ b/content/actions/using-github-hosted-runners/controlling-access-to-larger-runners.md @@ -3,7 +3,6 @@ title: Controlling access to larger runners shortTitle: 'Control access to {% data variables.actions.hosted_runner %}s' intro: 'You can use policies to limit access to {% data variables.actions.hosted_runner %}s that have been added to an organization or enterprise.' product: '{% data reusables.gated-features.hosted-runners %}' -miniTocMaxHeadingLevel: 3 versions: feature: actions-hosted-runners type: tutorial diff --git a/content/actions/using-github-hosted-runners/using-larger-runners.md b/content/actions/using-github-hosted-runners/using-larger-runners.md index 590d99151c03..958b4861d62e 100644 --- a/content/actions/using-github-hosted-runners/using-larger-runners.md +++ b/content/actions/using-github-hosted-runners/using-larger-runners.md @@ -2,7 +2,6 @@ title: Using larger runners shortTitle: Larger runners intro: '{% data variables.product.prodname_dotcom %} offers larger runners with more RAM and CPU.' -miniTocMaxHeadingLevel: 3 product: '{% data reusables.gated-features.hosted-runners %}' versions: feature: actions-hosted-runners diff --git a/content/actions/using-jobs/assigning-permissions-to-jobs.md b/content/actions/using-jobs/assigning-permissions-to-jobs.md index 66ff18b4d810..95a152181bdb 100644 --- a/content/actions/using-jobs/assigning-permissions-to-jobs.md +++ b/content/actions/using-jobs/assigning-permissions-to-jobs.md @@ -7,7 +7,6 @@ versions: ghes: '> 3.1' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 4 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/using-jobs/choosing-the-runner-for-a-job.md b/content/actions/using-jobs/choosing-the-runner-for-a-job.md index 34f82c6d4180..e74fa6d48c9a 100644 --- a/content/actions/using-jobs/choosing-the-runner-for-a-job.md +++ b/content/actions/using-jobs/choosing-the-runner-for-a-job.md @@ -2,7 +2,6 @@ title: Choosing the runner for a job shortTitle: Choose the runner for a job intro: Define the type of machine that will process a job in your workflow. -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghes: '*' diff --git a/content/actions/using-jobs/defining-outputs-for-jobs.md b/content/actions/using-jobs/defining-outputs-for-jobs.md index 3680f6ae8156..d895191ef0bc 100644 --- a/content/actions/using-jobs/defining-outputs-for-jobs.md +++ b/content/actions/using-jobs/defining-outputs-for-jobs.md @@ -7,7 +7,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 4 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/using-jobs/running-jobs-in-a-container.md b/content/actions/using-jobs/running-jobs-in-a-container.md index 61afcb366d4c..41f8ce510a88 100644 --- a/content/actions/using-jobs/running-jobs-in-a-container.md +++ b/content/actions/using-jobs/running-jobs-in-a-container.md @@ -7,7 +7,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 4 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/using-jobs/setting-default-values-for-jobs.md b/content/actions/using-jobs/setting-default-values-for-jobs.md index 1ec35a28fb51..29f1431cbb32 100644 --- a/content/actions/using-jobs/setting-default-values-for-jobs.md +++ b/content/actions/using-jobs/setting-default-values-for-jobs.md @@ -7,7 +7,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 4 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/using-jobs/using-a-matrix-for-your-jobs.md b/content/actions/using-jobs/using-a-matrix-for-your-jobs.md index 0130deeefd26..b3606c48ea0f 100644 --- a/content/actions/using-jobs/using-a-matrix-for-your-jobs.md +++ b/content/actions/using-jobs/using-a-matrix-for-your-jobs.md @@ -7,7 +7,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 4 redirect_from: - /actions/using-jobs/using-a-build-matrix-for-your-jobs --- diff --git a/content/actions/using-jobs/using-concurrency.md b/content/actions/using-jobs/using-concurrency.md index 3870c24df81a..9780466097f8 100644 --- a/content/actions/using-jobs/using-concurrency.md +++ b/content/actions/using-jobs/using-concurrency.md @@ -7,7 +7,6 @@ versions: ghes: '> 3.1' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 4 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/using-jobs/using-conditions-to-control-job-execution.md b/content/actions/using-jobs/using-conditions-to-control-job-execution.md index 019cbc064ea2..6bee2f2f5f56 100644 --- a/content/actions/using-jobs/using-conditions-to-control-job-execution.md +++ b/content/actions/using-jobs/using-conditions-to-control-job-execution.md @@ -7,7 +7,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 4 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/using-jobs/using-environments-for-jobs.md b/content/actions/using-jobs/using-environments-for-jobs.md index fe724a42ed19..d69aea771630 100644 --- a/content/actions/using-jobs/using-environments-for-jobs.md +++ b/content/actions/using-jobs/using-environments-for-jobs.md @@ -7,7 +7,6 @@ versions: ghes: '> 3.0' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 4 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/using-jobs/using-jobs-in-a-workflow.md b/content/actions/using-jobs/using-jobs-in-a-workflow.md index 7c70bea0c5a3..39b0c9f9fe76 100644 --- a/content/actions/using-jobs/using-jobs-in-a-workflow.md +++ b/content/actions/using-jobs/using-jobs-in-a-workflow.md @@ -7,7 +7,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 4 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/using-workflows/about-workflows.md b/content/actions/using-workflows/about-workflows.md index 42178f6ff519..4b0c04256470 100644 --- a/content/actions/using-workflows/about-workflows.md +++ b/content/actions/using-workflows/about-workflows.md @@ -13,7 +13,6 @@ redirect_from: - /actions/using-workflows/advanced-workflow-features topics: - Workflows -miniTocMaxHeadingLevel: 3 --- ## About workflows diff --git a/content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md b/content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md index 5575368ba76b..d77ec6e984f9 100644 --- a/content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md +++ b/content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md @@ -13,7 +13,6 @@ versions: type: tutorial topics: - Workflows -miniTocMaxHeadingLevel: 3 --- ## About caching workflow dependencies diff --git a/content/actions/using-workflows/events-that-trigger-workflows.md b/content/actions/using-workflows/events-that-trigger-workflows.md index 043c332e7e74..3addc5ba622e 100644 --- a/content/actions/using-workflows/events-that-trigger-workflows.md +++ b/content/actions/using-workflows/events-that-trigger-workflows.md @@ -1,7 +1,6 @@ --- title: Events that trigger workflows intro: 'You can configure your workflows to run when specific activity on {% data variables.product.product_name %} happens, at a scheduled time, or when an event outside of {% data variables.product.product_name %} occurs.' -miniTocMaxHeadingLevel: 3 redirect_from: - /articles/events-that-trigger-workflows - /github/automating-your-workflow-with-github-actions/events-that-trigger-workflows diff --git a/content/actions/using-workflows/required-workflows.md b/content/actions/using-workflows/required-workflows.md index a70b54953a36..b2b5c1044a53 100644 --- a/content/actions/using-workflows/required-workflows.md +++ b/content/actions/using-workflows/required-workflows.md @@ -2,7 +2,6 @@ title: Required workflows shortTitle: Required workflows intro: You can specify which workflows will run as required status checks in all repositories or selected repositories in your organization. -miniTocMaxHeadingLevel: 3 versions: feature: required-workflows type: how_to diff --git a/content/actions/using-workflows/reusing-workflows.md b/content/actions/using-workflows/reusing-workflows.md index 15a676c2ca95..f973fe18c489 100644 --- a/content/actions/using-workflows/reusing-workflows.md +++ b/content/actions/using-workflows/reusing-workflows.md @@ -4,7 +4,6 @@ shortTitle: Reuse workflows intro: Learn how to avoid duplication when creating a workflow by reusing existing workflows. redirect_from: - /actions/learn-github-actions/reusing-workflows -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/actions/using-workflows/triggering-a-workflow.md b/content/actions/using-workflows/triggering-a-workflow.md index 77ccae93658a..b381170e3349 100644 --- a/content/actions/using-workflows/triggering-a-workflow.md +++ b/content/actions/using-workflows/triggering-a-workflow.md @@ -12,7 +12,6 @@ topics: - Workflows - CI - CD -miniTocMaxHeadingLevel: 3 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/actions/using-workflows/workflow-syntax-for-github-actions.md b/content/actions/using-workflows/workflow-syntax-for-github-actions.md index dd7c0b294004..742efa032e6f 100644 --- a/content/actions/using-workflows/workflow-syntax-for-github-actions.md +++ b/content/actions/using-workflows/workflow-syntax-for-github-actions.md @@ -13,7 +13,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 4 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-code-scanning-for-your-appliance.md b/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-code-scanning-for-your-appliance.md index b0a8fcde8a94..6aec3ec8ec84 100644 --- a/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-code-scanning-for-your-appliance.md +++ b/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-code-scanning-for-your-appliance.md @@ -3,7 +3,6 @@ title: Configuring code scanning for your appliance shortTitle: Configuring code scanning intro: 'You can enable, configure and disable {% data variables.product.prodname_code_scanning %} for {% data variables.location.product_location %}. {% data variables.product.prodname_code_scanning_capc %} allows users to scan code for vulnerabilities and errors.' product: '{% data reusables.gated-features.code-scanning %}' -miniTocMaxHeadingLevel: 3 redirect_from: - /enterprise/admin/configuration/configuring-code-scanning-for-your-appliance - /admin/configuration/configuring-code-scanning-for-your-appliance diff --git a/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-dependency-review-for-your-appliance.md b/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-dependency-review-for-your-appliance.md index 3e70b6a349df..c3bba05e90b1 100644 --- a/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-dependency-review-for-your-appliance.md +++ b/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-dependency-review-for-your-appliance.md @@ -3,7 +3,6 @@ title: Configuring dependency review for your appliance shortTitle: Configuring dependency review intro: 'To help users understand dependency changes when reviewing pull requests, you can enable, configure, and disable dependency review for {% data variables.location.product_location %}.' product: '{% data reusables.gated-features.dependency-review %}' -miniTocMaxHeadingLevel: 3 versions: feature: dependency-review-action-ghes type: how_to diff --git a/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-secret-scanning-for-your-appliance.md b/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-secret-scanning-for-your-appliance.md index 51b4985c347a..1df526d49838 100644 --- a/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-secret-scanning-for-your-appliance.md +++ b/content/admin/code-security/managing-github-advanced-security-for-your-enterprise/configuring-secret-scanning-for-your-appliance.md @@ -3,7 +3,6 @@ title: Configuring secret scanning for your appliance shortTitle: Configuring secret scanning intro: 'You can enable, configure, and disable {% data variables.product.prodname_secret_scanning %} for {% data variables.location.product_location %}. {% data variables.product.prodname_secret_scanning_caps %} allows users to scan code for accidentally committed secrets.' product: '{% data reusables.gated-features.secret-scanning %}' -miniTocMaxHeadingLevel: 3 redirect_from: - /admin/configuration/configuring-secret-scanning-for-your-appliance - /admin/advanced-security/configuring-secret-scanning-for-your-appliance diff --git a/content/admin/configuration/configuring-github-connect/about-github-connect.md b/content/admin/configuration/configuring-github-connect/about-github-connect.md index d9a4d2f9d4fd..355f83ae6787 100644 --- a/content/admin/configuration/configuring-github-connect/about-github-connect.md +++ b/content/admin/configuration/configuring-github-connect/about-github-connect.md @@ -8,7 +8,6 @@ type: overview topics: - Enterprise - GitHub Connect -miniTocMaxHeadingLevel: 3 --- ## About {% data variables.product.prodname_github_connect %} diff --git a/content/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise.md b/content/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise.md index 9db15cf376cf..9461ce7d6efe 100644 --- a/content/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise.md +++ b/content/admin/configuration/configuring-github-connect/enabling-dependabot-for-your-enterprise.md @@ -1,7 +1,6 @@ --- title: Enabling Dependabot for your enterprise intro: 'You can allow users of {% data variables.location.product_location %} to find and fix vulnerabilities in code dependencies by enabling {% data variables.product.prodname_dependabot_alerts %}{% ifversion ghes %} and {% data variables.product.prodname_dependabot_updates %}{% endif %}.' -miniTocMaxHeadingLevel: 3 shortTitle: Dependabot redirect_from: - /enterprise/admin/installation/enabling-security-alerts-for-vulnerable-dependencies-on-github-enterprise-server diff --git a/content/admin/configuration/configuring-your-enterprise/command-line-utilities.md b/content/admin/configuration/configuring-your-enterprise/command-line-utilities.md index 030e525d9840..ee5207aa4ef1 100644 --- a/content/admin/configuration/configuring-your-enterprise/command-line-utilities.md +++ b/content/admin/configuration/configuring-your-enterprise/command-line-utilities.md @@ -7,7 +7,6 @@ redirect_from: - /enterprise/admin/installation/command-line-utilities - /enterprise/admin/configuration/command-line-utilities - /admin/configuration/command-line-utilities -miniTocMaxHeadingLevel: 3 versions: ghes: '*' type: reference diff --git a/content/admin/configuration/configuring-your-enterprise/restricting-network-traffic-to-your-enterprise-with-an-ip-allow-list.md b/content/admin/configuration/configuring-your-enterprise/restricting-network-traffic-to-your-enterprise-with-an-ip-allow-list.md index 0245bf554563..367551428d48 100644 --- a/content/admin/configuration/configuring-your-enterprise/restricting-network-traffic-to-your-enterprise-with-an-ip-allow-list.md +++ b/content/admin/configuration/configuring-your-enterprise/restricting-network-traffic-to-your-enterprise-with-an-ip-allow-list.md @@ -3,7 +3,6 @@ title: Restricting network traffic to your enterprise with an IP allow list shortTitle: Restricting network traffic intro: You can restrict access to your enterprise and only allow access to your resources from specified IP addresses by using an IP allow list. permissions: Enterprise owners can configure IP allow lists. -miniTocMaxHeadingLevel: 3 versions: ghae: '*' ghec: '*' diff --git a/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-amazon-s3-storage.md b/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-amazon-s3-storage.md index 7259ef42bd6a..7b3db1b0176b 100644 --- a/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-amazon-s3-storage.md +++ b/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-amazon-s3-storage.md @@ -13,7 +13,6 @@ topics: redirect_from: - /admin/github-actions/enabling-github-actions-with-amazon-s3-storage shortTitle: Amazon S3 storage -miniTocMaxHeadingLevel: 3 --- {% data reusables.actions.enterprise-storage-about %} diff --git a/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-azure-blob-storage.md b/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-azure-blob-storage.md index 01bea3c6992b..8393cb90133a 100644 --- a/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-azure-blob-storage.md +++ b/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-azure-blob-storage.md @@ -13,7 +13,6 @@ topics: redirect_from: - /admin/github-actions/enabling-github-actions-with-azure-blob-storage shortTitle: Azure Blob storage -miniTocMaxHeadingLevel: 3 --- {% data reusables.actions.enterprise-storage-about %} diff --git a/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-google-cloud-storage.md b/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-google-cloud-storage.md index 3e493e89e613..36d8326b8d7f 100644 --- a/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-google-cloud-storage.md +++ b/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/enabling-github-actions-with-google-cloud-storage.md @@ -11,7 +11,6 @@ topics: - Infrastructure - Storage shortTitle: Google Cloud Storage -miniTocMaxHeadingLevel: 3 --- {% note %} diff --git a/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/managing-self-hosted-runners-for-dependabot-updates.md b/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/managing-self-hosted-runners-for-dependabot-updates.md index 3ae0f33b3546..4d5670bde73f 100644 --- a/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/managing-self-hosted-runners-for-dependabot-updates.md +++ b/content/admin/github-actions/enabling-github-actions-for-github-enterprise-server/managing-self-hosted-runners-for-dependabot-updates.md @@ -4,7 +4,6 @@ intro: 'You can create dedicated runners for {% data variables.location.product_ redirect_from: - /admin/github-actions/enabling-github-actions-for-github-enterprise-server/setting-up-dependabot-updates allowTitleToDifferFromFilename: true -miniTocMaxHeadingLevel: 3 versions: ghes: '> 3.2' topics: diff --git a/content/admin/identity-and-access-management/managing-iam-for-your-enterprise/username-considerations-for-external-authentication.md b/content/admin/identity-and-access-management/managing-iam-for-your-enterprise/username-considerations-for-external-authentication.md index d29c9b0fd875..78b6852b6c54 100644 --- a/content/admin/identity-and-access-management/managing-iam-for-your-enterprise/username-considerations-for-external-authentication.md +++ b/content/admin/identity-and-access-management/managing-iam-for-your-enterprise/username-considerations-for-external-authentication.md @@ -2,7 +2,6 @@ title: Username considerations for external authentication shortTitle: Username considerations intro: '{% ifversion ghes or ghec %}When you use {% ifversion ghes %}CAS, LDAP, or SAML for authentication{% elsif ghec %}{% data variables.product.prodname_emus %}{% endif %}, {% endif %}{% data variables.product.product_name %} follows certain rules to determine the username for each user account {% ifversion ghec or ghae %}in your enterprise{% elsif ghes %}on your instance{% endif %}.' -miniTocMaxHeadingLevel: 3 versions: ghec: '*' ghes: '*' diff --git a/content/admin/identity-and-access-management/using-saml-for-enterprise-iam/configuring-authentication-and-provisioning-for-your-enterprise-using-okta.md b/content/admin/identity-and-access-management/using-saml-for-enterprise-iam/configuring-authentication-and-provisioning-for-your-enterprise-using-okta.md index 141789f3eee0..37d662bb7be5 100644 --- a/content/admin/identity-and-access-management/using-saml-for-enterprise-iam/configuring-authentication-and-provisioning-for-your-enterprise-using-okta.md +++ b/content/admin/identity-and-access-management/using-saml-for-enterprise-iam/configuring-authentication-and-provisioning-for-your-enterprise-using-okta.md @@ -15,7 +15,6 @@ topics: - Enterprise - Identity - SSO -miniTocMaxHeadingLevel: 3 --- {% data reusables.saml.okta-ae-sso-beta %} diff --git a/content/admin/installation/setting-up-a-github-enterprise-server-instance/setting-up-a-staging-instance.md b/content/admin/installation/setting-up-a-github-enterprise-server-instance/setting-up-a-staging-instance.md index b08f9292ec79..293cfc13c985 100644 --- a/content/admin/installation/setting-up-a-github-enterprise-server-instance/setting-up-a-staging-instance.md +++ b/content/admin/installation/setting-up-a-github-enterprise-server-instance/setting-up-a-staging-instance.md @@ -12,7 +12,6 @@ topics: - Infrastructure - Upgrades shortTitle: Set up a staging instance -miniTocMaxHeadingLevel: 3 --- ## About staging instances diff --git a/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md b/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md index e4becca7d139..f23cc073711f 100644 --- a/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md +++ b/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/audit-log-events-for-your-enterprise.md @@ -3,7 +3,6 @@ title: Audit log events for your enterprise intro: Learn about audit log events recorded for your enterprise. shortTitle: Audit log events permissions: 'Enterprise owners {% ifversion ghes %}and site administrators {% endif %}can interact with the audit log.' -miniTocMaxHeadingLevel: 4 redirect_from: - /enterprise/admin/articles/audited-actions - /enterprise/admin/installation/audited-actions diff --git a/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/exporting-audit-log-activity-for-your-enterprise.md b/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/exporting-audit-log-activity-for-your-enterprise.md index d43667ab427a..357abab15444 100644 --- a/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/exporting-audit-log-activity-for-your-enterprise.md +++ b/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/exporting-audit-log-activity-for-your-enterprise.md @@ -3,7 +3,6 @@ title: Exporting audit log activity for your enterprise intro: You can export audit and Git events data to a file for offline analysis. shortTitle: Export audit logs permissions: Enterprise owners can export the audit log. -miniTocMaxHeadingLevel: 3 versions: ghec: '*' type: tutorial diff --git a/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise.md b/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise.md index 9aa63316bcf4..28a810e961ba 100644 --- a/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise.md +++ b/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/searching-the-audit-log-for-your-enterprise.md @@ -18,7 +18,6 @@ topics: - Auditing - Enterprise - Logging -miniTocMaxHeadingLevel: 3 --- ## About search for the enterprise audit log diff --git a/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise.md b/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise.md index 1bdd2b076090..7c76833c9695 100644 --- a/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise.md +++ b/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/streaming-the-audit-log-for-your-enterprise.md @@ -1,7 +1,6 @@ --- title: Streaming the audit log for your enterprise intro: 'You can stream audit and Git events data from {% data variables.product.prodname_dotcom %} to an external data management system.' -miniTocMaxHeadingLevel: 3 versions: feature: audit-log-streaming type: tutorial diff --git a/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit-log-api-for-your-enterprise.md b/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit-log-api-for-your-enterprise.md index a720a6f33a56..20535cac1c6a 100644 --- a/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit-log-api-for-your-enterprise.md +++ b/content/admin/monitoring-activity-in-your-enterprise/reviewing-audit-logs-for-your-enterprise/using-the-audit-log-api-for-your-enterprise.md @@ -3,7 +3,6 @@ title: Using the audit log API for your enterprise intro: You can programmatically retrieve enterprise events with the REST or GraphQL API. shortTitle: Audit log API permissions: 'Enterprise owners {% ifversion ghes %}and site administrators {% endif %}can use the audit log API.' -miniTocMaxHeadingLevel: 3 versions: ghec: '*' ghes: '*' diff --git a/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md b/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md index 38f1ce0ccd1a..347d09eba044 100644 --- a/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md +++ b/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-github-actions-in-your-enterprise.md @@ -2,7 +2,6 @@ title: Enforcing policies for GitHub Actions in your enterprise intro: 'You can enforce policies for {% data variables.product.prodname_actions %} within your enterprise''s organizations, or allow policies to be set in each organization.' permissions: 'Enterprise owners can enforce policies for {% data variables.product.prodname_actions %} in an enterprise.' -miniTocMaxHeadingLevel: 3 redirect_from: - /enterprise/admin/github-actions/enforcing-github-actions-policies-for-your-enterprise - /admin/github-actions/enforcing-github-actions-policies-for-your-enterprise diff --git a/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise.md b/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise.md index bdef12ebe4b0..edc99660ba7b 100644 --- a/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise.md +++ b/content/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise.md @@ -2,7 +2,6 @@ title: Enforcing policies for security settings in your enterprise intro: 'You can enforce policies to manage security settings in your enterprise''s organizations, or allow policies to be set in each organization.' permissions: Enterprise owners can enforce policies for security settings in an enterprise. -miniTocMaxHeadingLevel: 3 redirect_from: - /articles/enforcing-security-settings-for-organizations-in-your-business-account - /articles/enforcing-security-settings-for-organizations-in-your-enterprise-account diff --git a/content/admin/policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-script.md b/content/admin/policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-script.md index fdc58637ebaa..e3f1e49a2714 100644 --- a/content/admin/policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-script.md +++ b/content/admin/policies/enforcing-policy-with-pre-receive-hooks/creating-a-pre-receive-hook-script.md @@ -1,7 +1,6 @@ --- title: Creating a pre-receive hook script intro: Use pre-receive hook scripts to create requirements for accepting or rejecting a push based on the contents. -miniTocMaxHeadingLevel: 3 redirect_from: - /enterprise/admin/developer-workflow/creating-a-pre-receive-hook-script - /enterprise/admin/policies/creating-a-pre-receive-hook-script diff --git a/content/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log.md b/content/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log.md index dc6202e4e9c6..cf9706ad02f9 100644 --- a/content/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log.md +++ b/content/authentication/keeping-your-account-and-data-secure/reviewing-your-security-log.md @@ -1,7 +1,6 @@ --- title: Reviewing your security log intro: You can review the security log for your personal account to better understand actions you've performed and actions others have performed that involve you. -miniTocMaxHeadingLevel: 3 redirect_from: - /articles/reviewing-your-security-log - /github/authenticating-to-github/reviewing-your-security-log diff --git a/content/authentication/keeping-your-account-and-data-secure/sudo-mode.md b/content/authentication/keeping-your-account-and-data-secure/sudo-mode.md index 6d664978e3f5..23fee567118b 100644 --- a/content/authentication/keeping-your-account-and-data-secure/sudo-mode.md +++ b/content/authentication/keeping-your-account-and-data-secure/sudo-mode.md @@ -9,7 +9,6 @@ versions: fpt: '*' ghes: '*' ghec: '*' -miniTocMaxHeadingLevel: 3 topics: - Identity - Access management diff --git a/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md b/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md index 45020313e459..f0539bea98ee 100644 --- a/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md +++ b/content/billing/managing-billing-for-github-actions/about-billing-for-github-actions.md @@ -1,7 +1,6 @@ --- title: About billing for GitHub Actions intro: 'If you want to use {% data variables.product.prodname_actions %} beyond the storage or minutes included in your account, you will be billed for additional usage.' -miniTocMaxHeadingLevel: 3 redirect_from: - /github/setting-up-and-managing-billing-and-payments-on-github/about-billing-for-github-actions - /github/setting-up-and-managing-billing-and-payments-on-github/managing-billing-for-github-actions/about-billing-for-github-actions diff --git a/content/billing/managing-billing-for-github-advanced-security/managing-your-github-advanced-security-licensing.md b/content/billing/managing-billing-for-github-advanced-security/managing-your-github-advanced-security-licensing.md index 2a26aa5b2e04..11abb4194357 100644 --- a/content/billing/managing-billing-for-github-advanced-security/managing-your-github-advanced-security-licensing.md +++ b/content/billing/managing-billing-for-github-advanced-security/managing-your-github-advanced-security-licensing.md @@ -5,7 +5,6 @@ permissions: 'Enterprise owners can manage licensing for {% data variables.produ product: '{% data reusables.gated-features.ghas-ghec %}' versions: ghec: '*' -miniTocMaxHeadingLevel: 3 type: how_to topics: - Advanced Security diff --git a/content/billing/managing-billing-for-github-advanced-security/signing-up-for-github-advanced-security.md b/content/billing/managing-billing-for-github-advanced-security/signing-up-for-github-advanced-security.md index b38b1e1ae166..6cd670961ce5 100644 --- a/content/billing/managing-billing-for-github-advanced-security/signing-up-for-github-advanced-security.md +++ b/content/billing/managing-billing-for-github-advanced-security/signing-up-for-github-advanced-security.md @@ -5,7 +5,6 @@ permissions: 'Enterprise owners can sign up for {% data variables.product.prodna product: '{% data reusables.gated-features.ghas-ghec %}' versions: ghec: '*' -miniTocMaxHeadingLevel: 3 type: how_to topics: - Advanced Security diff --git a/content/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage.md b/content/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage.md index 4338a13b5a25..21f550418c54 100644 --- a/content/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage.md +++ b/content/billing/managing-billing-for-github-advanced-security/viewing-your-github-advanced-security-usage.md @@ -12,7 +12,6 @@ redirect_from: versions: ghes: '*' ghec: '*' -miniTocMaxHeadingLevel: 3 type: how_to topics: - Advanced Security diff --git a/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md b/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md index 67fa6c2d1ee1..16fbcde681fb 100644 --- a/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md +++ b/content/billing/managing-billing-for-github-codespaces/about-billing-for-github-codespaces.md @@ -2,7 +2,6 @@ title: About billing for GitHub Codespaces shortTitle: About billing intro: 'Learn about the costs for using {% data variables.product.prodname_github_codespaces %}, and the monthly usage quotas included with {% data variables.product.prodname_dotcom %} personal accounts.' -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/billing/managing-billing-for-github-copilot/viewing-your-github-copilot-usage.md b/content/billing/managing-billing-for-github-copilot/viewing-your-github-copilot-usage.md index e96185a3bf42..8c8ba9acab75 100644 --- a/content/billing/managing-billing-for-github-copilot/viewing-your-github-copilot-usage.md +++ b/content/billing/managing-billing-for-github-copilot/viewing-your-github-copilot-usage.md @@ -2,7 +2,6 @@ title: Viewing your GitHub Copilot usage intro: 'You can view how many users have access to {% data variables.product.prodname_copilot %} across {% ifversion fpt %}your organization{% else %} all the organizations in your enterprise{% endif %}.' product: '{% data reusables.gated-features.copilot-billing %}' -miniTocMaxHeadingLevel: 3 permissions: '{% ifversion fpt %}Organization admins{% else %}Enterprise owners{% endif %} can view usage for {% data variables.product.prodname_copilot %} in their {% ifversion fpt %}organization{% else %}enterprise{% endif %}.' versions: feature: copilot diff --git a/content/billing/managing-billing-for-your-github-account/upgrading-your-github-subscription.md b/content/billing/managing-billing-for-your-github-account/upgrading-your-github-subscription.md index 16ba0db710a2..f0f25531f2b6 100644 --- a/content/billing/managing-billing-for-your-github-account/upgrading-your-github-subscription.md +++ b/content/billing/managing-billing-for-your-github-account/upgrading-your-github-subscription.md @@ -1,7 +1,6 @@ --- title: Upgrading your GitHub subscription intro: 'You can upgrade the subscription for any type of account on {% data variables.location.product_location %} at any time.' -miniTocMaxHeadingLevel: 3 redirect_from: - /github/setting-up-and-managing-billing-and-payments-on-github/upgrading-your-github-subscription - /articles/upgrading-your-personal-account-s-billing-plan diff --git a/content/code-security/adopting-github-advanced-security-at-scale/introduction-to-adopting-github-advanced-security-at-scale.md b/content/code-security/adopting-github-advanced-security-at-scale/introduction-to-adopting-github-advanced-security-at-scale.md index 3a2cc67c6cc8..5cc65de9ca20 100644 --- a/content/code-security/adopting-github-advanced-security-at-scale/introduction-to-adopting-github-advanced-security-at-scale.md +++ b/content/code-security/adopting-github-advanced-security-at-scale/introduction-to-adopting-github-advanced-security-at-scale.md @@ -13,7 +13,6 @@ redirect_from: - /admin/code-security/managing-github-advanced-security-for-your-enterprise/overview-of-github-advanced-security-deployment - /admin/advanced-security/deploying-github-advanced-security-in-your-enterprise - /admin/code-security/managing-github-advanced-security-for-your-enterprise/deploying-github-advanced-security-in-your-enterprise -miniTocMaxHeadingLevel: 2 --- ## About these articles diff --git a/content/code-security/adopting-github-advanced-security-at-scale/phase-1-align-on-your-rollout-strategy-and-goals.md b/content/code-security/adopting-github-advanced-security-at-scale/phase-1-align-on-your-rollout-strategy-and-goals.md index dde2f20de10f..3931aa322d16 100644 --- a/content/code-security/adopting-github-advanced-security-at-scale/phase-1-align-on-your-rollout-strategy-and-goals.md +++ b/content/code-security/adopting-github-advanced-security-at-scale/phase-1-align-on-your-rollout-strategy-and-goals.md @@ -8,7 +8,6 @@ versions: topics: - Advanced Security shortTitle: 1. Align on strategy -miniTocMaxHeadingLevel: 3 --- {% note %} diff --git a/content/code-security/adopting-github-advanced-security-at-scale/phase-2-preparing-to-enable-at-scale.md b/content/code-security/adopting-github-advanced-security-at-scale/phase-2-preparing-to-enable-at-scale.md index 2849aa209a48..63a010020dd6 100644 --- a/content/code-security/adopting-github-advanced-security-at-scale/phase-2-preparing-to-enable-at-scale.md +++ b/content/code-security/adopting-github-advanced-security-at-scale/phase-2-preparing-to-enable-at-scale.md @@ -8,7 +8,6 @@ versions: topics: - Advanced Security shortTitle: 2. Preparation -miniTocMaxHeadingLevel: 3 --- {% note %} diff --git a/content/code-security/adopting-github-advanced-security-at-scale/phase-3-pilot-programs.md b/content/code-security/adopting-github-advanced-security-at-scale/phase-3-pilot-programs.md index faf4a48e7cd4..4fbfe615c6f1 100644 --- a/content/code-security/adopting-github-advanced-security-at-scale/phase-3-pilot-programs.md +++ b/content/code-security/adopting-github-advanced-security-at-scale/phase-3-pilot-programs.md @@ -8,7 +8,6 @@ versions: topics: - Advanced Security shortTitle: 3. Pilot programs -miniTocMaxHeadingLevel: 3 --- {% note %} diff --git a/content/code-security/adopting-github-advanced-security-at-scale/phase-4-create-internal-documentation.md b/content/code-security/adopting-github-advanced-security-at-scale/phase-4-create-internal-documentation.md index 2a2f16530ab9..2f872dcd04e7 100644 --- a/content/code-security/adopting-github-advanced-security-at-scale/phase-4-create-internal-documentation.md +++ b/content/code-security/adopting-github-advanced-security-at-scale/phase-4-create-internal-documentation.md @@ -8,7 +8,6 @@ versions: topics: - Advanced Security shortTitle: 4. Create internal documentation -miniTocMaxHeadingLevel: 3 --- {% note %} diff --git a/content/code-security/adopting-github-advanced-security-at-scale/phase-5-rollout-and-scale-code-scanning.md b/content/code-security/adopting-github-advanced-security-at-scale/phase-5-rollout-and-scale-code-scanning.md index 63a9996349e8..fcc3e6b5685b 100644 --- a/content/code-security/adopting-github-advanced-security-at-scale/phase-5-rollout-and-scale-code-scanning.md +++ b/content/code-security/adopting-github-advanced-security-at-scale/phase-5-rollout-and-scale-code-scanning.md @@ -8,7 +8,6 @@ versions: topics: - Advanced Security shortTitle: 5. Rollout code scanning -miniTocMaxHeadingLevel: 3 --- {% note %} diff --git a/content/code-security/adopting-github-advanced-security-at-scale/phase-6-rollout-and-scale-secret-scanning.md b/content/code-security/adopting-github-advanced-security-at-scale/phase-6-rollout-and-scale-secret-scanning.md index 48e89aa4c37c..aeed12a8e9bb 100644 --- a/content/code-security/adopting-github-advanced-security-at-scale/phase-6-rollout-and-scale-secret-scanning.md +++ b/content/code-security/adopting-github-advanced-security-at-scale/phase-6-rollout-and-scale-secret-scanning.md @@ -8,7 +8,6 @@ versions: topics: - Advanced Security shortTitle: 6. Rollout secret scanning -miniTocMaxHeadingLevel: 3 --- {% note %} diff --git a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages.md b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages.md index 74233e679ffc..80435d8a829c 100644 --- a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages.md +++ b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-the-codeql-workflow-for-compiled-languages.md @@ -4,7 +4,6 @@ shortTitle: Configure compiled languages intro: 'You can configure how {% data variables.product.prodname_dotcom %} uses the {% data variables.code-scanning.codeql_workflow %} to scan code written in compiled languages for vulnerabilities and errors.' product: '{% data reusables.gated-features.code-scanning %}' permissions: 'If you have write permissions to a repository, you can configure {% data variables.product.prodname_code_scanning %} for that repository.' -miniTocMaxHeadingLevel: 3 redirect_from: - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning-for-compiled-languages - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-the-codeql-action-for-compiled-languages diff --git a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning.md b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning.md index 2ad8ba1f57f4..578e259a7e49 100644 --- a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning.md +++ b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/customizing-code-scanning.md @@ -3,7 +3,6 @@ title: Customizing code scanning intro: 'You can customize how {% data variables.product.prodname_dotcom %} scans the code in your project for vulnerabilities and errors.' product: '{% data reusables.gated-features.code-scanning %}' permissions: 'People with write permissions to a repository can customize {% data variables.product.prodname_code_scanning %} for the repository.' -miniTocMaxHeadingLevel: 3 redirect_from: - /github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning - /code-security/secure-coding/configuring-code-scanning diff --git a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository.md b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository.md index 51ff684b668b..4a59ff05bb47 100644 --- a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository.md +++ b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/managing-code-scanning-alerts-for-your-repository.md @@ -9,7 +9,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 3 redirect_from: - /github/managing-security-vulnerabilities/managing-alerts-from-automated-code-scanning - /github/finding-security-vulnerabilities-and-errors-in-your-code/managing-alerts-from-code-scanning diff --git a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-the-codeql-workflow.md b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-the-codeql-workflow.md index 19cd1e67b2de..cd81a429154c 100644 --- a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-the-codeql-workflow.md +++ b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-the-codeql-workflow.md @@ -3,7 +3,6 @@ title: 'Troubleshooting {% ifversion code-scanning-without-workflow %}your advan shortTitle: 'Troubleshoot {% ifversion code-scanning-without-workflow %}advanced setup{% else %}CodeQL workflow{% endif %}' intro: 'If you''re having problems with {% ifversion code-scanning-without-workflow %}advanced setup for {% data variables.product.prodname_code_scanning %}{% else %}{% data variables.product.prodname_code_scanning %} setup{% endif %}, you can troubleshoot by using these tips for resolving issues.' product: '{% data reusables.gated-features.code-scanning %}' -miniTocMaxHeadingLevel: 3 redirect_from: - /github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-code-scanning - /github/finding-security-vulnerabilities-and-errors-in-your-code/troubleshooting-the-codeql-workflow diff --git a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-your-default-setup-for-codeql.md b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-your-default-setup-for-codeql.md index d20503fe915d..5539d5876cd2 100644 --- a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-your-default-setup-for-codeql.md +++ b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/troubleshooting-your-default-setup-for-codeql.md @@ -3,7 +3,6 @@ title: Troubleshooting your default setup for CodeQL shortTitle: Troubleshoot default setup intro: 'If you''re having problems with the default {% data variables.product.prodname_code_scanning %} setup, you can troubleshoot by using these tips for resolving issues.' product: '{% data reusables.gated-features.code-scanning %}' -miniTocMaxHeadingLevel: 3 versions: feature: code-scanning-without-workflow type: how_to diff --git a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/viewing-code-scanning-logs.md b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/viewing-code-scanning-logs.md index 8b3b558239a6..31196795dbb9 100644 --- a/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/viewing-code-scanning-logs.md +++ b/content/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/viewing-code-scanning-logs.md @@ -3,7 +3,6 @@ title: Viewing code scanning logs intro: 'You can view the output generated during {% data variables.product.prodname_code_scanning %} analysis in {% data variables.location.product_location %}.' product: '{% data reusables.gated-features.code-scanning %}' permissions: 'If you have write permissions to a repository, you can view the {% data variables.product.prodname_code_scanning %} logs for that repository.' -miniTocMaxHeadingLevel: 4 redirect_from: - /code-security/secure-coding/automatically-scanning-your-code-for-vulnerabilities-and-errors/viewing-code-scanning-logs versions: diff --git a/content/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning.md b/content/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning.md index c8947d3c9152..0c8bcea293ec 100644 --- a/content/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning.md +++ b/content/code-security/code-scanning/integrating-with-code-scanning/sarif-support-for-code-scanning.md @@ -3,7 +3,6 @@ title: SARIF support for code scanning shortTitle: SARIF support intro: 'To display results from a third-party static analysis tool in your repository on {% data variables.product.prodname_dotcom %}, you''ll need your results stored in a SARIF file that supports a specific subset of the SARIF 2.1.0 JSON schema for {% data variables.product.prodname_code_scanning %}. If you use the default {% data variables.product.prodname_codeql %} static analysis engine, then your results will display in your repository on {% data variables.product.prodname_dotcom %} automatically.' product: '{% data reusables.gated-features.code-scanning %}' -miniTocMaxHeadingLevel: 3 redirect_from: - /github/finding-security-vulnerabilities-and-errors-in-your-code/about-sarif-support-for-code-scanning - /github/finding-security-vulnerabilities-and-errors-in-your-code/sarif-support-for-code-scanning diff --git a/content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/installing-codeql-cli-in-your-ci-system.md b/content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/installing-codeql-cli-in-your-ci-system.md index e07f7e06e1ac..0dd21df7c41c 100644 --- a/content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/installing-codeql-cli-in-your-ci-system.md +++ b/content/code-security/code-scanning/using-codeql-code-scanning-with-your-existing-ci-system/installing-codeql-cli-in-your-ci-system.md @@ -3,7 +3,6 @@ title: Installing CodeQL CLI in your CI system shortTitle: Install CodeQL CLI intro: 'You can install the {% data variables.product.prodname_codeql_cli %} and use it to perform {% data variables.product.prodname_codeql %} {% data variables.product.prodname_code_scanning %} in a third-party continuous integration system.' product: '{% data reusables.gated-features.code-scanning %}' -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghes: '*' diff --git a/content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md b/content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md index e75571aca20b..b241e9f946d2 100644 --- a/content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md +++ b/content/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file.md @@ -7,7 +7,6 @@ redirect_from: - /github/administering-a-repository/configuration-options-for-dependency-updates - /code-security/supply-chain-security/configuration-options-for-dependency-updates - /code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions.md b/content/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions.md index 33f6f3d87431..600a0c704a01 100644 --- a/content/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions.md +++ b/content/code-security/dependabot/working-with-dependabot/automating-dependabot-with-github-actions.md @@ -2,7 +2,6 @@ title: Automating Dependabot with GitHub Actions intro: 'Examples of how you can use {% data variables.product.prodname_actions %} to automate common {% data variables.product.prodname_dependabot %} related tasks.' permissions: 'People with write permissions to a repository can configure {% data variables.product.prodname_actions %} to respond to {% data variables.product.prodname_dependabot %}-created pull requests.' -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/code-security/dependabot/working-with-dependabot/removing-dependabot-access-to-public-registries.md b/content/code-security/dependabot/working-with-dependabot/removing-dependabot-access-to-public-registries.md index 2fe20b5f449c..f177157e4a07 100644 --- a/content/code-security/dependabot/working-with-dependabot/removing-dependabot-access-to-public-registries.md +++ b/content/code-security/dependabot/working-with-dependabot/removing-dependabot-access-to-public-registries.md @@ -2,7 +2,6 @@ title: Removing Dependabot access to public registries intro: 'Examples of how you can configure {% data variables.product.prodname_dependabot %} to only access private registries by removing calls to public registries.' permissions: 'People with write permissions to a repository can configure {% data variables.product.prodname_dependabot %} for the repository.' -miniTocMaxHeadingLevel: 3 versions: feature: dependabot-private-registries type: how_to diff --git a/content/code-security/dependabot/working-with-dependabot/troubleshooting-dependabot-errors.md b/content/code-security/dependabot/working-with-dependabot/troubleshooting-dependabot-errors.md index f5d2a42547ee..fe64e0ace816 100644 --- a/content/code-security/dependabot/working-with-dependabot/troubleshooting-dependabot-errors.md +++ b/content/code-security/dependabot/working-with-dependabot/troubleshooting-dependabot-errors.md @@ -2,7 +2,6 @@ title: Troubleshooting Dependabot errors intro: 'Sometimes {% data variables.product.prodname_dependabot %} is unable to raise a pull request to update your dependencies. You can review the error and unblock {% data variables.product.prodname_dependabot %}.' shortTitle: Troubleshoot errors -miniTocMaxHeadingLevel: 3 redirect_from: - /github/managing-security-vulnerabilities/troubleshooting-github-dependabot-errors - /github/managing-security-vulnerabilities/troubleshooting-dependabot-errors diff --git a/content/code-security/secret-scanning/protecting-pushes-with-secret-scanning.md b/content/code-security/secret-scanning/protecting-pushes-with-secret-scanning.md index 7e05d2f1d4fe..889c5a82157c 100644 --- a/content/code-security/secret-scanning/protecting-pushes-with-secret-scanning.md +++ b/content/code-security/secret-scanning/protecting-pushes-with-secret-scanning.md @@ -2,7 +2,6 @@ title: Protecting pushes with secret scanning intro: 'You can use {% data variables.product.prodname_secret_scanning %} to prevent supported secrets from being pushed into your {% ifversion secret-scanning-enterprise-level %}enterprise,{% endif %} organization{% ifversion secret-scanning-enterprise-level %},{% endif %} or repository by enabling push protection.' product: '{% data reusables.gated-features.secret-scanning %}' -miniTocMaxHeadingLevel: 3 versions: feature: secret-scanning-push-protection redirect_from: diff --git a/content/code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection.md b/content/code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection.md index 31e712b3363e..2e43a84e8122 100644 --- a/content/code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection.md +++ b/content/code-security/secret-scanning/pushing-a-branch-blocked-by-push-protection.md @@ -2,7 +2,6 @@ title: Pushing a branch blocked by push protection intro: 'The push protection feature of {% data variables.product.prodname_secret_scanning %} proactively protects you against leaked secrets in your repositories. You can resolve blocked pushes and, once the detected secret is removed, you can push changes to your working branch from the command line or the web UI.' product: '{% data reusables.gated-features.secret-scanning %}' -miniTocMaxHeadingLevel: 3 versions: feature: secret-scanning-push-protection type: how_to diff --git a/content/code-security/secret-scanning/secret-scanning-partner-program.md b/content/code-security/secret-scanning/secret-scanning-partner-program.md index 1465fd8fed01..9da4e2c230ce 100644 --- a/content/code-security/secret-scanning/secret-scanning-partner-program.md +++ b/content/code-security/secret-scanning/secret-scanning-partner-program.md @@ -1,7 +1,6 @@ --- title: Secret scanning partner program intro: 'As a service provider, you can partner with {% data variables.product.prodname_dotcom %} to have your secret token formats secured through secret scanning, which searches for accidental commits of your secret format and can be sent to a service provider''s verify endpoint.' -miniTocMaxHeadingLevel: 3 redirect_from: - /partnerships/token-scanning - /partnerships/secret-scanning diff --git a/content/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database.md b/content/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database.md index a892ae1a00a3..9985e2d36a91 100644 --- a/content/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database.md +++ b/content/code-security/security-advisories/global-security-advisories/about-the-github-advisory-database.md @@ -1,7 +1,6 @@ --- title: About the GitHub Advisory database intro: 'The {% data variables.product.prodname_advisory_database %} contains a list of known security vulnerabilities {% ifversion GH-advisory-db-supports-malware %}and malware, {% endif %}grouped in two categories: {% data variables.product.company_short %}-reviewed advisories and unreviewed advisories.' -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/code-security/security-advisories/global-security-advisories/browsing-security-advisories-in-the-github-advisory-database.md b/content/code-security/security-advisories/global-security-advisories/browsing-security-advisories-in-the-github-advisory-database.md index cc0f58acb92f..e792d5d3fee2 100644 --- a/content/code-security/security-advisories/global-security-advisories/browsing-security-advisories-in-the-github-advisory-database.md +++ b/content/code-security/security-advisories/global-security-advisories/browsing-security-advisories-in-the-github-advisory-database.md @@ -2,7 +2,6 @@ title: Browsing security advisories in the GitHub Advisory Database intro: 'You can browse the {% data variables.product.prodname_advisory_database %} to find advisories for security risks in open source projects that are hosted on {% data variables.product.company_short %}.' shortTitle: Browse Advisory Database -miniTocMaxHeadingLevel: 3 redirect_from: - /github/managing-security-vulnerabilities/browsing-security-vulnerabilities-in-the-github-advisory-database - /code-security/supply-chain-security/browsing-security-vulnerabilities-in-the-github-advisory-database diff --git a/content/code-security/security-advisories/guidance-on-reporting-and-writing/about-coordinated-disclosure-of-security-vulnerabilities.md b/content/code-security/security-advisories/guidance-on-reporting-and-writing/about-coordinated-disclosure-of-security-vulnerabilities.md index 0cf3726fdab5..b267556a7203 100644 --- a/content/code-security/security-advisories/guidance-on-reporting-and-writing/about-coordinated-disclosure-of-security-vulnerabilities.md +++ b/content/code-security/security-advisories/guidance-on-reporting-and-writing/about-coordinated-disclosure-of-security-vulnerabilities.md @@ -5,7 +5,6 @@ redirect_from: - /code-security/security-advisories/about-coordinated-disclosure-of-security-vulnerabilities - /code-security/repository-security-advisories/about-coordinated-disclosure-of-security-vulnerabilities - /code-security/security-advisories/repository-security-advisories/about-coordinated-disclosure-of-security-vulnerabilities -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/code-security/security-advisories/guidance-on-reporting-and-writing/best-practices-for-writing-repository-security-advisories.md b/content/code-security/security-advisories/guidance-on-reporting-and-writing/best-practices-for-writing-repository-security-advisories.md index 7a664c99edd9..e8b4be5abfd5 100644 --- a/content/code-security/security-advisories/guidance-on-reporting-and-writing/best-practices-for-writing-repository-security-advisories.md +++ b/content/code-security/security-advisories/guidance-on-reporting-and-writing/best-practices-for-writing-repository-security-advisories.md @@ -5,7 +5,6 @@ versions: fpt: '*' ghec: '*' type: how_to -miniTocMaxHeadingLevel: 3 topics: - Security advisories - Vulnerabilities diff --git a/content/code-security/security-advisories/guidance-on-reporting-and-writing/managing-privately-reported-security-vulnerabilities.md b/content/code-security/security-advisories/guidance-on-reporting-and-writing/managing-privately-reported-security-vulnerabilities.md index 60488355ede3..0c51e29c81a8 100644 --- a/content/code-security/security-advisories/guidance-on-reporting-and-writing/managing-privately-reported-security-vulnerabilities.md +++ b/content/code-security/security-advisories/guidance-on-reporting-and-writing/managing-privately-reported-security-vulnerabilities.md @@ -6,7 +6,6 @@ versions: fpt: '*' ghec: '*' type: how_to -miniTocMaxHeadingLevel: 3 topics: - Security advisories - Vulnerabilities diff --git a/content/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability.md b/content/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability.md index 5ffbbeb94313..38dbf615ebee 100644 --- a/content/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability.md +++ b/content/code-security/security-advisories/guidance-on-reporting-and-writing/privately-reporting-a-security-vulnerability.md @@ -5,7 +5,6 @@ versions: fpt: '*' ghec: '*' type: how_to -miniTocMaxHeadingLevel: 3 topics: - Security advisories - Vulnerabilities diff --git a/content/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository.md b/content/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository.md index 325b8104a15e..27c768378020 100644 --- a/content/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository.md +++ b/content/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-a-repository.md @@ -6,7 +6,6 @@ versions: fpt: '*' ghec: '*' type: how_to -miniTocMaxHeadingLevel: 3 topics: - Security advisories - Vulnerabilities diff --git a/content/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization.md b/content/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization.md index 341e98e8a2ef..6c138d3d4748 100644 --- a/content/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization.md +++ b/content/code-security/security-advisories/repository-security-advisories/configuring-private-vulnerability-reporting-for-an-organization.md @@ -6,7 +6,6 @@ versions: fpt: '*' ghec: '*' type: how_to -miniTocMaxHeadingLevel: 3 topics: - Security advisories - Vulnerabilities diff --git a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md b/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md index c4cdd689686d..6821cffd982d 100644 --- a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md +++ b/content/code-security/supply-chain-security/understanding-your-software-supply-chain/about-supply-chain-security.md @@ -1,7 +1,6 @@ --- title: About supply chain security intro: '{% data variables.product.product_name %} helps you secure your supply chain, from understanding the dependencies in your environment, to knowing about vulnerabilities in those dependencies{% ifversion fpt or ghec or ghes %}, and patching them{% endif %}.' -miniTocMaxHeadingLevel: 3 shortTitle: Supply chain security redirect_from: - /code-security/supply-chain-security/managing-vulnerabilities-in-your-projects-dependencies diff --git a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review.md b/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review.md index 3902704ff409..81e56052bd7d 100644 --- a/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review.md +++ b/content/code-security/supply-chain-security/understanding-your-software-supply-chain/configuring-dependency-review.md @@ -1,7 +1,6 @@ --- title: Configuring dependency review intro: You can use dependency review to catch vulnerabilities before they are added to your project. -miniTocMaxHeadingLevel: 3 shortTitle: Configure dependency review versions: fpt: '*' diff --git a/content/codespaces/codespaces-reference/security-in-github-codespaces.md b/content/codespaces/codespaces-reference/security-in-github-codespaces.md index 6e5244986702..6719a23d757c 100644 --- a/content/codespaces/codespaces-reference/security-in-github-codespaces.md +++ b/content/codespaces/codespaces-reference/security-in-github-codespaces.md @@ -1,7 +1,6 @@ --- title: Security in GitHub Codespaces intro: 'Overview of the {% data variables.product.prodname_github_codespaces %} security architecture, with guidelines to help you maintain security and minimize the risk of attack.' -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/codespaces/developing-in-codespaces/creating-a-codespace-from-a-template.md b/content/codespaces/developing-in-codespaces/creating-a-codespace-from-a-template.md index 52b0e99627f3..18ec082af2b2 100644 --- a/content/codespaces/developing-in-codespaces/creating-a-codespace-from-a-template.md +++ b/content/codespaces/developing-in-codespaces/creating-a-codespace-from-a-template.md @@ -10,7 +10,6 @@ topics: - Fundamentals - Developer shortTitle: Create a codespace from a template -miniTocMaxHeadingLevel: 3 --- ## About templates for {% data variables.product.prodname_github_codespaces %} diff --git a/content/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace.md b/content/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace.md index 996e65d49c8c..1bf56fc527c3 100644 --- a/content/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace.md +++ b/content/codespaces/developing-in-codespaces/forwarding-ports-in-your-codespace.md @@ -2,7 +2,6 @@ title: Forwarding ports in your codespace shortTitle: Forward ports intro: '{% data reusables.codespaces.about-port-forwarding %}' -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/codespaces/developing-in-codespaces/using-github-codespaces-in-your-jetbrains-ide.md b/content/codespaces/developing-in-codespaces/using-github-codespaces-in-your-jetbrains-ide.md index ddc78254f023..708e659e9325 100644 --- a/content/codespaces/developing-in-codespaces/using-github-codespaces-in-your-jetbrains-ide.md +++ b/content/codespaces/developing-in-codespaces/using-github-codespaces-in-your-jetbrains-ide.md @@ -2,7 +2,6 @@ title: Using GitHub Codespaces in your JetBrains IDE shortTitle: JetBrains IDEs intro: You can use the JetBrains Gateway to connect to your codespace and work in your favorite JetBrains IDE. -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/codespaces/developing-in-codespaces/using-github-codespaces-with-github-cli.md b/content/codespaces/developing-in-codespaces/using-github-codespaces-with-github-cli.md index 86df17519c52..ee74db1134db 100644 --- a/content/codespaces/developing-in-codespaces/using-github-codespaces-with-github-cli.md +++ b/content/codespaces/developing-in-codespaces/using-github-codespaces-with-github-cli.md @@ -2,7 +2,6 @@ title: Using GitHub Codespaces with GitHub CLI shortTitle: GitHub CLI intro: 'You can work with {% data variables.product.prodname_github_codespaces %} directly from your command line by using `gh`, the {% data variables.product.product_name %} command line interface.' -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/codespaces/prebuilding-your-codespaces/managing-prebuilds.md b/content/codespaces/prebuilding-your-codespaces/managing-prebuilds.md index f1e3ffb21435..785dc50ceae9 100644 --- a/content/codespaces/prebuilding-your-codespaces/managing-prebuilds.md +++ b/content/codespaces/prebuilding-your-codespaces/managing-prebuilds.md @@ -8,7 +8,6 @@ versions: type: how_to topics: - Codespaces -miniTocMaxHeadingLevel: 3 --- ## Checking, changing, and deleting your prebuild configurations diff --git a/content/codespaces/the-githubdev-web-based-editor.md b/content/codespaces/the-githubdev-web-based-editor.md index ca73e8e6f17f..5ed82b190f33 100644 --- a/content/codespaces/the-githubdev-web-based-editor.md +++ b/content/codespaces/the-githubdev-web-based-editor.md @@ -5,7 +5,6 @@ intro: 'You can use the {% data variables.codespaces.serverless %} web-based edi versions: feature: githubdev-editor type: how_to -miniTocMaxHeadingLevel: 3 topics: - Codespaces - Visual Studio Code diff --git a/content/codespaces/troubleshooting/troubleshooting-github-codespaces-clients.md b/content/codespaces/troubleshooting/troubleshooting-github-codespaces-clients.md index 71a255e8ffaf..2586ffdf88f2 100644 --- a/content/codespaces/troubleshooting/troubleshooting-github-codespaces-clients.md +++ b/content/codespaces/troubleshooting/troubleshooting-github-codespaces-clients.md @@ -2,7 +2,6 @@ title: Troubleshooting GitHub Codespaces clients shortTitle: Codespaces clients intro: 'This article provides troubleshooting information for issues you may encounter with the client you use for {% data variables.product.prodname_github_codespaces %}.' -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/codespaces/troubleshooting/troubleshooting-prebuilds.md b/content/codespaces/troubleshooting/troubleshooting-prebuilds.md index c6daa1da6d89..b37ac0ece15f 100644 --- a/content/codespaces/troubleshooting/troubleshooting-prebuilds.md +++ b/content/codespaces/troubleshooting/troubleshooting-prebuilds.md @@ -8,7 +8,6 @@ versions: type: reference topics: - Codespaces -miniTocMaxHeadingLevel: 3 --- For more information about {% data variables.product.prodname_github_codespaces %} prebuilds, see "[AUTOTITLE](/codespaces/prebuilding-your-codespaces)." diff --git a/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md b/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md index 16104bcdc207..10b60a2570ca 100644 --- a/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md +++ b/content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md @@ -5,7 +5,6 @@ versions: fpt: '*' ghec: '*' ghes: '> 3.7' -miniTocMaxHeadingLevel: 3 topics: - Community --- diff --git a/content/copilot/configuring-github-copilot/configuring-github-copilot-settings-in-your-organization.md b/content/copilot/configuring-github-copilot/configuring-github-copilot-settings-in-your-organization.md index a7450e5ca14d..b3753554c0ca 100644 --- a/content/copilot/configuring-github-copilot/configuring-github-copilot-settings-in-your-organization.md +++ b/content/copilot/configuring-github-copilot/configuring-github-copilot-settings-in-your-organization.md @@ -2,7 +2,6 @@ title: Configuring GitHub Copilot settings in your organization intro: 'You can configure {% data variables.product.prodname_copilot %} in your organization, including granting and revoking access to individuals and teams, and determining whether to block suggestions that match public code.' product: '{% data reusables.gated-features.copilot %}' -miniTocMaxHeadingLevel: 3 permissions: 'Organization owners and members with admin permissions can configure {% data variables.product.prodname_copilot %} in their organization.' versions: feature: copilot diff --git a/content/copilot/configuring-github-copilot/configuring-github-copilot-settings-on-githubcom.md b/content/copilot/configuring-github-copilot/configuring-github-copilot-settings-on-githubcom.md index 22d15b370255..092dbe3c96c9 100644 --- a/content/copilot/configuring-github-copilot/configuring-github-copilot-settings-on-githubcom.md +++ b/content/copilot/configuring-github-copilot/configuring-github-copilot-settings-on-githubcom.md @@ -3,7 +3,6 @@ title: Configuring GitHub Copilot settings on GitHub.com intro: 'You can configure {% data variables.product.prodname_copilot %}''s behavior on {% data variables.product.prodname_dotcom_the_website %}, which affects how {% data variables.product.prodname_copilot %} functions in any IDE that you use.' product: '{% data reusables.gated-features.copilot %}' permissions: 'People with individual {% data variables.product.prodname_copilot %} subscriptions can configure their settings on {% data variables.product.prodname_dotcom_the_website %}.' -miniTocMaxHeadingLevel: 3 topics: - Copilot versions: diff --git a/content/desktop/installing-and-configuring-github-desktop/overview/getting-started-with-github-desktop.md b/content/desktop/installing-and-configuring-github-desktop/overview/getting-started-with-github-desktop.md index 63229671776d..bbd0fd105eb1 100644 --- a/content/desktop/installing-and-configuring-github-desktop/overview/getting-started-with-github-desktop.md +++ b/content/desktop/installing-and-configuring-github-desktop/overview/getting-started-with-github-desktop.md @@ -1,7 +1,6 @@ --- title: Getting started with GitHub Desktop intro: 'Learn how to set up, authenticate, and configure {% data variables.product.prodname_desktop %} to allow you to contribute to projects directly from your machine.' -miniTocMaxHeadingLevel: 3 versions: fpt: '*' redirect_from: diff --git a/content/desktop/installing-and-configuring-github-desktop/overview/supported-operating-systems.md b/content/desktop/installing-and-configuring-github-desktop/overview/supported-operating-systems.md index 102c97366c75..8f4c3b4d670b 100644 --- a/content/desktop/installing-and-configuring-github-desktop/overview/supported-operating-systems.md +++ b/content/desktop/installing-and-configuring-github-desktop/overview/supported-operating-systems.md @@ -1,7 +1,6 @@ --- title: Supported operating systems intro: 'You can use {% data variables.product.prodname_desktop %} on any supported operating system.' -miniTocMaxHeadingLevel: 3 redirect_from: - /desktop/getting-started-with-github-desktop/supported-operating-systems - /desktop/installing-and-configuring-github-desktop/supported-operating-systems diff --git a/content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/use-autograding.md b/content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/use-autograding.md index 432f93e00e71..575fe48aac4d 100644 --- a/content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/use-autograding.md +++ b/content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/use-autograding.md @@ -1,7 +1,6 @@ --- title: Use autograding intro: You can automatically provide feedback on code submissions from your students by configuring tests to run in the assignment repository. -miniTocMaxHeadingLevel: 3 versions: fpt: '*' permissions: 'Organization owners who are admins for a classroom can set up and use autograding on assignments in a classroom. {% data reusables.classroom.classroom-admins-link %}' diff --git a/content/get-started/quickstart/communicating-on-github.md b/content/get-started/quickstart/communicating-on-github.md index a8c7005a8c47..939dd141e526 100644 --- a/content/get-started/quickstart/communicating-on-github.md +++ b/content/get-started/quickstart/communicating-on-github.md @@ -1,7 +1,6 @@ --- title: Communicating on GitHub intro: 'You can discuss specific projects and changes, as well as broader ideas or team goals, using different types of discussions on {% data variables.product.product_name %}.' -miniTocMaxHeadingLevel: 3 redirect_from: - /github/collaborating-with-issues-and-pull-requests/getting-started/quickstart-for-communicating-on-github - /articles/about-discussions-in-issues-and-pull-requests diff --git a/content/get-started/quickstart/github-flow.md b/content/get-started/quickstart/github-flow.md index ebdbdaa58b71..5c13bebeb468 100644 --- a/content/get-started/quickstart/github-flow.md +++ b/content/get-started/quickstart/github-flow.md @@ -16,7 +16,6 @@ versions: topics: - Pull requests - Fundamentals -miniTocMaxHeadingLevel: 3 --- ## Introduction diff --git a/content/get-started/quickstart/hello-world.md b/content/get-started/quickstart/hello-world.md index 6da8580ec648..06933afd6674 100644 --- a/content/get-started/quickstart/hello-world.md +++ b/content/get-started/quickstart/hello-world.md @@ -10,7 +10,6 @@ type: quick_start topics: - Pull requests - Fundamentals -miniTocMaxHeadingLevel: 3 --- ## Introduction diff --git a/content/get-started/using-git/about-git.md b/content/get-started/using-git/about-git.md index f68214766dc7..d47ec5e759e0 100644 --- a/content/get-started/using-git/about-git.md +++ b/content/get-started/using-git/about-git.md @@ -10,7 +10,6 @@ type: overview topics: - Fundamentals - Git -miniTocMaxHeadingLevel: 3 --- ## About version control and Git diff --git a/content/graphql/reference/queries.md b/content/graphql/reference/queries.md index 62dc8f4a3af5..4243f8e67575 100644 --- a/content/graphql/reference/queries.md +++ b/content/graphql/reference/queries.md @@ -1,7 +1,6 @@ --- title: Queries intro: The query type defines GraphQL operations that retrieve data from the server. -miniTocMaxHeadingLevel: 3 redirect_from: - /v4/query - /v4/reference/query diff --git a/content/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically.md b/content/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically.md index 50a0c295b6a5..8a2871db4d1b 100644 --- a/content/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically.md +++ b/content/issues/planning-and-tracking-with-projects/automating-your-project/adding-items-automatically.md @@ -1,7 +1,6 @@ --- title: Adding items automatically intro: You can configure your project to automatically add items from a repository that match a filter. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-auto-add type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically.md b/content/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically.md index 2482b1bb758e..331a7b8f5490 100644 --- a/content/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically.md +++ b/content/issues/planning-and-tracking-with-projects/automating-your-project/archiving-items-automatically.md @@ -2,7 +2,6 @@ title: Archiving items automatically shortTitle: Archiving automatically intro: You can configure your project's built-in workflows to automatically archive items that meet specific criteria. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-auto-archive type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions.md b/content/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions.md index 8fc0ec61a47e..0e0c47eafa9e 100644 --- a/content/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions.md +++ b/content/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions.md @@ -2,7 +2,6 @@ title: 'Automating {% data variables.product.prodname_projects_v2 %} using Actions' shortTitle: Automating with Actions intro: 'You can use {% data variables.product.prodname_actions %} to automate your projects.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects.md b/content/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects.md index 2624ea5b0fc6..6bf31902f508 100644 --- a/content/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects.md +++ b/content/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects.md @@ -2,7 +2,6 @@ title: 'Using the API to manage {% data variables.product.prodname_projects_v2 %}' shortTitle: Automating with the API intro: You can use the GraphQL API to automate your projects. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations.md b/content/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations.md index 3ab576bbe201..d04cae099d01 100644 --- a/content/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations.md +++ b/content/issues/planning-and-tracking-with-projects/automating-your-project/using-the-built-in-automations.md @@ -2,7 +2,6 @@ title: Using the built-in automations shortTitle: Using built-in automations intro: You can use built-in workflows to automate your projects. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-workflows type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/creating-projects/copying-an-existing-project.md b/content/issues/planning-and-tracking-with-projects/creating-projects/copying-an-existing-project.md index be662c9e0700..d9649da4a971 100644 --- a/content/issues/planning-and-tracking-with-projects/creating-projects/copying-an-existing-project.md +++ b/content/issues/planning-and-tracking-with-projects/creating-projects/copying-an-existing-project.md @@ -2,7 +2,6 @@ title: 'Copying an existing {% data variables.projects.project_v2 %}' shortTitle: Copying a project intro: You can use an existing project as a template by copying it. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-copy-a-project type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/creating-projects/creating-a-project.md b/content/issues/planning-and-tracking-with-projects/creating-projects/creating-a-project.md index 3d1126fe0e8d..d1f9a197d097 100644 --- a/content/issues/planning-and-tracking-with-projects/creating-projects/creating-a-project.md +++ b/content/issues/planning-and-tracking-with-projects/creating-projects/creating-a-project.md @@ -1,7 +1,6 @@ --- title: 'Creating a {% data variables.projects.project_v2 %}' intro: Learn how to create an organization or user project. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/creating-projects/migrating-from-projects-classic.md b/content/issues/planning-and-tracking-with-projects/creating-projects/migrating-from-projects-classic.md index 1e8806483445..e248c25acbda 100644 --- a/content/issues/planning-and-tracking-with-projects/creating-projects/migrating-from-projects-classic.md +++ b/content/issues/planning-and-tracking-with-projects/creating-projects/migrating-from-projects-classic.md @@ -1,7 +1,6 @@ --- title: 'Migrating from {% data variables.product.prodname_projects_v1 %}' intro: 'You can migrate your {% data variables.projects.projects_v1_board %} to the new {% data variables.product.prodname_projects_v2 %} experience.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-migration redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/changing-the-layout-of-a-view.md b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/changing-the-layout-of-a-view.md index acaba4fe6428..d44ec8c9c55e 100644 --- a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/changing-the-layout-of-a-view.md +++ b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/changing-the-layout-of-a-view.md @@ -2,7 +2,6 @@ title: Changing the layout of a view shortTitle: Changing the layout intro: 'You can view your project as a high-density table{% ifversion projects-v2-roadmaps %}, as a kanban board, or as a timeline-style roadmap{% else %} or as a kanban board{% endif %}.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-board-layout.md b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-board-layout.md index 8a3b024da2ac..07b133fa2a28 100644 --- a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-board-layout.md +++ b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-board-layout.md @@ -2,7 +2,6 @@ title: Customizing the board layout shortTitle: Customizing boards intro: You can use the board layout to arrange your project's items over customizable columns. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-roadmap-layout.md b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-roadmap-layout.md index b61e02729680..3eaf2ef80658 100644 --- a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-roadmap-layout.md +++ b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-roadmap-layout.md @@ -2,7 +2,6 @@ title: Customizing the roadmap layout shortTitle: Customizing roadmaps intro: You can use the roadmap layout to view your project's items on a timeline. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-roadmaps type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-table-layout.md b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-table-layout.md index 808e8850473b..fe0d0357655a 100644 --- a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-table-layout.md +++ b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-table-layout.md @@ -2,7 +2,6 @@ title: Customizing the table layout shortTitle: Customizing tables intro: 'You can use the table layout to build a spreadsheet using your project''s items, {% data variables.product.company_short %} metadata, and your custom fields.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects.md b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects.md index b11a59e7a8bb..81b6d7a84587 100644 --- a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects.md +++ b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/filtering-projects.md @@ -1,7 +1,6 @@ --- title: 'Filtering {% data variables.projects.projects_v2 %}' intro: Use filters to choose which items appear in your project's views. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/managing-your-views.md b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/managing-your-views.md index a9574d3ffe93..6d5335fe1325 100644 --- a/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/managing-your-views.md +++ b/content/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/managing-your-views.md @@ -1,7 +1,6 @@ --- title: Managing your views intro: 'Learn how to create, save, and manage your project views.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects.md b/content/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects.md index b61ddb010c37..9fad641063d9 100644 --- a/content/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects.md +++ b/content/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects.md @@ -2,7 +2,6 @@ title: 'About {% data variables.product.prodname_projects_v2 %}' intro: '{% data variables.product.prodname_projects_v2 %} is an adaptable, flexible tool for planning and tracking work on {% data variables.product.company_short %}.' allowTitleToDifferFromFilename: true -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/learning-about-projects/best-practices-for-projects.md b/content/issues/planning-and-tracking-with-projects/learning-about-projects/best-practices-for-projects.md index 8cedee44ab01..51855836609e 100644 --- a/content/issues/planning-and-tracking-with-projects/learning-about-projects/best-practices-for-projects.md +++ b/content/issues/planning-and-tracking-with-projects/learning-about-projects/best-practices-for-projects.md @@ -2,7 +2,6 @@ title: 'Best practices for {% data variables.product.prodname_projects_v2 %}' intro: Learn tips for managing your projects. allowTitleToDifferFromFilename: true -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/learning-about-projects/quickstart-for-projects.md b/content/issues/planning-and-tracking-with-projects/learning-about-projects/quickstart-for-projects.md index 5f1b2c0b0071..8d56790e1117 100644 --- a/content/issues/planning-and-tracking-with-projects/learning-about-projects/quickstart-for-projects.md +++ b/content/issues/planning-and-tracking-with-projects/learning-about-projects/quickstart-for-projects.md @@ -2,7 +2,6 @@ title: 'Quickstart for {% data variables.product.prodname_projects_v2 %}' intro: 'Experience the speed, flexibility, and customization of {% data variables.product.prodname_projects_v2 %} by creating a project in this interactive guide.' allowTitleToDifferFromFilename: true -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/adding-items-to-your-project.md b/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/adding-items-to-your-project.md index 292120f0638d..542a8b0b39da 100644 --- a/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/adding-items-to-your-project.md +++ b/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/adding-items-to-your-project.md @@ -2,7 +2,6 @@ title: 'Adding items to your {% data variables.projects.project_v2 %}' shortTitle: Adding items intro: 'Learn how to add pull requests, issues, and draft issues to your projects individually or in bulk.' -miniTocMaxHeadingLevel: 4 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project.md b/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project.md index 0d3a11d35042..cbc004768058 100644 --- a/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project.md +++ b/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/archiving-items-from-your-project.md @@ -2,7 +2,6 @@ title: 'Archiving items from your {% data variables.projects.project_v2 %}' shortTitle: Archiving items intro: 'You can archive items, keeping them available to restore, or permanently delete them.' -miniTocMaxHeadingLevel: 2 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/converting-draft-issues-to-issues.md b/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/converting-draft-issues-to-issues.md index b445e8875f8d..def2bff3d774 100644 --- a/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/converting-draft-issues-to-issues.md +++ b/content/issues/planning-and-tracking-with-projects/managing-items-in-your-project/converting-draft-issues-to-issues.md @@ -2,7 +2,6 @@ title: Converting draft issues to issues shortTitle: Converting draft issues intro: Learn how to convert draft issues into issues. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/managing-your-project/adding-your-project-to-a-repository.md b/content/issues/planning-and-tracking-with-projects/managing-your-project/adding-your-project-to-a-repository.md index c97480de57af..61fe8d4af028 100644 --- a/content/issues/planning-and-tracking-with-projects/managing-your-project/adding-your-project-to-a-repository.md +++ b/content/issues/planning-and-tracking-with-projects/managing-your-project/adding-your-project-to-a-repository.md @@ -2,7 +2,6 @@ title: 'Adding your {% data variables.projects.project_v2 %} to a repository' shortTitle: 'Adding a {% data variables.projects.project_v2 %} to a repo' intro: 'You can add your {% data variables.projects.project_v2 %} to a repository to make it accessible from that repository.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/managing-your-project/adding-your-project-to-a-team.md b/content/issues/planning-and-tracking-with-projects/managing-your-project/adding-your-project-to-a-team.md index 19cbaeb5b607..f3dbe4b68d4f 100644 --- a/content/issues/planning-and-tracking-with-projects/managing-your-project/adding-your-project-to-a-team.md +++ b/content/issues/planning-and-tracking-with-projects/managing-your-project/adding-your-project-to-a-team.md @@ -2,7 +2,6 @@ title: 'Adding your {% data variables.projects.project_v2 %} to a team' shortTitle: 'Adding a {% data variables.projects.project_v2 %} to a team' intro: You can add projects to teams to manage permissions and improve project discoverability. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-add-to-team type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/managing-your-project/closing-and-deleting-your-projects.md b/content/issues/planning-and-tracking-with-projects/managing-your-project/closing-and-deleting-your-projects.md index f3dd2e2a4e7f..05d3a1a82fe0 100644 --- a/content/issues/planning-and-tracking-with-projects/managing-your-project/closing-and-deleting-your-projects.md +++ b/content/issues/planning-and-tracking-with-projects/managing-your-project/closing-and-deleting-your-projects.md @@ -2,7 +2,6 @@ title: 'Closing and deleting your {% data variables.projects.projects_v2 %}' shortTitle: 'Closing and deleting {% data variables.projects.projects_v2 %}' intro: 'Learn about closing, re-opening, and permanently deleting a {% data variables.projects.project_v2 %}.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/managing-your-project/managing-access-to-your-projects.md b/content/issues/planning-and-tracking-with-projects/managing-your-project/managing-access-to-your-projects.md index 0528e972b07d..16f5252b31b9 100644 --- a/content/issues/planning-and-tracking-with-projects/managing-your-project/managing-access-to-your-projects.md +++ b/content/issues/planning-and-tracking-with-projects/managing-your-project/managing-access-to-your-projects.md @@ -2,7 +2,6 @@ title: 'Managing access to your {% data variables.projects.projects_v2 %}' shortTitle: 'Managing {% data variables.projects.project_v2 %} access' intro: 'Learn how to manage team and individual access to your {% data variables.projects.project_v2 %}.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/managing-your-project/managing-visibility-of-your-projects.md b/content/issues/planning-and-tracking-with-projects/managing-your-project/managing-visibility-of-your-projects.md index 7e1fd868ed23..c2ff2f8a4564 100644 --- a/content/issues/planning-and-tracking-with-projects/managing-your-project/managing-visibility-of-your-projects.md +++ b/content/issues/planning-and-tracking-with-projects/managing-your-project/managing-visibility-of-your-projects.md @@ -2,7 +2,6 @@ title: 'Managing visibility of your {% data variables.projects.projects_v2 %}' shortTitle: 'Managing {% data variables.projects.project_v2 %} visibility' intro: 'Learn about setting your {% data variables.projects.project_v2 %} to private or public visibility.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/understanding-fields/about-date-fields.md b/content/issues/planning-and-tracking-with-projects/understanding-fields/about-date-fields.md index 62bc4d2405c0..b4316a7d5ca0 100644 --- a/content/issues/planning-and-tracking-with-projects/understanding-fields/about-date-fields.md +++ b/content/issues/planning-and-tracking-with-projects/understanding-fields/about-date-fields.md @@ -2,7 +2,6 @@ title: About date fields shortTitle: About date fields intro: You can create custom date fields that can be set by typing a date or using a calendar. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/understanding-fields/about-iteration-fields.md b/content/issues/planning-and-tracking-with-projects/understanding-fields/about-iteration-fields.md index 7ba29f7e8897..23780913326e 100644 --- a/content/issues/planning-and-tracking-with-projects/understanding-fields/about-iteration-fields.md +++ b/content/issues/planning-and-tracking-with-projects/understanding-fields/about-iteration-fields.md @@ -2,7 +2,6 @@ title: About iteration fields shortTitle: About iteration fields intro: You can create iterations to plan upcoming work and group items. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/understanding-fields/about-single-select-fields.md b/content/issues/planning-and-tracking-with-projects/understanding-fields/about-single-select-fields.md index 40efdb6048e6..34a8b2c2dfd8 100644 --- a/content/issues/planning-and-tracking-with-projects/understanding-fields/about-single-select-fields.md +++ b/content/issues/planning-and-tracking-with-projects/understanding-fields/about-single-select-fields.md @@ -2,7 +2,6 @@ title: About single select fields shortTitle: About single select fields intro: 'You can create single select fields with multiple options{% ifversion projects-v2-colorful-selects %}, each with a description and a color,{% endif %} that can be selected from a dropdown menu.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/understanding-fields/about-text-and-number-fields.md b/content/issues/planning-and-tracking-with-projects/understanding-fields/about-text-and-number-fields.md index 46f0c013bf5a..da8c623a5259 100644 --- a/content/issues/planning-and-tracking-with-projects/understanding-fields/about-text-and-number-fields.md +++ b/content/issues/planning-and-tracking-with-projects/understanding-fields/about-text-and-number-fields.md @@ -2,7 +2,6 @@ title: About text and number fields shortTitle: About text and number fields intro: You can add custom text and number fields to your project. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/understanding-fields/about-tracks-and-tracked-by-fields.md b/content/issues/planning-and-tracking-with-projects/understanding-fields/about-tracks-and-tracked-by-fields.md index 17d4583d9ccc..f1f7d8e9f790 100644 --- a/content/issues/planning-and-tracking-with-projects/understanding-fields/about-tracks-and-tracked-by-fields.md +++ b/content/issues/planning-and-tracking-with-projects/understanding-fields/about-tracks-and-tracked-by-fields.md @@ -2,7 +2,6 @@ title: About Tracks and Tracked by fields shortTitle: About Tracks and Tracked by fields intro: You can view the subtasks of the issues in your projects. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-tasklists type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/understanding-fields/deleting-custom-fields.md b/content/issues/planning-and-tracking-with-projects/understanding-fields/deleting-custom-fields.md index 11773863bb42..d88754b2f67c 100644 --- a/content/issues/planning-and-tracking-with-projects/understanding-fields/deleting-custom-fields.md +++ b/content/issues/planning-and-tracking-with-projects/understanding-fields/deleting-custom-fields.md @@ -1,7 +1,6 @@ --- title: Deleting custom fields intro: 'Learn how to delete a custom field from your {% data variables.projects.project_v2 %}.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/understanding-fields/renaming-custom-fields.md b/content/issues/planning-and-tracking-with-projects/understanding-fields/renaming-custom-fields.md index 16e6feec3249..a3ab38ab374e 100644 --- a/content/issues/planning-and-tracking-with-projects/understanding-fields/renaming-custom-fields.md +++ b/content/issues/planning-and-tracking-with-projects/understanding-fields/renaming-custom-fields.md @@ -1,7 +1,6 @@ --- title: Renaming custom fields intro: 'Learn about renaming existing custom fields in your {% data variables.projects.project_v2 %}.' -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2 type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/about-insights-for-projects.md b/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/about-insights-for-projects.md index 65e8a01e9b74..8cc4f166a41a 100644 --- a/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/about-insights-for-projects.md +++ b/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/about-insights-for-projects.md @@ -1,7 +1,6 @@ --- title: 'About insights for {% data variables.product.prodname_projects_v2 %}' intro: You can view and customize charts that are built from your project's data. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-insights redirect_from: diff --git a/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/configuring-charts.md b/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/configuring-charts.md index cd53bce9ea14..3dfe75a95b6c 100644 --- a/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/configuring-charts.md +++ b/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/configuring-charts.md @@ -1,7 +1,6 @@ --- title: Configuring charts intro: Learn how to configure your charts and filter data from your project. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-insights type: tutorial diff --git a/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/creating-charts.md b/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/creating-charts.md index 3efcc03565c9..4c7579eb2778 100644 --- a/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/creating-charts.md +++ b/content/issues/planning-and-tracking-with-projects/viewing-insights-from-your-project/creating-charts.md @@ -1,7 +1,6 @@ --- title: Creating charts intro: Learn how to create new charts to save your configurations. -miniTocMaxHeadingLevel: 3 versions: feature: projects-v2-insights type: tutorial diff --git a/content/issues/tracking-your-work-with-issues/about-tasklists.md b/content/issues/tracking-your-work-with-issues/about-tasklists.md index d03aaf6533bf..4c94b044ceef 100644 --- a/content/issues/tracking-your-work-with-issues/about-tasklists.md +++ b/content/issues/tracking-your-work-with-issues/about-tasklists.md @@ -3,7 +3,6 @@ title: About Tasklists intro: You can use Tasklists to divide your issues into smaller subtasks. versions: feature: projects-v2-tasklists -miniTocMaxHeadingLevel: 3 redirect_from: - /early-access/issues/about-tasklists --- diff --git a/content/issues/tracking-your-work-with-issues/quickstart.md b/content/issues/tracking-your-work-with-issues/quickstart.md index 15ac0e5cbc13..5f0627499d7e 100644 --- a/content/issues/tracking-your-work-with-issues/quickstart.md +++ b/content/issues/tracking-your-work-with-issues/quickstart.md @@ -2,7 +2,6 @@ title: Quickstart for GitHub Issues intro: 'Follow this brief interactive guide to learn about {% data variables.product.prodname_github_issues %}.' allowTitleToDifferFromFilename: true -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghes: '*' diff --git a/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md b/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md index c37dc515dcf1..e82242ec1209 100644 --- a/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md +++ b/content/organizations/keeping-your-organization-secure/managing-security-settings-for-your-organization/reviewing-the-audit-log-for-your-organization.md @@ -1,7 +1,6 @@ --- title: Reviewing the audit log for your organization intro: 'The audit log allows organization admins to quickly review the actions performed by members of your organization. It includes details such as who performed the action, what the action was, and when it was performed.' -miniTocMaxHeadingLevel: 3 redirect_from: - /articles/reviewing-the-audit-log-for-your-organization - /github/setting-up-and-managing-organizations-and-teams/reviewing-the-audit-log-for-your-organization diff --git a/content/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization.md b/content/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization.md index d50a2e347735..905c47b36aa4 100644 --- a/content/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization.md +++ b/content/organizations/managing-organization-settings/disabling-or-limiting-github-actions-for-your-organization.md @@ -12,7 +12,6 @@ topics: - Organizations - Teams shortTitle: Disable or limit actions -miniTocMaxHeadingLevel: 3 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization.md b/content/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization.md index c123b1644514..304ca52327bc 100644 --- a/content/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization.md +++ b/content/organizations/managing-saml-single-sign-on-for-your-organization/managing-team-synchronization-for-your-organization.md @@ -7,7 +7,6 @@ redirect_from: - /github/articles/synchronizing-teams-between-okta-and-github - /github/setting-up-and-managing-organizations-and-teams/managing-team-synchronization-for-your-organization permissions: Organization owners can manage team synchronization for an organization. -miniTocMaxHeadingLevel: 3 versions: ghec: '*' topics: diff --git a/content/organizations/managing-user-access-to-your-organizations-repositories/repository-roles-for-an-organization.md b/content/organizations/managing-user-access-to-your-organizations-repositories/repository-roles-for-an-organization.md index 3fd5b4fc3ec2..d5cd8f7dd8f0 100644 --- a/content/organizations/managing-user-access-to-your-organizations-repositories/repository-roles-for-an-organization.md +++ b/content/organizations/managing-user-access-to-your-organizations-repositories/repository-roles-for-an-organization.md @@ -1,7 +1,6 @@ --- title: Repository roles for an organization intro: 'You can customize access to each repository in your organization by assigning granular roles, giving people access to the features and tasks they need.' -miniTocMaxHeadingLevel: 3 redirect_from: - /articles/repository-permission-levels-for-an-organization-early-access-program - /articles/repository-permission-levels-for-an-organization diff --git a/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md b/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md index 26ca83cce718..9b76b79d57a3 100644 --- a/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md +++ b/content/repositories/managing-your-repositorys-settings-and-features/enabling-features-for-your-repository/managing-github-actions-settings-for-a-repository.md @@ -17,7 +17,6 @@ topics: - Permissions - Pull requests shortTitle: Manage GitHub Actions settings -miniTocMaxHeadingLevel: 3 --- {% data reusables.actions.enterprise-beta %} diff --git a/content/rest/actions/index.md b/content/rest/actions/index.md index 5cbd889bd322..b0b7a51b0a05 100644 --- a/content/rest/actions/index.md +++ b/content/rest/actions/index.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /artifacts - /cache diff --git a/content/rest/activity/events.md b/content/rest/activity/events.md index b06a6411fa20..2587f4d9eaa9 100644 --- a/content/rest/activity/events.md +++ b/content/rest/activity/events.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/activity/feeds.md b/content/rest/activity/feeds.md index 6b955c44abf2..b63f669fae6b 100644 --- a/content/rest/activity/feeds.md +++ b/content/rest/activity/feeds.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/activity/index.md b/content/rest/activity/index.md index d76a2939ab8b..85abe2c1ca3c 100644 --- a/content/rest/activity/index.md +++ b/content/rest/activity/index.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /events - /feeds diff --git a/content/rest/activity/notifications.md b/content/rest/activity/notifications.md index d4d9cf39ec33..961a1b143ac9 100644 --- a/content/rest/activity/notifications.md +++ b/content/rest/activity/notifications.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/activity/starring.md b/content/rest/activity/starring.md index 23473fb9c831..17b7837951c6 100644 --- a/content/rest/activity/starring.md +++ b/content/rest/activity/starring.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/activity/watching.md b/content/rest/activity/watching.md index e2d4014eb64f..e51885f493e7 100644 --- a/content/rest/activity/watching.md +++ b/content/rest/activity/watching.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/announcement-banners/enterprises.md b/content/rest/announcement-banners/enterprises.md index 308d54453cc7..2d3c3cbff64c 100644 --- a/content/rest/announcement-banners/enterprises.md +++ b/content/rest/announcement-banners/enterprises.md @@ -4,7 +4,6 @@ shortTitle: Enterprise intro: 'The Enterprise Announcement Banners API allows you to get, set, and remove the announcement banner for your enterprise.' versions: ghec: '*' -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/announcement-banners/index.md b/content/rest/announcement-banners/index.md index 8b2a7d149c55..300259ac9cb4 100644 --- a/content/rest/announcement-banners/index.md +++ b/content/rest/announcement-banners/index.md @@ -5,7 +5,6 @@ versions: ghec: '*' ghes: '>=3.8' ghae: '>=3.8' -miniTocMaxHeadingLevel: 3 children: - /enterprises - /organizations diff --git a/content/rest/announcement-banners/organizations.md b/content/rest/announcement-banners/organizations.md index 283fd5bbc71e..5d75b6c81f29 100644 --- a/content/rest/announcement-banners/organizations.md +++ b/content/rest/announcement-banners/organizations.md @@ -6,7 +6,6 @@ versions: ghec: '*' ghes: '>=3.8' ghae: '>=3.8' -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/apps/apps.md b/content/rest/apps/apps.md index 7b627434dd63..83766c7521ac 100644 --- a/content/rest/apps/apps.md +++ b/content/rest/apps/apps.md @@ -4,7 +4,6 @@ allowTitleToDifferFromFilename: true intro: 'Use the REST API to interact with {% data variables.product.prodname_github_apps %}' topics: - API -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghes: '*' diff --git a/content/rest/apps/index.md b/content/rest/apps/index.md index a21c1b0439dc..6eaf420822c8 100644 --- a/content/rest/apps/index.md +++ b/content/rest/apps/index.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /apps - /installations diff --git a/content/rest/apps/installations.md b/content/rest/apps/installations.md index 9df0701d2fc1..a91b1bdaef1e 100644 --- a/content/rest/apps/installations.md +++ b/content/rest/apps/installations.md @@ -5,7 +5,6 @@ shortTitle: Installations intro: 'Use the REST API to get information about {% data variables.product.prodname_github_app %} installations and perform actions within those installations.' topics: - API -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghes: '*' diff --git a/content/rest/apps/marketplace.md b/content/rest/apps/marketplace.md index 90150beefe25..27f180c11f91 100644 --- a/content/rest/apps/marketplace.md +++ b/content/rest/apps/marketplace.md @@ -5,7 +5,6 @@ shortTitle: Marketplace intro: 'Use the REST API to interact with {% data variables.product.prodname_marketplace %}' topics: - API -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/rest/apps/oauth-applications.md b/content/rest/apps/oauth-applications.md index 04b3fe300ea6..1674a4a26ae6 100644 --- a/content/rest/apps/oauth-applications.md +++ b/content/rest/apps/oauth-applications.md @@ -4,7 +4,6 @@ allowTitleToDifferFromFilename: true intro: 'Use the REST API to interact with {% data variables.product.prodname_oauth_apps %}' topics: - API -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghes: '*' diff --git a/content/rest/apps/webhooks.md b/content/rest/apps/webhooks.md index e7b80b6fda67..f20b1984f1a1 100644 --- a/content/rest/apps/webhooks.md +++ b/content/rest/apps/webhooks.md @@ -5,7 +5,6 @@ shortTitle: Webhooks intro: 'Use the REST API to interact with webhooks for {% data variables.product.prodname_oauth_apps %}' topics: - API -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghes: '*' diff --git a/content/rest/billing.md b/content/rest/billing.md index 43fba140fd79..a65fe3ad7492 100644 --- a/content/rest/billing.md +++ b/content/rest/billing.md @@ -3,7 +3,6 @@ title: Billing intro: Use the REST API to get billing information for an enterprise. topics: - API -miniTocMaxHeadingLevel: 3 versions: fpt: '*' ghec: '*' diff --git a/content/rest/branches/branch-protection.md b/content/rest/branches/branch-protection.md index 0df34e4cf501..08bbb4905180 100644 --- a/content/rest/branches/branch-protection.md +++ b/content/rest/branches/branch-protection.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/branches/branches.md b/content/rest/branches/branches.md index ef9cddb86c67..1874718d9353 100644 --- a/content/rest/branches/branches.md +++ b/content/rest/branches/branches.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/branches/index.md b/content/rest/branches/index.md index 7bd55426115e..8e8a4b6e9400 100644 --- a/content/rest/branches/index.md +++ b/content/rest/branches/index.md @@ -9,7 +9,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /branches - /branch-protection diff --git a/content/rest/checks/index.md b/content/rest/checks/index.md index 941600240fbc..0279d0807cee 100644 --- a/content/rest/checks/index.md +++ b/content/rest/checks/index.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /runs - /suites diff --git a/content/rest/checks/runs.md b/content/rest/checks/runs.md index da1e5e32d97a..228e0d65f8ff 100644 --- a/content/rest/checks/runs.md +++ b/content/rest/checks/runs.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/checks/suites.md b/content/rest/checks/suites.md index 94fda744181e..597a0a0ef993 100644 --- a/content/rest/checks/suites.md +++ b/content/rest/checks/suites.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/code-scanning.md b/content/rest/code-scanning.md index 6419965519d6..eee82262aae3 100644 --- a/content/rest/code-scanning.md +++ b/content/rest/code-scanning.md @@ -10,7 +10,6 @@ topics: - API - Code scanning - REST -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/code-scanning autogenerated: true diff --git a/content/rest/codes-of-conduct.md b/content/rest/codes-of-conduct.md index 504c6d7f1501..35db116c85d7 100644 --- a/content/rest/codes-of-conduct.md +++ b/content/rest/codes-of-conduct.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/codes-of-conduct autogenerated: true diff --git a/content/rest/codespaces/codespaces.md b/content/rest/codespaces/codespaces.md index 11acc1966ddc..686d1da548e1 100644 --- a/content/rest/codespaces/codespaces.md +++ b/content/rest/codespaces/codespaces.md @@ -6,7 +6,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/codespaces/index.md b/content/rest/codespaces/index.md index bce148d4baa0..e1ada5d44faa 100644 --- a/content/rest/codespaces/index.md +++ b/content/rest/codespaces/index.md @@ -6,7 +6,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /codespaces - /organizations diff --git a/content/rest/codespaces/machines.md b/content/rest/codespaces/machines.md index 20227ceb4e81..be95bba0fbc1 100644 --- a/content/rest/codespaces/machines.md +++ b/content/rest/codespaces/machines.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/codespaces/organization-secrets.md b/content/rest/codespaces/organization-secrets.md index 457ba20df5db..d3af912d4793 100644 --- a/content/rest/codespaces/organization-secrets.md +++ b/content/rest/codespaces/organization-secrets.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/codespaces/organizations.md b/content/rest/codespaces/organizations.md index d14a69c31a2b..b24fecde4c06 100644 --- a/content/rest/codespaces/organizations.md +++ b/content/rest/codespaces/organizations.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/codespaces/repository-secrets.md b/content/rest/codespaces/repository-secrets.md index 954d19297d8d..f1f23ea67c8a 100644 --- a/content/rest/codespaces/repository-secrets.md +++ b/content/rest/codespaces/repository-secrets.md @@ -9,7 +9,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/codespaces/secrets.md b/content/rest/codespaces/secrets.md index 8a2571e6db6d..36575a4f2367 100644 --- a/content/rest/codespaces/secrets.md +++ b/content/rest/codespaces/secrets.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/collaborators/collaborators.md b/content/rest/collaborators/collaborators.md index 6173e36e481c..3c8f92cabaa5 100644 --- a/content/rest/collaborators/collaborators.md +++ b/content/rest/collaborators/collaborators.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/collaborators/index.md b/content/rest/collaborators/index.md index 08f0f63b7086..7af45d0d75ee 100644 --- a/content/rest/collaborators/index.md +++ b/content/rest/collaborators/index.md @@ -9,7 +9,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /collaborators - /invitations diff --git a/content/rest/collaborators/invitations.md b/content/rest/collaborators/invitations.md index 154b421f51ac..2b0ddae751f5 100644 --- a/content/rest/collaborators/invitations.md +++ b/content/rest/collaborators/invitations.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/commits/comments.md b/content/rest/commits/comments.md index 160da89a9df8..7c769359f09b 100644 --- a/content/rest/commits/comments.md +++ b/content/rest/commits/comments.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/commits/commits.md b/content/rest/commits/commits.md index d4389b949e1d..395265268dbe 100644 --- a/content/rest/commits/commits.md +++ b/content/rest/commits/commits.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/commits/index.md b/content/rest/commits/index.md index 3b6edd054fd4..9cfe45de7d20 100644 --- a/content/rest/commits/index.md +++ b/content/rest/commits/index.md @@ -9,7 +9,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /commits - /comments diff --git a/content/rest/commits/statuses.md b/content/rest/commits/statuses.md index 18aa02487957..c56adf172d27 100644 --- a/content/rest/commits/statuses.md +++ b/content/rest/commits/statuses.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/dependabot/alerts.md b/content/rest/dependabot/alerts.md index dc3079de4b57..820f446eb18d 100644 --- a/content/rest/dependabot/alerts.md +++ b/content/rest/dependabot/alerts.md @@ -7,7 +7,6 @@ versions: feature: dependabot-alerts-rest-api topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/dependabot/index.md b/content/rest/dependabot/index.md index d93b8d7f0ee2..522da2b9fa28 100644 --- a/content/rest/dependabot/index.md +++ b/content/rest/dependabot/index.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /alerts - /secrets diff --git a/content/rest/dependency-graph/dependency-review.md b/content/rest/dependency-graph/dependency-review.md index c372efb0e861..52fe345a0d85 100644 --- a/content/rest/dependency-graph/dependency-review.md +++ b/content/rest/dependency-graph/dependency-review.md @@ -8,7 +8,6 @@ versions: ghae: '>= 3.6' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/dependency-graph/dependency-submission.md b/content/rest/dependency-graph/dependency-submission.md index 3455c19c9c59..0ee4adc3c157 100644 --- a/content/rest/dependency-graph/dependency-submission.md +++ b/content/rest/dependency-graph/dependency-submission.md @@ -3,7 +3,6 @@ title: Dependency submission intro: Use the REST API to submit dependencies. versions: feature: dependency-submission-api -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/dependency-graph/index.md b/content/rest/dependency-graph/index.md index 0a3a88935f1c..316a786d6821 100644 --- a/content/rest/dependency-graph/index.md +++ b/content/rest/dependency-graph/index.md @@ -8,7 +8,6 @@ versions: ghae: '>= 3.6' topics: - API -miniTocMaxHeadingLevel: 3 children: - /dependency-review - /dependency-submission diff --git a/content/rest/deploy-keys.md b/content/rest/deploy-keys.md index 4928d9d708cd..5f5f7160b670 100644 --- a/content/rest/deploy-keys.md +++ b/content/rest/deploy-keys.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true redirect_from: - /rest/reference/deploy_keys diff --git a/content/rest/deployments/branch-policies.md b/content/rest/deployments/branch-policies.md index c86f5e23d179..56a4adcd5a85 100644 --- a/content/rest/deployments/branch-policies.md +++ b/content/rest/deployments/branch-policies.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/deployments/deployments.md b/content/rest/deployments/deployments.md index adbca058b3c8..5ae6cd669767 100644 --- a/content/rest/deployments/deployments.md +++ b/content/rest/deployments/deployments.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/deployments/environments.md b/content/rest/deployments/environments.md index 787491d9dd5c..10977c309672 100644 --- a/content/rest/deployments/environments.md +++ b/content/rest/deployments/environments.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/deployments/index.md b/content/rest/deployments/index.md index e922206fff74..8ab89f0e8445 100644 --- a/content/rest/deployments/index.md +++ b/content/rest/deployments/index.md @@ -9,7 +9,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /deployments - /environments diff --git a/content/rest/deployments/statuses.md b/content/rest/deployments/statuses.md index c4927b84cca0..e4dd31d4a5e8 100644 --- a/content/rest/deployments/statuses.md +++ b/content/rest/deployments/statuses.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/emojis.md b/content/rest/emojis.md index a435771023f7..d3a169bf8739 100644 --- a/content/rest/emojis.md +++ b/content/rest/emojis.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/emojis autogenerated: true diff --git a/content/rest/enterprise-admin/admin-stats.md b/content/rest/enterprise-admin/admin-stats.md index 3694fd63c119..f1aca596d42a 100644 --- a/content/rest/enterprise-admin/admin-stats.md +++ b/content/rest/enterprise-admin/admin-stats.md @@ -7,7 +7,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/announcement.md b/content/rest/enterprise-admin/announcement.md index 9876026342b2..6d72bef1f068 100644 --- a/content/rest/enterprise-admin/announcement.md +++ b/content/rest/enterprise-admin/announcement.md @@ -6,7 +6,6 @@ versions: ghae: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/audit-log.md b/content/rest/enterprise-admin/audit-log.md index b855cd23b4f6..99292e685869 100644 --- a/content/rest/enterprise-admin/audit-log.md +++ b/content/rest/enterprise-admin/audit-log.md @@ -7,7 +7,6 @@ versions: ghae: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/billing.md b/content/rest/enterprise-admin/billing.md index 3f3fc3983de6..bf609515b2df 100644 --- a/content/rest/enterprise-admin/billing.md +++ b/content/rest/enterprise-admin/billing.md @@ -6,7 +6,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/code-security-and-analysis.md b/content/rest/enterprise-admin/code-security-and-analysis.md index 86e5022b1611..b681e97129f3 100644 --- a/content/rest/enterprise-admin/code-security-and-analysis.md +++ b/content/rest/enterprise-admin/code-security-and-analysis.md @@ -6,7 +6,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/global-webhooks.md b/content/rest/enterprise-admin/global-webhooks.md index d1e3e6591f22..a300189804ff 100644 --- a/content/rest/enterprise-admin/global-webhooks.md +++ b/content/rest/enterprise-admin/global-webhooks.md @@ -6,7 +6,6 @@ versions: ghae: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/index.md b/content/rest/enterprise-admin/index.md index 9ce03574921d..7c182e3881c1 100644 --- a/content/rest/enterprise-admin/index.md +++ b/content/rest/enterprise-admin/index.md @@ -12,7 +12,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 shortTitle: Enterprise administration children: - /admin-stats diff --git a/content/rest/enterprise-admin/ldap.md b/content/rest/enterprise-admin/ldap.md index 7fb950ab2ccb..fab0e99c31fc 100644 --- a/content/rest/enterprise-admin/ldap.md +++ b/content/rest/enterprise-admin/ldap.md @@ -5,7 +5,6 @@ versions: ghes: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/license.md b/content/rest/enterprise-admin/license.md index cc9b2238ebd1..bb9e3d73385f 100644 --- a/content/rest/enterprise-admin/license.md +++ b/content/rest/enterprise-admin/license.md @@ -7,7 +7,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/management-console.md b/content/rest/enterprise-admin/management-console.md index a5749492df80..fd080c358f10 100644 --- a/content/rest/enterprise-admin/management-console.md +++ b/content/rest/enterprise-admin/management-console.md @@ -5,7 +5,6 @@ versions: ghes: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/org-pre-receive-hooks.md b/content/rest/enterprise-admin/org-pre-receive-hooks.md index e66685b8cc4d..e038fa5a4e95 100644 --- a/content/rest/enterprise-admin/org-pre-receive-hooks.md +++ b/content/rest/enterprise-admin/org-pre-receive-hooks.md @@ -5,7 +5,6 @@ versions: ghes: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/enterprise-admin/orgs.md b/content/rest/enterprise-admin/orgs.md index 18b79451a801..0d3b2e4967dc 100644 --- a/content/rest/enterprise-admin/orgs.md +++ b/content/rest/enterprise-admin/orgs.md @@ -6,7 +6,6 @@ versions: ghae: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/enterprise-admin/pre-receive-environments.md b/content/rest/enterprise-admin/pre-receive-environments.md index fcc52bfddff0..90e11331b8b3 100644 --- a/content/rest/enterprise-admin/pre-receive-environments.md +++ b/content/rest/enterprise-admin/pre-receive-environments.md @@ -6,7 +6,6 @@ versions: ghae: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/pre-receive-hooks.md b/content/rest/enterprise-admin/pre-receive-hooks.md index 92a555c7baa1..145158cfa088 100644 --- a/content/rest/enterprise-admin/pre-receive-hooks.md +++ b/content/rest/enterprise-admin/pre-receive-hooks.md @@ -5,7 +5,6 @@ versions: ghes: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/repo-pre-receive-hooks.md b/content/rest/enterprise-admin/repo-pre-receive-hooks.md index 95c8eb0f5606..2e295eb9c690 100644 --- a/content/rest/enterprise-admin/repo-pre-receive-hooks.md +++ b/content/rest/enterprise-admin/repo-pre-receive-hooks.md @@ -5,7 +5,6 @@ versions: ghes: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/enterprise-admin/scim.md b/content/rest/enterprise-admin/scim.md index e3e37d465b6b..8e0074f1ea5b 100644 --- a/content/rest/enterprise-admin/scim.md +++ b/content/rest/enterprise-admin/scim.md @@ -5,7 +5,6 @@ versions: ghes: '>=3.6' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/enterprise-admin/users.md b/content/rest/enterprise-admin/users.md index 27ddd24b5050..27700dc618af 100644 --- a/content/rest/enterprise-admin/users.md +++ b/content/rest/enterprise-admin/users.md @@ -6,7 +6,6 @@ versions: ghae: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/gists/comments.md b/content/rest/gists/comments.md index 04556e1ee791..0b1269784f8a 100644 --- a/content/rest/gists/comments.md +++ b/content/rest/gists/comments.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/gists/gists.md b/content/rest/gists/gists.md index f42d115f6786..b1eba385f500 100644 --- a/content/rest/gists/gists.md +++ b/content/rest/gists/gists.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/gists/index.md b/content/rest/gists/index.md index c5d1f7c3e71a..414e970cbdf2 100644 --- a/content/rest/gists/index.md +++ b/content/rest/gists/index.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /gists - /comments diff --git a/content/rest/git/blobs.md b/content/rest/git/blobs.md index bed6b40bfe20..6f76882673d2 100644 --- a/content/rest/git/blobs.md +++ b/content/rest/git/blobs.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/git/commits.md b/content/rest/git/commits.md index 117432224415..3bae11320530 100644 --- a/content/rest/git/commits.md +++ b/content/rest/git/commits.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/git/index.md b/content/rest/git/index.md index 5d829bea91d6..e4146c50413f 100644 --- a/content/rest/git/index.md +++ b/content/rest/git/index.md @@ -12,7 +12,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /blobs - /commits diff --git a/content/rest/git/refs.md b/content/rest/git/refs.md index 70baac200c2a..43e990b24fa2 100644 --- a/content/rest/git/refs.md +++ b/content/rest/git/refs.md @@ -9,7 +9,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/git/tags.md b/content/rest/git/tags.md index 532431da4d44..14c1308d3901 100644 --- a/content/rest/git/tags.md +++ b/content/rest/git/tags.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/git/trees.md b/content/rest/git/trees.md index ec3e64e042f2..107e35bee914 100644 --- a/content/rest/git/trees.md +++ b/content/rest/git/trees.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/gitignore.md b/content/rest/gitignore.md index 6ff1ab7967e5..b2bf8445039d 100644 --- a/content/rest/gitignore.md +++ b/content/rest/gitignore.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/gitignore autogenerated: true diff --git a/content/rest/guides/getting-started-with-the-rest-api.md b/content/rest/guides/getting-started-with-the-rest-api.md index 229f01dc8ccf..0276856b55c9 100644 --- a/content/rest/guides/getting-started-with-the-rest-api.md +++ b/content/rest/guides/getting-started-with-the-rest-api.md @@ -9,7 +9,6 @@ versions: topics: - API shortTitle: Using the API -miniTocMaxHeadingLevel: 3 --- ## About the {% data variables.product.prodname_dotcom %} REST API diff --git a/content/rest/guides/scripting-with-the-rest-api-and-javascript.md b/content/rest/guides/scripting-with-the-rest-api-and-javascript.md index 5f732145fcb3..0d94e916a2f8 100644 --- a/content/rest/guides/scripting-with-the-rest-api-and-javascript.md +++ b/content/rest/guides/scripting-with-the-rest-api-and-javascript.md @@ -11,7 +11,6 @@ topics: - API - JavaScript type: tutorial -miniTocMaxHeadingLevel: 3 --- ## About Octokit.js diff --git a/content/rest/guides/using-pagination-in-the-rest-api.md b/content/rest/guides/using-pagination-in-the-rest-api.md index f123a94687ea..847125bf8c5e 100644 --- a/content/rest/guides/using-pagination-in-the-rest-api.md +++ b/content/rest/guides/using-pagination-in-the-rest-api.md @@ -13,7 +13,6 @@ versions: topics: - API shortTitle: Pagination -miniTocMaxHeadingLevel: 3 --- ## About pagination diff --git a/content/rest/interactions/index.md b/content/rest/interactions/index.md index 09740c146297..7513bca6e38c 100644 --- a/content/rest/interactions/index.md +++ b/content/rest/interactions/index.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /orgs - /repos diff --git a/content/rest/interactions/orgs.md b/content/rest/interactions/orgs.md index ff4ba1596ba5..c8b0b5ad9c53 100644 --- a/content/rest/interactions/orgs.md +++ b/content/rest/interactions/orgs.md @@ -7,7 +7,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/interactions/repos.md b/content/rest/interactions/repos.md index bccadbf414f8..a9f27b99d8bf 100644 --- a/content/rest/interactions/repos.md +++ b/content/rest/interactions/repos.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/interactions/user.md b/content/rest/interactions/user.md index b13e3702136f..66cbc33da259 100644 --- a/content/rest/interactions/user.md +++ b/content/rest/interactions/user.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/issues/assignees.md b/content/rest/issues/assignees.md index 0a9f75221af6..68321b482031 100644 --- a/content/rest/issues/assignees.md +++ b/content/rest/issues/assignees.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/issues/comments.md b/content/rest/issues/comments.md index 81e545086e34..061b2bf3d9e6 100644 --- a/content/rest/issues/comments.md +++ b/content/rest/issues/comments.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/issues/events.md b/content/rest/issues/events.md index 697050ab3b39..8429ad0c80df 100644 --- a/content/rest/issues/events.md +++ b/content/rest/issues/events.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/issues/index.md b/content/rest/issues/index.md index 8c3e65dc4745..a93b946034df 100644 --- a/content/rest/issues/index.md +++ b/content/rest/issues/index.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /issues - /assignees diff --git a/content/rest/issues/issues.md b/content/rest/issues/issues.md index c3f92d9cda1d..3a7884202da2 100644 --- a/content/rest/issues/issues.md +++ b/content/rest/issues/issues.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/issues/labels.md b/content/rest/issues/labels.md index f9082ebb81c5..6f2578133f23 100644 --- a/content/rest/issues/labels.md +++ b/content/rest/issues/labels.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/issues/milestones.md b/content/rest/issues/milestones.md index e0bb30661d98..e0d5929af303 100644 --- a/content/rest/issues/milestones.md +++ b/content/rest/issues/milestones.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/issues/timeline.md b/content/rest/issues/timeline.md index 9c87555883e2..e6f5ecb310c2 100644 --- a/content/rest/issues/timeline.md +++ b/content/rest/issues/timeline.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/licenses.md b/content/rest/licenses.md index cd6995505a28..c93a5a103b17 100644 --- a/content/rest/licenses.md +++ b/content/rest/licenses.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/licenses autogenerated: true diff --git a/content/rest/markdown.md b/content/rest/markdown.md index 0430ccf5022e..ca4355941e85 100644 --- a/content/rest/markdown.md +++ b/content/rest/markdown.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/markdown autogenerated: true diff --git a/content/rest/meta.md b/content/rest/meta.md index df52fa95e8c7..447c8a48e5ff 100644 --- a/content/rest/meta.md +++ b/content/rest/meta.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/meta autogenerated: true diff --git a/content/rest/metrics/community.md b/content/rest/metrics/community.md index 13ee419dac3c..adce480c3ca1 100644 --- a/content/rest/metrics/community.md +++ b/content/rest/metrics/community.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/metrics/index.md b/content/rest/metrics/index.md index 766ad27f5d80..94c9e1421400 100644 --- a/content/rest/metrics/index.md +++ b/content/rest/metrics/index.md @@ -12,7 +12,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /community - /statistics diff --git a/content/rest/metrics/statistics.md b/content/rest/metrics/statistics.md index 7573a9d97e12..3b1877fffa58 100644 --- a/content/rest/metrics/statistics.md +++ b/content/rest/metrics/statistics.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/metrics/traffic.md b/content/rest/metrics/traffic.md index 5fc5592b1575..7d5f1fd61518 100644 --- a/content/rest/metrics/traffic.md +++ b/content/rest/metrics/traffic.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/migrations/index.md b/content/rest/migrations/index.md index b468b456d742..4e41f6ec2fbd 100644 --- a/content/rest/migrations/index.md +++ b/content/rest/migrations/index.md @@ -13,7 +13,6 @@ versions: ghae: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /orgs - /source-imports diff --git a/content/rest/migrations/orgs.md b/content/rest/migrations/orgs.md index 110c456858a0..fc225d115a1b 100644 --- a/content/rest/migrations/orgs.md +++ b/content/rest/migrations/orgs.md @@ -10,7 +10,6 @@ versions: ghae: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/migrations/source-imports.md b/content/rest/migrations/source-imports.md index bb47defec42f..b4f68fd177d3 100644 --- a/content/rest/migrations/source-imports.md +++ b/content/rest/migrations/source-imports.md @@ -6,7 +6,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/migrations/users.md b/content/rest/migrations/users.md index 80c5d5ac0036..c4bc0a413aec 100644 --- a/content/rest/migrations/users.md +++ b/content/rest/migrations/users.md @@ -10,7 +10,6 @@ versions: ghae: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/oauth-authorizations.md b/content/rest/oauth-authorizations.md index 6b5e6cc9fcbe..792414baee9a 100644 --- a/content/rest/oauth-authorizations.md +++ b/content/rest/oauth-authorizations.md @@ -5,7 +5,6 @@ versions: ghes: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/oauth-authorizations autogenerated: true diff --git a/content/rest/orgs/blocking.md b/content/rest/orgs/blocking.md index 02708c71fcd3..0ca375bebe8e 100644 --- a/content/rest/orgs/blocking.md +++ b/content/rest/orgs/blocking.md @@ -6,7 +6,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/orgs/custom-roles.md b/content/rest/orgs/custom-roles.md index 9caf6d1ca620..efdbbf45fb15 100644 --- a/content/rest/orgs/custom-roles.md +++ b/content/rest/orgs/custom-roles.md @@ -6,7 +6,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true redirect_from: - /rest/orgs/custom_roles diff --git a/content/rest/orgs/index.md b/content/rest/orgs/index.md index 7b4b7d074c1f..45f0612a927d 100644 --- a/content/rest/orgs/index.md +++ b/content/rest/orgs/index.md @@ -12,7 +12,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /orgs - /blocking diff --git a/content/rest/orgs/members.md b/content/rest/orgs/members.md index 874835d3b7c2..27276fe4cae0 100644 --- a/content/rest/orgs/members.md +++ b/content/rest/orgs/members.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/orgs/orgs.md b/content/rest/orgs/orgs.md index 007b8fa6f62c..2a7843202b4d 100644 --- a/content/rest/orgs/orgs.md +++ b/content/rest/orgs/orgs.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/orgs/outside-collaborators.md b/content/rest/orgs/outside-collaborators.md index 7110a9ddcffe..572963872c17 100644 --- a/content/rest/orgs/outside-collaborators.md +++ b/content/rest/orgs/outside-collaborators.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/orgs/security-managers.md b/content/rest/orgs/security-managers.md index 52bf673f1e5b..c1d6ab591aca 100644 --- a/content/rest/orgs/security-managers.md +++ b/content/rest/orgs/security-managers.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/orgs/webhooks.md b/content/rest/orgs/webhooks.md index e592b07b78a3..ae2b6aaf6188 100644 --- a/content/rest/orgs/webhooks.md +++ b/content/rest/orgs/webhooks.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/overview/permissions-required-for-fine-grained-personal-access-tokens.md b/content/rest/overview/permissions-required-for-fine-grained-personal-access-tokens.md index 9318f497fc4a..8438e3454490 100644 --- a/content/rest/overview/permissions-required-for-fine-grained-personal-access-tokens.md +++ b/content/rest/overview/permissions-required-for-fine-grained-personal-access-tokens.md @@ -3,7 +3,6 @@ title: Permissions required for fine-grained personal access tokens intro: 'You can find the required permissions for each {% data variables.product.pat_v2 %}-compatible endpoint.' versions: feature: pat-v2 -miniTocMaxHeadingLevel: 3 shortTitle: '{% data variables.product.pat_v2_caps %} permissions' --- diff --git a/content/rest/overview/permissions-required-for-github-apps.md b/content/rest/overview/permissions-required-for-github-apps.md index 1df217ea1711..5fdef260bcfc 100644 --- a/content/rest/overview/permissions-required-for-github-apps.md +++ b/content/rest/overview/permissions-required-for-github-apps.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 shortTitle: GitHub App permissions --- diff --git a/content/rest/overview/resources-in-the-rest-api.md b/content/rest/overview/resources-in-the-rest-api.md index 18a94740a3ca..09872d2d0d0f 100644 --- a/content/rest/overview/resources-in-the-rest-api.md +++ b/content/rest/overview/resources-in-the-rest-api.md @@ -8,7 +8,6 @@ versions: ghes: '*' ghae: '*' ghec: '*' -miniTocMaxHeadingLevel: 3 topics: - API --- diff --git a/content/rest/packages.md b/content/rest/packages.md index c10463730309..c6ebb2f0cef6 100644 --- a/content/rest/packages.md +++ b/content/rest/packages.md @@ -6,7 +6,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/packages autogenerated: true diff --git a/content/rest/pages.md b/content/rest/pages.md index d0186131f5c0..748a49df0ca3 100644 --- a/content/rest/pages.md +++ b/content/rest/pages.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/pages autogenerated: true diff --git a/content/rest/projects/cards.md b/content/rest/projects/cards.md index dda63799d16e..654ba360e398 100644 --- a/content/rest/projects/cards.md +++ b/content/rest/projects/cards.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/projects/collaborators.md b/content/rest/projects/collaborators.md index 3d53658f0b71..c132923e5135 100644 --- a/content/rest/projects/collaborators.md +++ b/content/rest/projects/collaborators.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/projects/columns.md b/content/rest/projects/columns.md index 0f4755c017cf..2ad1b2ca2c35 100644 --- a/content/rest/projects/columns.md +++ b/content/rest/projects/columns.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/projects/index.md b/content/rest/projects/index.md index 26052006f943..0bcb8bb137e8 100644 --- a/content/rest/projects/index.md +++ b/content/rest/projects/index.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true children: - /projects diff --git a/content/rest/projects/projects.md b/content/rest/projects/projects.md index 862d6927d45b..27076517f39b 100644 --- a/content/rest/projects/projects.md +++ b/content/rest/projects/projects.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/pulls/comments.md b/content/rest/pulls/comments.md index 6ca63d78e668..01fb14548d8c 100644 --- a/content/rest/pulls/comments.md +++ b/content/rest/pulls/comments.md @@ -9,7 +9,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/pulls/index.md b/content/rest/pulls/index.md index 29ecdca0d92d..8bb54a517865 100644 --- a/content/rest/pulls/index.md +++ b/content/rest/pulls/index.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /pulls - /comments diff --git a/content/rest/pulls/pulls.md b/content/rest/pulls/pulls.md index f4191d09b4c1..c348cd41e934 100644 --- a/content/rest/pulls/pulls.md +++ b/content/rest/pulls/pulls.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/pulls/review-requests.md b/content/rest/pulls/review-requests.md index 6810e39699b2..cf5cf125f89d 100644 --- a/content/rest/pulls/review-requests.md +++ b/content/rest/pulls/review-requests.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/pulls/reviews.md b/content/rest/pulls/reviews.md index b9ecf716cdb1..ab205c3e9978 100644 --- a/content/rest/pulls/reviews.md +++ b/content/rest/pulls/reviews.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/quickstart.md b/content/rest/quickstart.md index eb1c8d90fa9e..bd869a840038 100644 --- a/content/rest/quickstart.md +++ b/content/rest/quickstart.md @@ -13,7 +13,6 @@ topics: redirect_from: - /guides/getting-started - /v3/guides/getting-started -miniTocMaxHeadingLevel: 3 --- This article describes how to quickly get started with the {% data variables.product.prodname_dotcom %} REST API using {% data variables.product.prodname_cli %}, JavaScript, or `curl`. For a more detailed guide, see "[AUTOTITLE](/rest/guides/getting-started-with-the-rest-api)." diff --git a/content/rest/rate-limit.md b/content/rest/rate-limit.md index 7eda61551d92..17f2166f60ab 100644 --- a/content/rest/rate-limit.md +++ b/content/rest/rate-limit.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/rate-limit autogenerated: true diff --git a/content/rest/reactions.md b/content/rest/reactions.md index 88f84acc9f9f..8fe8af061537 100644 --- a/content/rest/reactions.md +++ b/content/rest/reactions.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/reactions autogenerated: true diff --git a/content/rest/releases/assets.md b/content/rest/releases/assets.md index 4dbeabed4961..314da5fc654f 100644 --- a/content/rest/releases/assets.md +++ b/content/rest/releases/assets.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/releases/index.md b/content/rest/releases/index.md index 8c9e3ddd085b..402102a6cfaa 100644 --- a/content/rest/releases/index.md +++ b/content/rest/releases/index.md @@ -9,7 +9,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /releases - /assets diff --git a/content/rest/releases/releases.md b/content/rest/releases/releases.md index f1963131c768..78d62465b7ab 100644 --- a/content/rest/releases/releases.md +++ b/content/rest/releases/releases.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/repos/autolinks.md b/content/rest/repos/autolinks.md index ab48047d637d..6b383597eae3 100644 --- a/content/rest/repos/autolinks.md +++ b/content/rest/repos/autolinks.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/repos/contents.md b/content/rest/repos/contents.md index 22493cf085b4..cfec8a16b6ba 100644 --- a/content/rest/repos/contents.md +++ b/content/rest/repos/contents.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/repos/forks.md b/content/rest/repos/forks.md index 302e6267b15d..8375b85f560e 100644 --- a/content/rest/repos/forks.md +++ b/content/rest/repos/forks.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/repos/index.md b/content/rest/repos/index.md index 07065e788a48..4e7c35b30730 100644 --- a/content/rest/repos/index.md +++ b/content/rest/repos/index.md @@ -12,7 +12,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /repos - /autolinks diff --git a/content/rest/repos/lfs.md b/content/rest/repos/lfs.md index 07cee9b36760..e8abc16a8862 100644 --- a/content/rest/repos/lfs.md +++ b/content/rest/repos/lfs.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/repos/repos.md b/content/rest/repos/repos.md index 4418e5af80b6..4a13a9b68455 100644 --- a/content/rest/repos/repos.md +++ b/content/rest/repos/repos.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/repos/tags.md b/content/rest/repos/tags.md index 7f742e4ff7fe..a324c7e320a2 100644 --- a/content/rest/repos/tags.md +++ b/content/rest/repos/tags.md @@ -9,7 +9,6 @@ versions: ghes: '>3.4' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/scim.md b/content/rest/scim.md index 0e09d511a38a..db3ead1ff8f1 100644 --- a/content/rest/scim.md +++ b/content/rest/scim.md @@ -5,7 +5,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/scim autogenerated: true diff --git a/content/rest/search.md b/content/rest/search.md index 60bb55db8255..8254e8d3d481 100644 --- a/content/rest/search.md +++ b/content/rest/search.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/search autogenerated: true diff --git a/content/rest/secret-scanning.md b/content/rest/secret-scanning.md index 7e34921d975c..deceeb10545f 100644 --- a/content/rest/secret-scanning.md +++ b/content/rest/secret-scanning.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 redirect_from: - /rest/reference/secret-scanning autogenerated: true diff --git a/content/rest/teams/discussion-comments.md b/content/rest/teams/discussion-comments.md index ff2b57eb616a..a923c00f0c5c 100644 --- a/content/rest/teams/discussion-comments.md +++ b/content/rest/teams/discussion-comments.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/teams/discussions.md b/content/rest/teams/discussions.md index 7cb6efdca28b..febc673de4c1 100644 --- a/content/rest/teams/discussions.md +++ b/content/rest/teams/discussions.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/teams/external-groups.md b/content/rest/teams/external-groups.md index 96cb908cfe94..73d69aa15788 100644 --- a/content/rest/teams/external-groups.md +++ b/content/rest/teams/external-groups.md @@ -7,7 +7,6 @@ versions: ghes: '>=3.6' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/teams/index.md b/content/rest/teams/index.md index 11c084725506..d2651144d643 100644 --- a/content/rest/teams/index.md +++ b/content/rest/teams/index.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /teams - /discussion-comments diff --git a/content/rest/teams/members.md b/content/rest/teams/members.md index 3952cd8f2701..ddb172e65519 100644 --- a/content/rest/teams/members.md +++ b/content/rest/teams/members.md @@ -10,7 +10,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/teams/team-sync.md b/content/rest/teams/team-sync.md index 71c0f6b65498..5bf3219b3493 100644 --- a/content/rest/teams/team-sync.md +++ b/content/rest/teams/team-sync.md @@ -5,7 +5,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/teams/teams.md b/content/rest/teams/teams.md index 93f104067fa4..1c98791d34a0 100644 --- a/content/rest/teams/teams.md +++ b/content/rest/teams/teams.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/users/blocking.md b/content/rest/users/blocking.md index 2523e684063e..f38e8ab4bbef 100644 --- a/content/rest/users/blocking.md +++ b/content/rest/users/blocking.md @@ -6,7 +6,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/users/emails.md b/content/rest/users/emails.md index 2090d4a29bf4..c35d6d84fa1d 100644 --- a/content/rest/users/emails.md +++ b/content/rest/users/emails.md @@ -7,7 +7,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/users/followers.md b/content/rest/users/followers.md index cf787a7d949d..8f7bbc8bf6de 100644 --- a/content/rest/users/followers.md +++ b/content/rest/users/followers.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/users/gpg-keys.md b/content/rest/users/gpg-keys.md index 4847c1578a45..036af25bd360 100644 --- a/content/rest/users/gpg-keys.md +++ b/content/rest/users/gpg-keys.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/users/index.md b/content/rest/users/index.md index 2e247e81e3ca..424306b0317f 100644 --- a/content/rest/users/index.md +++ b/content/rest/users/index.md @@ -11,7 +11,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /users - /blocking diff --git a/content/rest/users/keys.md b/content/rest/users/keys.md index ebca45c1a628..27c4c6c9b2c0 100644 --- a/content/rest/users/keys.md +++ b/content/rest/users/keys.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/users/ssh-signing-keys.md b/content/rest/users/ssh-signing-keys.md index 1d3b8fe07056..1ea19c52ec20 100644 --- a/content/rest/users/ssh-signing-keys.md +++ b/content/rest/users/ssh-signing-keys.md @@ -7,7 +7,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/users/users.md b/content/rest/users/users.md index b5282ed9877e..18d5c863564a 100644 --- a/content/rest/users/users.md +++ b/content/rest/users/users.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 autogenerated: true --- diff --git a/content/rest/webhooks/index.md b/content/rest/webhooks/index.md index c1bc3b25618e..026323ff4845 100644 --- a/content/rest/webhooks/index.md +++ b/content/rest/webhooks/index.md @@ -9,7 +9,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 children: - /repo-config - /repo-deliveries diff --git a/content/rest/webhooks/repo-config.md b/content/rest/webhooks/repo-config.md index 55f5831b94ba..423003e2276f 100644 --- a/content/rest/webhooks/repo-config.md +++ b/content/rest/webhooks/repo-config.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/webhooks/repo-deliveries.md b/content/rest/webhooks/repo-deliveries.md index f76b096bcc17..6d3f3924357e 100644 --- a/content/rest/webhooks/repo-deliveries.md +++ b/content/rest/webhooks/repo-deliveries.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/content/rest/webhooks/repos.md b/content/rest/webhooks/repos.md index a9516ec4c6fa..6992127d75f6 100644 --- a/content/rest/webhooks/repos.md +++ b/content/rest/webhooks/repos.md @@ -8,7 +8,6 @@ versions: ghec: '*' topics: - API -miniTocMaxHeadingLevel: 3 allowTitleToDifferFromFilename: true autogenerated: true --- diff --git a/lib/frontmatter.js b/lib/frontmatter.js index 797612e7eac0..7491a69c96f7 100644 --- a/lib/frontmatter.js +++ b/lib/frontmatter.js @@ -42,7 +42,9 @@ export const schema = { showMiniToc: { type: 'boolean', }, + // This frontmatter property is deprecated. Despite what `miniTocMaxHeadingLevel` says, the max level of mini TOC is *always* 2. See github/docs-engineering#2701. miniTocMaxHeadingLevel: { + deprecated: true, type: 'number', default: 2, minimum: 2, @@ -237,6 +239,11 @@ export const schema = { }, } +// returns a list of deprecated properties +export const deprecatedProperties = Object.keys(schema.properties).filter((prop) => { + return schema.properties[prop].deprecated +}) + const featureVersionsProp = { feature: { type: ['string', 'array'], @@ -266,7 +273,7 @@ schema.properties.versions = { }, featureVersionsProp), } -function frontmatter(markdown, opts = {}) { +export function frontmatter(markdown, opts = {}) { const defaults = { schema, validateKeyNames: true, diff --git a/lib/get-mini-toc-items.js b/lib/get-mini-toc-items.js index d59be2de6042..fa6b1c9a6999 100644 --- a/lib/get-mini-toc-items.js +++ b/lib/get-mini-toc-items.js @@ -3,6 +3,7 @@ import { range } from 'lodash-es' import renderContent from './render-content/index.js' +// Keep maxHeadingLevel=2 for accessibility reasons, see docs-engineering#2701 for more info export default function getMiniTocItems(html, maxHeadingLevel = 2, headingScope = '') { const $ = cheerio.load(html, { xmlMode: true }) diff --git a/middleware/render-page.js b/middleware/render-page.js index 98a14dd80d67..404dca1ddf03 100644 --- a/middleware/render-page.js +++ b/middleware/render-page.js @@ -29,7 +29,7 @@ async function buildMiniTocItems(req) { return } - return getMiniTocItems(context.renderedPage, page.miniTocMaxHeadingLevel, '') + return getMiniTocItems(context.renderedPage, '') } export default async function renderPage(req, res) { diff --git a/script/content-migrations/add_mini_toc_frontmatter.js b/script/content-migrations/add_mini_toc_frontmatter.js deleted file mode 100755 index 8c068c5280d3..000000000000 --- a/script/content-migrations/add_mini_toc_frontmatter.js +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/env node - -// [start-readme] -// -// Run this one time script to add max mini toc -// to rest reference documentation -// -// [end-readme] - -import { fileURLToPath } from 'url' -import path from 'path' -import fs from 'fs' -import walk from 'walk-sync' -const __dirname = path.dirname(fileURLToPath(import.meta.url)) - -const re = /^---\n/gm - -async function updateMdHeaders(dir) { - walk(dir, { includeBasePath: true, directories: false }) - .filter( - (file) => - !file.endsWith('README.md') && - !file.endsWith('index.md') && - file.includes('content/rest/reference') - ) - .forEach((file) => { - fs.readFile(file, 'utf8', (err, data) => { - if (err) return console.error(err) - const matchHeader = data.match(re)[1] - let result - let t = 0 - if (matchHeader) { - result = data.replace(re, function (match) { - t++ - return t === 2 ? 'miniTocMaxHeadingLevel: 3\n---\n' : match - }) - } - fs.writeFile(file, result, 'utf8', function (err) { - if (err) return console.log(err) - }) - }) - }) -} - -async function main() { - await updateMdHeaders(path.join(__dirname, '../../content')) -} - -main() - .catch(console.error) - .finally(() => console.log('Done')) diff --git a/script/content-migrations/update-headers.js b/script/content-migrations/update-headers.js index 115a99f449ca..39f45ad4286e 100755 --- a/script/content-migrations/update-headers.js +++ b/script/content-migrations/update-headers.js @@ -48,7 +48,6 @@ async function updateMdHeaders(dir) { return case '###': result = data - .replace(/^miniTocMaxHeadingLevel: 4/gm, 'miniTocMaxHeadingLevel: 3') .replace(/^### /gm, '## ') .replace(/^#### /gm, '### ') .replace(/^##### /gm, '#### ') diff --git a/tests/fixtures/content/get-started/index.md b/tests/fixtures/content/get-started/index.md index 4ec9badcb692..4f55b4014c22 100644 --- a/tests/fixtures/content/get-started/index.md +++ b/tests/fixtures/content/get-started/index.md @@ -21,6 +21,7 @@ children: - /quickstart - /foo - /video-transcripts + - /minitocs - /liquid communityRedirect: name: Provide HubGit Feedback diff --git a/tests/fixtures/content/get-started/minitocs/index.md b/tests/fixtures/content/get-started/minitocs/index.md new file mode 100644 index 000000000000..75e104075720 --- /dev/null +++ b/tests/fixtures/content/get-started/minitocs/index.md @@ -0,0 +1,14 @@ +--- +title: Mini TOCs fixtures +intro: 'Fixtures for testing the mini TOCs' +versions: + fpt: '*' + ghes: '*' + ghae: '*' + ghec: '*' +children: + - /no-heading + - /one-heading + - /multiple-headings + - /markup-heading +--- diff --git a/tests/fixtures/content/get-started/minitocs/markup-heading.md b/tests/fixtures/content/get-started/minitocs/markup-heading.md new file mode 100644 index 000000000000..7b39117aa897 --- /dev/null +++ b/tests/fixtures/content/get-started/minitocs/markup-heading.md @@ -0,0 +1,21 @@ +--- +title: Markup heading +intro: Fixture for testing Mini TOCs with markup in the heading +versions: + fpt: '*' + ghes: '*' + ghae: '*' + ghec: '*' +type: how_to +--- + +Here is content with multiple subheadings. + + +## `on` + +Some content + +## Subheading 2 + +More content \ No newline at end of file diff --git a/tests/fixtures/content/get-started/minitocs/multiple-headings.md b/tests/fixtures/content/get-started/minitocs/multiple-headings.md new file mode 100644 index 000000000000..9ebbcbbf32c5 --- /dev/null +++ b/tests/fixtures/content/get-started/minitocs/multiple-headings.md @@ -0,0 +1,21 @@ +--- +title: Multiple headings +intro: Fixture for testing Mini TOCs with multiple headings +versions: + fpt: '*' + ghes: '*' + ghae: '*' + ghec: '*' +type: how_to +--- + +Here is content with multiple subheadings. + + +## Subheading 1 + +Some content + +## Subheading 2 + +More content \ No newline at end of file diff --git a/tests/fixtures/content/get-started/minitocs/no-heading.md b/tests/fixtures/content/get-started/minitocs/no-heading.md new file mode 100644 index 000000000000..40080583f5dc --- /dev/null +++ b/tests/fixtures/content/get-started/minitocs/no-heading.md @@ -0,0 +1,13 @@ +--- +title: No heading +intro: Fixture for testing mini TOCs with no headings +versions: + fpt: '*' + ghes: '*' + ghae: '*' + ghec: '*' +type: how_to +--- + +Here is some content with no heading. + diff --git a/tests/fixtures/content/get-started/minitocs/one-heading.md b/tests/fixtures/content/get-started/minitocs/one-heading.md new file mode 100644 index 000000000000..325d85069b22 --- /dev/null +++ b/tests/fixtures/content/get-started/minitocs/one-heading.md @@ -0,0 +1,14 @@ +--- +title: One heading +intro: Fixture for testing mini TOCs with one heading +versions: + fpt: '*' + ghes: '*' + ghae: '*' + ghec: '*' +type: how_to +--- + +## Single heading +Here is some content with a single heading. + diff --git a/tests/fixtures/content/get-started/quickstart/hello-world.md b/tests/fixtures/content/get-started/quickstart/hello-world.md index ccf082858f0b..ec583930f00d 100644 --- a/tests/fixtures/content/get-started/quickstart/hello-world.md +++ b/tests/fixtures/content/get-started/quickstart/hello-world.md @@ -10,7 +10,6 @@ type: quick_start topics: - Pull requests - Fundamentals -miniTocMaxHeadingLevel: 3 --- ## Introduction diff --git a/tests/linting/lint-files.js b/tests/linting/lint-files.js index 93eaf10616bb..99770a13c39b 100644 --- a/tests/linting/lint-files.js +++ b/tests/linting/lint-files.js @@ -8,7 +8,7 @@ import revalidator from 'revalidator' import { fromMarkdown } from 'mdast-util-from-markdown' import { visit } from 'unist-util-visit' import fs from 'fs/promises' -import frontmatter from '../../lib/frontmatter.js' +import { frontmatter, deprecatedProperties } from '../../lib/frontmatter.js' import languages from '../../lib/languages.js' import { tags } from '../../lib/liquid-tags/extended-markdown.js' import releaseNotesSchema from '../helpers/schemas/release-notes-schema.js' @@ -599,6 +599,18 @@ describe('lint markdown content', () => { expect(matches.length, errorMessage).toBe(0) }) + test('contains no deprecated frontmatter properties', async () => { + if (!isEarlyAccess) { + const usedDeprecateProps = deprecatedProperties.filter((prop) => { + return Object.keys(frontmatterData).includes(prop) + }) + expect( + usedDeprecateProps, + `The following frontmatter properties are deprecated: ${usedDeprecateProps}. Please remove the property from your article's frontmatter.` + ).toEqual([]) + } + }) + test('contains valid Liquid', async () => { // If Liquid can't parse the file, it'll throw an error. // For example, the following is invalid and will fail this test: diff --git a/tests/rendering-fixtures/minitoc.js b/tests/rendering-fixtures/minitoc.js new file mode 100644 index 000000000000..c1cd94aee4db --- /dev/null +++ b/tests/rendering-fixtures/minitoc.js @@ -0,0 +1,39 @@ +import { describe } from '@jest/globals' + +import { getDOM } from '../helpers/e2etest.js' + +describe('minitoc', () => { + // TODO disable the mini TOC tests when we replace it with sticky TOC header + test('renders mini TOC in articles with more than one heading', async () => { + const $ = await getDOM('/en/get-started/minitocs/multiple-headings') + expect($('h2#in-this-article').length).toBe(1) + expect($('h2#in-this-article + nav ul li').length).toBeGreaterThan(1) + }) + + test('does not render mini TOC in articles with only one heading', async () => { + const $ = await getDOM('/en/get-started/minitocs/one-heading') + expect($('h2#in-this-article').length).toBe(0) + }) + + test('does not render mini TOC in articles with no headings', async () => { + const $ = await getDOM('/en/get-started/minitocs/no-heading') + expect($('h2#in-this-article').length).toBe(0) + }) + + test('does not render mini TOC in non-articles', async () => { + const $ = await getDOM('/en/get-started') + expect($('h2#in-this-article').length).toBe(0) + }) + + test('renders mini TOC with correct links when headings contain markup', async () => { + const $ = await getDOM('/en/get-started/minitocs/markup-heading') + expect($('h2#in-this-article + nav ul li a[href="#on"]').length).toBe(1) + }) + + test("max heading doesn't exceed h2", async () => { + const $ = await getDOM('/en/get-started/minitocs/multiple-headings') + expect($('h2#in-this-article').length).toBe(1) + expect($('h2#in-this-article + nav ul').length).toBeGreaterThan(0) // non-indented items + expect($('h2#in-this-article + nav ul div ul div').length).toBe(0) // indented items + }) +}) diff --git a/tests/rendering/server.js b/tests/rendering/server.js index a753a4910c45..604e01f233e3 100644 --- a/tests/rendering/server.js +++ b/tests/rendering/server.js @@ -328,47 +328,6 @@ describe('server', () => { expect($('a[href="/en/authentication/keeping-your-account-and-data-secure"]')).toHaveLength(1) }) - describe('autogenerated mini TOCs', () => { - // TODO disable the mini TOC tests when we replace it with sticky TOC header - test('renders mini TOC in articles with more than one heading', async () => { - const $ = await getDOM('/en/github/getting-started-with-github/githubs-products') - expect($('h2#in-this-article').length).toBe(1) - expect($('h2#in-this-article + nav ul li').length).toBeGreaterThan(1) - }) - - test('renders mini TOC in articles that includes h3s when specified by frontmatter', async () => { - const $ = await getDOM( - '/en/admin/policies/enforcing-policies-for-your-enterprise/enforcing-policies-for-security-settings-in-your-enterprise' - ) - expect($('h2#in-this-article').length).toBe(1) - expect($('h2#in-this-article + nav ul').length).toBeGreaterThan(0) // non-indented items - expect($('h2#in-this-article + nav ul div ul div').length).toBeGreaterThan(0) // indented items - }) - - test('does not render mini TOC in articles with only one heading', async () => { - const $ = await getDOM( - '/en/github/visualizing-repository-data-with-graphs/about-repository-graphs' - ) - expect($('h2#in-this-article').length).toBe(0) - }) - - test('does not render mini TOC in articles with no headings', async () => { - const $ = await getDOM('/en/github/authenticating-to-github/reviewing-your-deploy-keys') - expect($('h2#in-this-article').length).toBe(0) - }) - - test('does not render mini TOC in non-articles', async () => { - const $ = await getDOM('/github/getting-started-with-github') - expect($('h2#in-this-article').length).toBe(0) - }) - - // TODO - test('renders mini TOC with correct links when headings contain markup', async () => { - const $ = await getDOM('/en/actions/using-workflows/workflow-syntax-for-github-actions') - expect($('h2#in-this-article + nav ul li a[href="#on"]').length).toBe(1) - }) - }) - describe('image asset paths', () => { const localImageCacheBustBasePathRegex = /^\/assets\/cb-\d+\/images\// const localImageBasePath = '/assets/images'