Skip to content

Commit edd461c

Browse files
lamATnginxtravisamartin
authored andcommitted
Refactor Redocly code to handle new theme (#236)
fix: refactored api page to render with mf
1 parent ed10dfb commit edd461c

File tree

2 files changed

+28
-20
lines changed

2 files changed

+28
-20
lines changed

content/nim/releases/known-issues.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ February 6, 2025
2929

3030
#### Description
3131

32-
In NGINX Instance Manager (NIM) v2.19.0, publishing a NAP policy from the UI fails if the latest NAP compiler v5.264 (NAP v4.13.0 or NAP v5.5.0) is manually installed without adding the NGINX repository certificate and key.
32+
In NGINX Instance Manager v2.19.0, publishing an NGINX App Protect WAF policy from the UI fails if the latest NGINX App Protect WAF compiler v5.264.0 (for NGINX App Protect WAF v4.13.0 or v5.5.0) is manually installed without adding the NGINX repository certificate and key.
3333

3434
#### Workaround
3535

@@ -69,7 +69,7 @@ November 8, 2024
6969

7070
#### Description
7171

72-
On Ubuntu 24, NGINX Instance Manager (NIM) v2.18.0 and v2.19.0 fails to automatically download NAP compiler v5.210.0 (for NAP v4.12.0) and v5.264.0 (for NAP v4.13.0) from the NGINX repository.
72+
On Ubuntu 24, NGINX Instance Manager v2.18.0 and v2.19.0 fail to automatically download NGINX App Protect WAF compiler v5.210.0 (for NGINX App Protect WAF v4.12.0) and v5.264.0 (for NGINX App Protect WAF v4.13.0) from the NGINX repository.
7373

7474
#### Workaround
7575

layouts/redoc/single.html

Lines changed: 26 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -60,24 +60,32 @@
6060
}
6161
</style>
6262
<!--Use wide page layout for the API reference pages-->
63-
<div
64-
class="row flex-md-nowrap"
65-
style="
66-
position: relative;
67-
flex-wrap: nowrap;
68-
margin-right: 9px;
69-
max-width: calc(100% + 9px);
70-
"
71-
>
72-
<nav
73-
class="sidenav overflow-auto col-md-3 d-none d-md-block d-print-none sidebar-toggle-hidden-width"
74-
style="width: 25%; border-right: 1px solid #e6e6e6"
75-
;
63+
<section class="main-layout api">
64+
<div class="sidebar-layout" data-mf="true" style="display:none;">
65+
<nav id="sidebar-v2" class="sidebar">
66+
{{ partial "sidebar-v2.html" . }}
67+
</nav>
68+
</div>
69+
<div
70+
class="row flex-md-nowrap content-layout"
71+
style="
72+
position: relative;
73+
flex-wrap: nowrap;
74+
margin-right: 9px;
75+
max-width: calc(100% + 9px);
76+
"
7677
>
77-
{{ partial "sidebar.html" . }}
78-
</nav>
79-
<div class="nginx-docs-api-container">
80-
<div id="api-component">{{ .Content}}</div>
78+
<nav
79+
id="sidebar"
80+
class="sidenav overflow-auto col-md-3 d-none d-md-block d-print-none sidebar-toggle-hidden-width"
81+
style="width: 25%; border-right: 1px solid #e6e6e6"
82+
;
83+
>
84+
{{ partial "sidebar.html" . }}
85+
</nav>
86+
<div class="nginx-docs-api-container">
87+
<div id="api-component">{{ .Content}}</div>
88+
</div>
89+
</section>
8190
</div>
82-
</div>
8391
{{ end }}

0 commit comments

Comments
 (0)