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:
Qiming
2019-03-29 10:47:40 +08:00
committed by GitHub
parent 16d47a26a4
commit 8d6823ba24
3 changed files with 2467 additions and 1677 deletions
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.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) {
prevL1Nav = getNavNode(prevSectionToken);
currL1Nav = getNavNode(activeSection.token);
@@ -187,7 +187,7 @@ $(document).ready(function() {
var scrollPosition = $(window).scrollTop();
scrollActions(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) {
var scrollPosition = $(window).scrollTop();
var activeSectionTokens = scrollActions(scrollPosition);