Fix for blank lines around code fences (#38255)
This commit is contained in:
@@ -78,42 +78,55 @@ For example, you can enable any {% data variables.product.prodname_GH_advanced_s
|
||||
1. Enable features for {% data variables.product.prodname_GH_advanced_security %}.
|
||||
|
||||
- To enable {% data variables.product.prodname_code_scanning_caps %}, enter the following commands.
|
||||
|
||||
```shell
|
||||
ghe-config app.minio.enabled true
|
||||
ghe-config app.code-scanning.enabled true
|
||||
```
|
||||
|
||||
- To enable {% data variables.product.prodname_secret_scanning_caps %}, enter the following command.
|
||||
|
||||
```shell
|
||||
ghe-config app.secret-scanning.enabled true
|
||||
```
|
||||
|
||||
- To enable the dependency graph, enter the following {% ifversion ghes %}command{% else %}commands{% endif %}.
|
||||
{% ifversion ghes %}```shell
|
||||
ghe-config app.dependency-graph.enabled true
|
||||
|
||||
```
|
||||
{% else %}```shell
|
||||
ghe-config app.github.dependency-graph-enabled true
|
||||
ghe-config app.github.vulnerability-alerting-and-settings-enabled true
|
||||
```{% endif %}
|
||||
|
||||
2. Optionally, disable features for {% data variables.product.prodname_GH_advanced_security %}.
|
||||
|
||||
- To disable {% data variables.product.prodname_code_scanning %}, enter the following commands.
|
||||
|
||||
```shell
|
||||
ghe-config app.minio.enabled false
|
||||
ghe-config app.code-scanning.enabled false
|
||||
```
|
||||
|
||||
- To disable {% data variables.product.prodname_secret_scanning %}, enter the following command.
|
||||
|
||||
```shell
|
||||
ghe-config app.secret-scanning.enabled false
|
||||
```
|
||||
|
||||
- To disable the dependency graph, enter the following {% ifversion ghes %}command{% else %}commands{% endif %}.
|
||||
{% ifversion ghes %}```shell
|
||||
ghe-config app.dependency-graph.enabled false
|
||||
|
||||
```
|
||||
{% else %}```shell
|
||||
ghe-config app.github.dependency-graph-enabled false
|
||||
ghe-config app.github.vulnerability-alerting-and-settings-enabled false
|
||||
```{% endif %}
|
||||
|
||||
3. Apply the configuration.
|
||||
|
||||
```shell
|
||||
ghe-config-apply
|
||||
```
|
||||
|
||||
@@ -40,6 +40,7 @@ Before configuring {% data variables.product.prodname_dependabot %}, install Doc
|
||||
docker pull ghcr.io/dependabot/dependabot-updater-github-actions:VERSION@SHA
|
||||
docker pull ghcr.io/dependabot/dependabot-updater-npm:VERSION@SHA
|
||||
```
|
||||
|
||||
{%- endif %}
|
||||
|
||||
{% note %}
|
||||
|
||||
@@ -42,6 +42,7 @@ If {% data variables.location.product_location %} uses clustering, you cannot en
|
||||
1. In the administrative shell, enable the dependency graph on {% data variables.location.product_location %}:
|
||||
{% ifversion ghes %}```shell
|
||||
ghe-config app.dependency-graph.enabled true
|
||||
|
||||
```
|
||||
{% else %}```shell
|
||||
ghe-config app.github.dependency-graph-enabled true
|
||||
|
||||
Reference in New Issue
Block a user