Fix the API group to recommend for 1.13 (#13478)
As reported in #13394, we have been incorrectly treating some resource types from the 'extensions' group as the latest (recommended) version. Resources impacted include `Ingress`, `NetworkPolicy`, `PodSecurityPolicy` etc. This turned out to be a defect in the doc generator which has been fixed. Closes: #13394
This commit is contained in:
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
@@ -65,7 +65,7 @@ $(document).ready(function() {
|
|||||||
currL1Nav = getNavNode(activeSection.token);
|
currL1Nav = getNavNode(activeSection.token);
|
||||||
currL1Nav.show('fast');
|
currL1Nav.show('fast');
|
||||||
}
|
}
|
||||||
// If active active is not the same as previous, hide previous L1Nav and show current L1Nav; set previous to current
|
// If active is not the same as previous, hide previous L1Nav and show current L1Nav; set previous to current
|
||||||
else if (activeSection.token !== prevSectionToken) {
|
else if (activeSection.token !== prevSectionToken) {
|
||||||
prevL1Nav = getNavNode(prevSectionToken);
|
prevL1Nav = getNavNode(prevSectionToken);
|
||||||
currL1Nav = getNavNode(activeSection.token);
|
currL1Nav = getNavNode(activeSection.token);
|
||||||
@@ -187,7 +187,7 @@ $(document).ready(function() {
|
|||||||
var scrollPosition = $(window).scrollTop();
|
var scrollPosition = $(window).scrollTop();
|
||||||
scrollActions(scrollPosition);
|
scrollActions(scrollPosition);
|
||||||
checkActiveElement(flatToc, scrollPosition);
|
checkActiveElement(flatToc, scrollPosition);
|
||||||
// TODO: prevent scroll on sidebar from propogating to window
|
// TODO: prevent scroll on sidebar from propagating to window
|
||||||
$(window).on('scroll', function(event) {
|
$(window).on('scroll', function(event) {
|
||||||
var scrollPosition = $(window).scrollTop();
|
var scrollPosition = $(window).scrollTop();
|
||||||
var activeSectionTokens = scrollActions(scrollPosition);
|
var activeSectionTokens = scrollActions(scrollPosition);
|
||||||
|
|||||||
Reference in New Issue
Block a user