Skip to content

Commit 389d4c6

Browse files
chore: Remove deprecated call-out examples
1 parent b87dfc8 commit 389d4c6

File tree

2 files changed

+2
-37
lines changed

2 files changed

+2
-37
lines changed

exampleSite/content/test-product/call-out/all-callouts.md

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,6 @@ This is a plain callout with no title. It has a [link](#plain-callouts) to a hea
1717
This is a plain callout with a title. It has a [link](#plain-callouts) to a heading on this page. Its shortcode is `<call-out>` with a custom title parameter.
1818
{{</call-out>}}
1919

20-
{{<before-you-begin>}}
21-
This is a plain callout with a default title for its type. It has a [link](#plain-callouts) to a heading on this page. Its shortcode is `<before-you-begin>`.
22-
{{</before-you-begin>}}
23-
2420
## Side Callouts
2521

2622
Naturally, callouts should contain less text within them than the text it lives next to. We do this for several reasons. Firstly, it looks weird to have a big empty space in the primary content area. Secondly, if you have more text in the callout, then it stops being a callout. I have asked an LLM to lengthen this passage.
@@ -71,24 +67,3 @@ And a final line.
7167
This is a Warning callout with a custom title. There was previously a bug with **bold text** that we should be aware of and continue to check for. This callout was invoked with the `<call-out>` shortcode with the `.warning` class, and a custom title.
7268
{{</call-out>}}
7369

74-
75-
76-
77-
## Old "plain" callouts
78-
The following will not have special styling, but are pre-existing shortcodes.
79-
80-
{{<note>}}
81-
This is `<note>`. In oldframe it should have `note:` in bold, at the start.
82-
{{</note>}}
83-
84-
{{<tip>}}
85-
This is `<tip>`. In oldframe it should have `tip:` in bold, at the start.
86-
{{</tip>}}
87-
88-
{{<before-you-begin>}}
89-
This is `<before-you-begin>`.
90-
{{</before-you-begin>}}
91-
92-
{{<see-also>}}
93-
This is `<see-also>`.
94-
{{</see-also>}}

exampleSite/content/test-product/everything.md

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@ title: Everything
44
weight: 200
55
---
66

7-
## before-you-begin
8-
9-
{{< before-you-begin >}}
10-
Before you can set users' passwords, ensure you have [created users](#create-users) in NGINX Instance Manager. Once you've created the users, you can use one of the following options to set their passwords.
11-
{{< /before-you-begin >}}
12-
137
## bootstrap-table
148

159
{{<bootstrap-table "table">}}
@@ -60,10 +54,6 @@ This won't render anything.
6054

6155
{{< include "nginx-openid-repo-note.txt" >}}
6256

63-
## see-also
64-
65-
{{< see-also >}}See also!{{< /see-also >}}
66-
6757

6858
## details
6959
<details>
@@ -75,11 +65,11 @@ And this is the content on how to do so.
7565
<details open>
7666
<summary>example dynamic-agent.conf</summary>
7767

78-
{{<note>}}
68+
{{<call-out "note">}}
7969
Default location in Linux environments: `/var/lib/nginx-agent/agent-dynamic.conf`
8070

8171
Default location in FreeBSD environments: `/var/db/nginx-agent/agent-dynamic.conf`
82-
{{</note>}}
72+
{{</call-out>}}
8373

8474
```yaml
8575
# Dynamic configuration file for NGINX Agent.

0 commit comments

Comments
 (0)