diff --git a/.hugo/hugo.toml b/.hugo/hugo.toml index d56e5478d1cf..f8a667230e4d 100644 --- a/.hugo/hugo.toml +++ b/.hugo/hugo.toml @@ -37,6 +37,8 @@ ignoreFiles = ["quickstart/shared", "quickstart/python", "quickstart/js", "quick github_subdir = "docs" offlineSearch = true version_menu = "Releases" + releases_url = "/genai-toolbox/releases.releases" + global_logo_url = "/genai-toolbox/" [params.ui] ul_show = 100 showLightDarkModeMenu = true diff --git a/.hugo/layouts/docs/section.html b/.hugo/layouts/docs/section.html new file mode 100644 index 000000000000..c8d7a5f36fd3 --- /dev/null +++ b/.hugo/layouts/docs/section.html @@ -0,0 +1,24 @@ +{{ define "main" }} +
+

{{ .Title }}

+ {{ with .Params.description }}
{{ . | markdownify }}
{{ end }} +
+ {{ partial "taxonomy_terms_article_wrapper.html" . }} + {{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }} + {{ partial "reading-time.html" . }} + {{ end }} +
+ {{ .Content }} + {{ partial "section-index.html" . }} + {{ partial "pager.html" . }} + {{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }} + {{ partial "feedback.html" .Site.Params.ui.feedback }} +
+ {{ end }} + {{ if (.Site.Params.DisqusShortname) }} +
+ {{ partial "disqus-comment.html" . }} + {{ end }} + {{ partial "page-meta-lastmod.html" . }} +
+{{ end }} \ No newline at end of file diff --git a/.hugo/layouts/docs/single.html b/.hugo/layouts/docs/single.html new file mode 100644 index 000000000000..c8d7a5f36fd3 --- /dev/null +++ b/.hugo/layouts/docs/single.html @@ -0,0 +1,24 @@ +{{ define "main" }} +
+

{{ .Title }}

+ {{ with .Params.description }}
{{ . | markdownify }}
{{ end }} +
+ {{ partial "taxonomy_terms_article_wrapper.html" . }} + {{ if (and (not .Params.hide_readingtime) (.Site.Params.ui.readingtime.enable)) }} + {{ partial "reading-time.html" . }} + {{ end }} +
+ {{ .Content }} + {{ partial "section-index.html" . }} + {{ partial "pager.html" . }} + {{ if (and (not .Params.hide_feedback) (.Site.Params.ui.feedback.enable) (.Site.GoogleAnalytics)) }} + {{ partial "feedback.html" .Site.Params.ui.feedback }} +
+ {{ end }} + {{ if (.Site.Params.DisqusShortname) }} +
+ {{ partial "disqus-comment.html" . }} + {{ end }} + {{ partial "page-meta-lastmod.html" . }} +
+{{ end }} \ No newline at end of file diff --git a/.hugo/layouts/partials/hooks/body-end.html b/.hugo/layouts/partials/hooks/body-end.html new file mode 100644 index 000000000000..ac9cf0b5b096 --- /dev/null +++ b/.hugo/layouts/partials/hooks/body-end.html @@ -0,0 +1,8 @@ + \ No newline at end of file diff --git a/.hugo/layouts/partials/hooks/head-end.html b/.hugo/layouts/partials/hooks/head-end.html index e93923b5899e..7eae6c6a38d9 100644 --- a/.hugo/layouts/partials/hooks/head-end.html +++ b/.hugo/layouts/partials/hooks/head-end.html @@ -1 +1,4 @@ - \ No newline at end of file + +{{ if not .Site.Params.disableMigrationBanner }} + +{{ end }} diff --git a/.hugo/layouts/partials/navbar-version-selector.html b/.hugo/layouts/partials/navbar-version-selector.html index 1ddad57e5208..bd44dd372e5e 100644 --- a/.hugo/layouts/partials/navbar-version-selector.html +++ b/.hugo/layouts/partials/navbar-version-selector.html @@ -2,11 +2,66 @@ -