Skip to content

Commit ecb55a5

Browse files
sarahmaddoxk8s-ci-robot
authored andcommitted
Upgraded to the latest version of the Docsy theme (kubeflow#1197)
* WIP Initial commit of upgraded Docsy theme. * Removed the Docsy userguide as we don't need it in the Kubeflow repo. * Added generated assets. * Removed custom layout body-end.html because Docsy itself now includes links on headings. * Minor updates to custized layouts to comply with Docsy updates. * Updated custom page-meta-links layout. * Updated to use Docsy's version selector, based on our customization. * Fixed logic for construction of edit URL. * Restored the older version of the Kubeflow custom layout for page meta links.
1 parent ad2a3e0 commit ecb55a5

File tree

10,251 files changed

+239232
-196303
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

10,251 files changed

+239232
-196303
lines changed

config.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ privacy_policy = "https://policies.google.com/privacy"
106106
gcs_engine_id = "007239566369470735695:624rglujm-w"
107107

108108
version = "v0.6"
109+
version_menu = "v0.6"
109110
githubbranch = "v0.6-branch"
110111

111112
# Add new release versions here

layouts/partials/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929
{{ define "footer-links-block" }}
3030
<ul class="list-inline mb-0">
3131
{{ range . }}
32-
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}">
32+
<li class="list-inline-item mx-2 h3" data-toggle="tooltip" data-placement="top" title="{{ .name }}" aria-label="{{ .name }}">
3333
<a class="text-white" target="_blank" href="{{ .url }}">
3434
<i class="{{ .icon }}"></i>
3535
</a>
3636
</li>
3737
{{ end }}
3838
</ul>
39-
{{ end }}
39+
{{ end }}

layouts/partials/head.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<meta charset="utf-8">
22
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
3-
{{ .Hugo.Generator }}
3+
{{ hugo.Generator }}
44
{{ if eq (getenv "HUGO_ENV") "production" }}
55
<META NAME="ROBOTS" CONTENT="INDEX, FOLLOW">
66
{{ else }}
@@ -24,4 +24,4 @@
2424
src="https://code.jquery.com/jquery-3.3.1.min.js"
2525
integrity="sha256-FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8="
2626
crossorigin="anonymous"></script>
27-
{{ partial "hooks/head-end.html" . }}
27+
{{ partial "hooks/head-end.html" . }}

layouts/partials/hooks/body-end.html

Lines changed: 0 additions & 27 deletions
This file was deleted.

layouts/partials/navbar.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,12 @@
1616
{{ $baseurl := urls.Parse $.Site.Params.Baseurl }}
1717
<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 }}><span{{if $active }} class="active"{{end}}>{{ .Name }}</span></a>
1818
</li>
19-
{{ end }}
19+
{{ end }}
20+
{{ if .Site.Params.versions }}
2021
<li class="nav-item dropdown d-none d-lg-block">
2122
{{ partial "navbar-version-selector.html" . }}
22-
</li>
23+
</li>
24+
{{ end }}
2325
{{ if (gt (len .Site.Home.Translations) 0) }}
2426
<li class="nav-item dropdown d-none d-lg-block">
2527
{{ partial "navbar-lang-selector.html" . }}
@@ -28,4 +30,4 @@
2830
</ul>
2931
</div>
3032
<div class="navbar-nav d-none d-lg-block">{{ partial "search-input.html" . }}</div>
31-
</nav>
33+
</nav>

resources/_gen/assets/js/js/main.js_d11fe7b62c27961c87ecd0f2490357b9.content

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/_gen/assets/js/js/main.js_d11fe7b62c27961c87ecd0f2490357b9.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/_gen/assets/scss/scss/main.scss_5398e26fd581c6d99b97101474eff48e.content

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

resources/_gen/assets/scss/scss/main.scss_5398e26fd581c6d99b97101474eff48e.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)