File tree Expand file tree Collapse file tree 4 files changed +31
-12
lines changed Expand file tree Collapse file tree 4 files changed +31
-12
lines changed Original file line number Diff line number Diff line change @@ -7,5 +7,5 @@ source ./hack/lib/common.sh
7
7
header_text " Building the site and checking links"
8
8
docker volume create sdk-html
9
9
docker run --rm -v " $( pwd) :/src" -v sdk-html:/target klakegg/hugo:0.70.0-ext-ubuntu -s website
10
- docker run --rm -v sdk-html:/target mtlynch/htmlproofer /target --empty-alt-ignore --http-status-ignore 429
10
+ docker run --rm -v sdk-html:/target mtlynch/htmlproofer /target --empty-alt-ignore --http-status-ignore 429 --allow_hash_href
11
11
docker volume rm sdk-html
Original file line number Diff line number Diff line change @@ -78,12 +78,19 @@ github_repo = "https://github.com/operator-framework/operator-sdk"
78
78
79
79
[[params .versions ]]
80
80
version = " master"
81
- url = " /docs "
81
+ url = " https://master.sdk.operatorframework.io "
82
82
83
83
[[params .versions ]]
84
- version = " v0.16 "
85
- url = " https://github.com/operator-framework/operator- sdk/tree/v0.16.x/doc "
84
+ version = " Latest Release "
85
+ url = " https://sdk.operatorframework.io "
86
86
87
+ [[params .versions ]]
88
+ version = " v0.18"
89
+ url = " https://v0-18-x.sdk.operatorframework.io"
90
+
91
+ [[params .versions ]]
92
+ version = " v0.17"
93
+ url = " https://github.com/operator-framework/operator-sdk/tree/v0.17.x/doc"
87
94
88
95
# Specify a value here if your content directory is not in your repo's root directory
89
96
github_subdir = " website"
Original file line number Diff line number Diff line change
1
+ < a class ="of-link-list__a nav-link dropdown-toggle " href ="# " id ="navbarDropdown " role ="button " data-toggle ="dropdown " aria-haspopup ="true " aria-expanded ="false ">
2
+ {{ .Site.Params.version_menu }}
3
+ </ a >
4
+ < div class ="dropdown-menu " aria-labelledby ="navbarDropdownMenuLink ">
5
+ {{ range .Site.Params.versions }}
6
+ < a class ="dropdown-item " href ="{{ .url }} "> {{ .version }}</ a >
7
+ {{ end }}
8
+ </ div >
Original file line number Diff line number Diff line change 2
2
< a href ="/ " class ="of-brand ">
3
3
< picture class ="of-brand__picture ">
4
4
< source srcset ="/build/images/logo.svg " media ="(min-width: 992px) ">
5
- < img src ="/build/images/logo-sm.svg " alt ="">
6
- </ picture >
5
+ < img src ="/build/images/logo-sm.svg " alt ="">
6
+ </ picture >
7
7
</ a >
8
8
< nav class ="of-nav-main nav-collapse ">
9
9
< ul class ="of-nav-main__items menu-items ">
10
10
< li class ="of-nav-main__item "> < a class ="of-link-list__a {{ if eq .URL "/" }} of-m-active {{end}}" href="/"> Home</ a > </ li >
11
11
{{ $currentPage := . }}
12
- {{ range .Site.Menus.main }}
13
- < li class ="of-nav-main__item "> < a class ="of-link-list__a{{if or ($currentPage.IsMenuCurrent "main " .) ($currentPage.HasMenuCurrent "main" .) }} of-m-active{{end}}" href="{{ .URL }} " title ="{{ .Title }} "> {{ .Name }}</ a > </ li >
14
- {{ end }}
15
- </ ul >
12
+ {{ range .Site.Menus.main }}
13
+ < li class ="of-nav-main__item "> < a class ="of-link-list__a{{if or ($currentPage.IsMenuCurrent "main " .) ($currentPage.HasMenuCurrent "main" .) }} of-m-active{{end}}" href="{{ .URL }} " title ="{{ .Title }} "> {{ .Name }}</ a > </ li >
14
+ {{ end }}
15
+ {{ if .Site.Params.versions }}
16
+ < li class ="of-nav-main__item ">
17
+ {{ partial "navbar-version-selector.html" . }}
18
+ </ li >
19
+ {{ end }}
20
+ </ ul >
16
21
</ nav >
17
-
18
22
< div class ="of-header-main__search ">
19
23
{{ partial "search-input.html" . }}
20
24
</ div >
21
- </ header >
25
+ </ header >
You can’t perform that action at this time.
0 commit comments