This is an automated email from the ASF dual-hosted git repository. chengpan pushed a commit to branch 1.8.1-docs in repository https://gitbox.apache.org/repos/asf/kyuubi-website.git
commit 2c3aab8a21115d9afc5199926c652327d86b94df Author: Kent Yao <[email protected]> AuthorDate: Mon May 8 17:00:52 2023 +0800 Workaround for 1.7.1 build failure by urllib3 removing support [email protected] (#128) --- layouts/index.html | 12 +++++++++++- layouts/partials/navbar.html | 12 +++++++++++- 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 836d346..bfe880e 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -27,7 +27,17 @@ </p> <div class="bannerBtnContainer"> {{ range $release := first 1 .Site.Params.releases }} - <a class="bannerBtn" href="https://kyuubi.readthedocs.io/en/{{ $release }}/quick_start">{{ i18n "getting-started" }} »</a> + <!-- + TODO: Remove this workaround when + - the build of readthedocs supports OpenSSL 1.1.1+ + - 1.7.2 comes out + More info: https://github.com/urllib3/urllib3/issues/2168 + --> + {{ $fixed_release := $release }} + {{ if eq $release "v1.7.1" }} + {{ $fixed_release = "v1.7.1-rc0" }} + {{ end }} + <a class="bannerBtn" href="https://kyuubi.readthedocs.io/en/{{ $fixed_release }}/quick_start">{{ i18n "getting-started" }} »</a> {{ end }} <a class="bannerBtn" href="https://github.com/apache/kyuubi">GitHub »</a> </div> diff --git a/layouts/partials/navbar.html b/layouts/partials/navbar.html index c938f51..dde1144 100644 --- a/layouts/partials/navbar.html +++ b/layouts/partials/navbar.html @@ -35,7 +35,17 @@ {{if or (eq .Identifier "docs") }} {{range $idx, $release := $currentPage.Site.Params.releases }} <li> - <a class="childNavLink" href="https://kyuubi.readthedocs.io/en/{{ $release }}/"> + <!-- + TODO: Remove this workaround when + - the build of readthedocs supports OpenSSL 1.1.1+ + - 1.7.2 comes out + More info: https://github.com/urllib3/urllib3/issues/2168 + --> + {{ $fixed_release := $release }} + {{ if eq $release "v1.7.1" }} + {{ $fixed_release = "v1.7.1-rc0" }} + {{ end }} + <a class="childNavLink" href="https://kyuubi.readthedocs.io/en/{{ $fixed_release }}/"> {{ trim $release "v"}} {{ if (eq $idx 0) }} (latest)
