Skip to content

Commit d083617

Browse files
fix: update include.html for heading error (#21906)
## Description - Problem: Some include shortcodes produce missing H3 ToC headings (ex: https://docker.slack.com/archives/C039ZM6GH4Z/p1737545677728649) - Fix: Update to include.html uses Hugo readFile function to fix parsing errors and updated all include shortcodes using Find and Replace to use correct syntax: `{{% "include-file" %}}` ## Related issues or tickets - [ENGDOCS-2398](https://docker.atlassian.net/browse/ENGDOCS-2398?atlOrigin=eyJpIjoiZGE3OTBmY2ExOTliNDVjY2JlOTc4Y2ViY2MwNDI3NDEiLCJwIjoiaiJ9) ## Reviews - [ ] Technical review [ENGDOCS-2398]: https://docker.atlassian.net/browse/ENGDOCS-2398?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
1 parent 4d82913 commit d083617

File tree

85 files changed

+129
-130
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+129
-130
lines changed

content/guides/swarm-deploy.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ params:
1313
time: 10 minutes
1414
---
1515

16-
{{< include "swarm-mode.md" >}}
16+
{{% include "swarm-mode.md" %}}
1717

1818
## Prerequisites
1919

@@ -35,7 +35,7 @@ Swarm never creates individual containers like you did in the previous step of t
3535

3636
Now you can write a simple stack file to run and manage your Todo app, the container `getting-started` image created in [Part 2](02_our_app.md) of the tutorial. Place the following in a file called `bb-stack.yaml`:
3737

38-
{{< include "swarm-compose-compat.md" >}}
38+
{{% include "swarm-compose-compat.md" %}}
3939

4040
```yaml
4141
version: "3.7"

content/manuals/admin/company/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ aliases:
4444

4545
{{< summary-bar feature_name="Company" >}}
4646

47-
{{< include "admin-company-overview.md" >}}
47+
{{% include "admin-company-overview.md" %}}
4848

4949
Learn how to administer a company in the following sections.
5050

content/manuals/admin/company/new-company.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ You can create a new company in the Docker Admin Console. Before you begin, you
1212
- Be the owner of the organization you want to add to your company
1313
- Have a Docker Business subscription
1414

15-
{{< include "admin-early-access.md" >}}
15+
{{% include "admin-early-access.md" %}}
1616

1717
## Create a company
1818

content/manuals/admin/company/organizations.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ title: Manage company organizations
88

99
You can manage the organizations in a company in the Docker Admin Console.
1010

11-
{{< include "admin-early-access.md" >}}
11+
{{% include "admin-early-access.md" %}}
1212

1313
## View all organizations
1414

content/manuals/admin/company/owners.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ owners for all associated organizations. Unlike organization owners, company
1515
owners don't need to be member of an organization. When company owners aren't a
1616
member in an organization, they don't occupy a seat.
1717

18-
{{< include "admin-early-access.md" >}}
18+
{{% include "admin-early-access.md" %}}
1919

2020
## Add a company owner
2121

content/manuals/admin/company/users.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ You can manage users at the company-level in the Docker Admin Console.
1010

1111
{{% admin-users product="admin" layer="company" %}}
1212

13-
{{< include "admin-early-access.md" >}}
13+
{{% include "admin-early-access.md" %}}
1414

1515
## Manage members on a team
1616

content/manuals/admin/organization/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ grid:
4545
icon: help
4646
---
4747

48-
{{< include "admin-org-overview.md" >}}
48+
{{% include "admin-org-overview.md" %}}
4949

5050
To create an organization, see [Create your organization](../organization/orgs.md).
5151

content/manuals/admin/organization/activity-logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Owners can also see the activity logs for their repository if the repository is
3030
{{< /tab >}}
3131
{{< tab name="Admin Console" >}}
3232

33-
{{< include "admin-early-access.md" >}}
33+
{{% include "admin-early-access.md" %}}
3434

3535
{{% admin-org-audit-log product="admin" %}}
3636

content/manuals/admin/organization/general-settings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Learn how to manage settings for organizations using Docker Admin C
55
keywords: organization, settings, Admin Console
66
---
77

8-
{{< include "admin-early-access.md" >}}
8+
{{% include "admin-early-access.md" %}}
99

1010
This section describes how to manage organization settings in the Docker Admin Console.
1111

content/manuals/admin/organization/insights.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Key benefits include:
3030

3131
## View Insights for organization users
3232

33-
{{< include "admin-early-access.md" >}}
33+
{{% include "admin-early-access.md" %}}
3434

3535
To access Insights, you must contact your Customer Success Manager to have the
3636
feature enabled. Once the feature is enabled, access Insights using the following

0 commit comments

Comments
 (0)