Skip to content

Commit 2bfc422

Browse files
committed
ExampleSite: Add Everything page
Remove unused shortcodes (checked documentation and NIC repos) Add initial spacing
1 parent d52c2ab commit 2bfc422

File tree

9 files changed

+73
-25
lines changed

9 files changed

+73
-25
lines changed

assets/css/v2/style.css

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
--sidebar-width: 24rem;
3636
--sidebar-line-width: 11.5px;
3737
--side-gutter-width: 20rem;
38-
--table-top-bottom-spacing: 3rem;
38+
--table-top-bottom-spacing: 1rem;
3939
--table-row-space-between: 1.5rem;
4040
--table-min-column-spacing-narrow: 1.5rem;
4141
--table-min-column-spacing-wide: 0.75rem;
@@ -260,6 +260,7 @@ nav {
260260
grid-template-columns: var(--text-content-width-iphone-13) 1fr;
261261
margin-top: 2rem;
262262
grid-auto-rows: max-content;
263+
grid-gap: 1rem;
263264
}
264265

265266
.text-content > :not(.wide) {
@@ -835,7 +836,7 @@ a:hover {
835836

836837
h1 {
837838
font-size: 2rem;
838-
margin: 0 0 2rem 0;
839+
margin: 0 0 1rem 0;
839840
}
840841

841842
h2 {

exampleSite/content/includes/index.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
headless: true
3+
---
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
You can find more information about the NGINX Plus OpenID Connect integration in the project's [GitHub repo](https://github.com/nginxinc/nginx-openid-connect#nginx-openid-connect).

exampleSite/content/test-product/_index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
description: Test pages for nginx-hugo-theme
33
title: Test pages for nginx-hugo-theme
44
weight: 100
5+
toc: true
56
---
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
---
2+
description: Everything
3+
title: Everything
4+
weight: 200
5+
---
6+
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+
13+
## bootstrap-table
14+
15+
{{<bootstrap-table "table">}}
16+
| Method | Endpoint |
17+
|--------|---------------------------------------------------------------------|
18+
| GET | `/api/platform/v1/systems/{systemUID}/instances` |
19+
| POST | `/api/platform/v1/security/{systemUID}/instances/{nginxUID}/config` |
20+
{{</bootstrap-table>}}
21+
22+
## call-out
23+
24+
{{<call-out "tip" "Enhanced templating with Sprig">}}
25+
<i class="fas fa-code-branch"></i>
26+
Go templating in Instance Manager includes support for the [Sprig function library](https://masterminds.github.io/sprig/), offering a wide range of additional functions that can be used in templates for advanced operations like string manipulation, data conversion, mathematics, and more.
27+
{{</call-out>}}
28+
29+
## caution
30+
31+
{{<caution>}}
32+
Enabling logs using the **NGINX Logs** blade on your NGINXaaS deployment is now deprecated. This feature will be removed in an upcoming update. If you have issues accessing your NGINX logs using the deprecated method, please follow the steps in this guide to access your NGINX logs.
33+
{{</caution>}}
34+
35+
36+
## comment
37+
38+
This one literally stops the contents being rendered... It's for markdown comments.
39+
{{<comment>}}
40+
This won't render anything.
41+
{{</comment>}}
42+
43+
## deprecated
44+
45+
{{< deprecated >}}Using the helper.sh script to download your NGINX Plus certificate and key bundle is deprecated in in NGINX Controller v3.9.{{< /deprecated >}}
46+
47+
## download
48+
49+
{{< download "ngf/grafana-dashboard.json" "ngf-grafana-dashboard.json" >}}
50+
51+
## img
52+
53+
{{< img src="hero-graphic.webp" caption="hero-graphic" width="50%">}}
54+
55+
## important
56+
57+
{{< important >}}If the fingerprint is different, remove the file.{{< /important >}}
58+
59+
## include
60+
61+
{{< include "nginx-openid-repo-note.txt" >}}
62+
63+
## see-also
64+
65+
{{< see-also >}}See also!{{< /see-also >}}

layouts/shortcodes/collapse.html

Lines changed: 0 additions & 8 deletions
This file was deleted.

layouts/shortcodes/details-disclosure.html

Lines changed: 0 additions & 10 deletions
This file was deleted.

layouts/shortcodes/devportal.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

layouts/shortcodes/heading.html

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)