-
Notifications
You must be signed in to change notification settings - Fork 744
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update Kubeflow Notebooks container images docs (#3609)
* chore: update hugo and docsy Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com> * docs: update the notebook images page Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com> --------- Signed-off-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
- Loading branch information
1 parent
f88fcc0
commit 6ab922c
Showing
11 changed files
with
233 additions
and
119 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
154 changes: 118 additions & 36 deletions
154
content/en/docs/components/notebooks/container-images.md
Large diffs are not rendered by default.
Oops, something went wrong.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdown" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> | ||
{{ .Site.Params.version_menu }} | ||
</a> | ||
<div class="dropdown-menu dropdown-menu-md-right dropdown-menu-lg-left" aria-labelledby="navbarDropdownMenuLink"> | ||
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"> | ||
{{ $path := "" }} | ||
{{ if .Site.Params.version_menu_pagelinks }} | ||
{{ $path = .Page.RelPermalink }} | ||
{{ end }} | ||
{{ range .Site.Params.versions }} | ||
<a class="dropdown-item" href="{{ .url }}">{{ .version }}</a> | ||
<a class="dropdown-item" href="{{ .url }}{{ $path }}">{{ .version }}</a> | ||
{{ end }} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,62 @@ | ||
{{ $cover := and (.HasShortcode "blocks/cover") (not .Site.Params.ui.navbar_translucent_over_cover_disable) }} | ||
<nav class="js-navbar-scroll navbar navbar-expand-md navbar-dark {{ if $cover}} td-navbar-cover {{ end }} td-navbar"> | ||
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}"> | ||
<span class="navbar-logo">{{ if .Site.Params.ui.navbar_logo }}{{ with resources.Get "icons/logo.svg" }}{{ ( . | minify).Content | safeHTML }}{{ end }}{{ end }}</span><span class="text-uppercase font-weight-bold">{{ .Site.Title }}</span> | ||
</a> | ||
{{ $cover := and | ||
(.HasShortcode "blocks/cover") | ||
(not .Site.Params.ui.navbar_translucent_over_cover_disable) | ||
-}} | ||
|
||
<nav class="js-navbar-scroll navbar navbar-expand-md navbar-dark | ||
{{- if $cover }} td-navbar-cover {{- end }} td-navbar"> | ||
<a class="navbar-brand" href="{{ .Site.Home.RelPermalink }}"> | ||
{{- /**/ -}} | ||
<span class="navbar-brand__logo navbar-logo"> | ||
{{- if ne .Site.Params.ui.navbar_logo false -}} | ||
{{ with resources.Get "icons/logo.svg" -}} | ||
{{ ( . | minify).Content | safeHTML -}} | ||
{{ end -}} | ||
{{ end -}} | ||
</span> | ||
{{- /**/ -}} | ||
<span class="text-uppercase font-weight-bold"> | ||
{{- .Site.Title -}} | ||
</span> | ||
{{- /**/ -}} | ||
</a> | ||
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#main_navbar" aria-controls="main_navbar" aria-expanded="false" aria-label="Toggle navigation"> | ||
<span class="navbar-toggler-icon"></span> | ||
</button> | ||
<div class="collapse navbar-collapse ml-md-auto" id="main_navbar"> | ||
<ul class="navbar-nav ml-auto pt-4 pt-md-0 my-2 my-md-1"> | ||
{{ $p := . }} | ||
{{ range .Site.Menus.main }} | ||
<li class="nav-item mr-2 mr-lg-4 mt-1 mt-lg-0"> | ||
{{ $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) }} | ||
{{ with .Page }} | ||
{{ $active = or $active ( $.IsDescendant .) }} | ||
{{ end }} | ||
{{ $pre := .Pre }} | ||
{{ $post := .Post }} | ||
{{ $url := urls.Parse .URL }} | ||
{{ $baseurl := urls.Parse $.Site.Params.Baseurl }} | ||
<a class="nav-link{{if $active }} active{{end}}" href="{{ with .Page }}{{ .RelPermalink }}{{ else }}{{ .URL | relLangURL }}{{ end }}" {{ if ne $url.Host $baseurl.Host }}target="_blank" {{ end }}>{{ with .Pre}}{{ $pre }}{{ end }}<span{{if $active }} class="active"{{end}}>{{ .Name }}</span>{{ with .Post}}{{ $post }}{{ end }}</a> | ||
</li> | ||
{{ end }} | ||
{{ if .Site.Params.versions }} | ||
<li class="nav-item dropdown mt-1 mt-lg-0 mr-2"> | ||
{{ partial "navbar-version-selector.html" . }} | ||
</li> | ||
{{ end }} | ||
{{ if (gt (len .Site.Home.Translations) 0) }} | ||
<li class="nav-item dropdown mt-1 mt-lg-0"> | ||
{{ partial "navbar-lang-selector.html" . }} | ||
</li> | ||
{{ end }} | ||
</ul> | ||
</div> | ||
</nav> | ||
<ul class="navbar-nav ml-auto pt-4 pt-md-0 my-2 my-md-1"> | ||
{{ $p := . -}} | ||
{{ range .Site.Menus.main -}} | ||
<li class="nav-item mr-2 mr-lg-4 mt-1 mt-lg-0"> | ||
{{ $active := or ($p.IsMenuCurrent "main" .) ($p.HasMenuCurrent "main" .) -}} | ||
{{ with .Page }}{{ $active = or $active ( $.IsDescendant .) }}{{ end -}} | ||
{{ $pre := .Pre -}} | ||
{{ $post := .Post -}} | ||
{{ $url := urls.Parse .URL -}} | ||
{{ $baseurl := urls.Parse $.Site.Params.Baseurl -}} | ||
<a {{/**/ -}} | ||
class="nav-link {{- if $active }} active {{- end }}" {{/**/ -}} | ||
href="{{ with .Page }}{{ .RelPermalink }}{{ else }}{{ .URL | relLangURL }}{{ end }}" | ||
{{- if ne $url.Host $baseurl.Host }} target="_blank" {{- end -}} | ||
> | ||
{{- with .Pre }}{{ $pre }}{{ end -}} | ||
<span {{- if $active }} class="active" {{- end }}> | ||
{{- .Name -}} | ||
</span> | ||
{{- with .Post }}{{ $post }}{{ end -}} | ||
</a> | ||
</li> | ||
{{ end -}} | ||
{{ if .Site.Params.versions -}} | ||
<li class="nav-item dropdown mt-1 mt-lg-0 mr-2"> | ||
{{ partial "navbar-version-selector.html" . -}} | ||
</li> | ||
{{ end -}} | ||
{{ if (gt (len .Site.Home.Translations) 0) -}} | ||
<li class="nav-item dropdown mt-1 mt-lg-0 mr-2"> | ||
{{ partial "navbar-lang-selector.html" . -}} | ||
</li> | ||
{{ end -}} | ||
</ul> | ||
</div> | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
[build] | ||
publish = "public" | ||
command = "cd themes/docsy && git submodule update -f --init && cd ../.. && hugo --gc --minify" | ||
command = "cd themes/docsy && git submodule update -f --init && npm install && cd ../.. && hugo --gc --minify" | ||
|
||
[context.deploy-preview.environment] | ||
HUGO_VERSION = "0.92.0" | ||
NODE_VERSION = "16" | ||
HUGO_VERSION = "0.119.0" | ||
NODE_VERSION = "18" | ||
|
||
[context.production.environment] | ||
HUGO_VERSION = "0.92.0" | ||
HUGO_VERSION = "0.119.0" | ||
HUGO_ENV = "production" | ||
NODE_VERSION = "16" | ||
NODE_VERSION = "18" | ||
|
||
[context.branch-deploy.environment] | ||
HUGO_VERSION = "0.92.0" | ||
NODE_VERSION = "16" | ||
HUGO_VERSION = "0.119.0" | ||
NODE_VERSION = "18" |