From 1a0c23846fecabb935bcf3d4172cb6f2ed3b809e Mon Sep 17 00:00:00 2001 From: franciscodr Date: Thu, 21 Jul 2022 13:47:01 +0200 Subject: [PATCH 1/4] Update SASS file to show separator bar before the third item --- arrow-site/docs/_sass/components/docs/_sidebar-menu.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arrow-site/docs/_sass/components/docs/_sidebar-menu.scss b/arrow-site/docs/_sass/components/docs/_sidebar-menu.scss index d7d2a633a60..300555dc4b7 100644 --- a/arrow-site/docs/_sass/components/docs/_sidebar-menu.scss +++ b/arrow-site/docs/_sass/components/docs/_sidebar-menu.scss @@ -110,7 +110,7 @@ } } - li:nth-child(4) { + li:nth-child(3) { border-top: solid 1px rgba(255, 255, 255, 0.5); } } From 17e540df35360a21b5ecae8b2b92acb1652363ef Mon Sep 17 00:00:00 2001 From: franciscodr Date: Thu, 21 Jul 2022 13:48:36 +0200 Subject: [PATCH 2/4] Update the list of available Arrow versions --- arrow-site/docs/_data/doc-versions.yml | 27 +++++++++----------------- 1 file changed, 9 insertions(+), 18 deletions(-) diff --git a/arrow-site/docs/_data/doc-versions.yml b/arrow-site/docs/_data/doc-versions.yml index 3d01425cb81..d7b3aae277d 100644 --- a/arrow-site/docs/_data/doc-versions.yml +++ b/arrow-site/docs/_data/doc-versions.yml @@ -1,34 +1,25 @@ docVersions: - - title: "v0.10.5" - url: https://arrow-kt.io/docs/0.10/ - previous: https://arrow-kt.io/docs/0.9/ - - - title: "v0.11.0" - url: https://arrow-kt.io/docs/0.11/ - previous: https://arrow-kt.io/docs/0.10/ - - - title: "v0.12.1" + - title: "Version 0.12.x" url: https://arrow-kt.io/docs/0.12/ previous: https://arrow-kt.io/docs/0.11/ - - title: "v0.13.2" + - title: "Version 0.13.x" url: https://arrow-kt.io/docs/0.13/ previous: https://arrow-kt.io/docs/0.12/ - - title: "v1.0.0" - url: https://arrow-kt.io/ + - title: "Version 1.0.x" + url: https://arrow-kt.io/docs/1.0/ previous: https://arrow-kt.io/docs/0.13/ - - title: "v1.0.1" + - title: "Version 1.1.x" url: https://arrow-kt.io/ - previous: https://arrow-kt.io/docs/1.0.0/ + previous: https://arrow-kt.io/docs/1.0/ - - title: "v1.0.2-SNAPSHOT" + - title: "Latest Alpha version" url: https://arrow-kt.io/docs/next/ previous: https://arrow-kt.io/ # Literals -previous: PREVIOUS -stable: STABLE -next: NEXT +stable: Current version +next: Latest Alpha version From 5f1682bfe7f64941757be039249d9c55ce03c0e3 Mon Sep 17 00:00:00 2001 From: franciscodr Date: Thu, 21 Jul 2022 13:49:38 +0200 Subject: [PATCH 3/4] Remove link for the previous version --- .../docs/_includes/_sidebar-doc-versions.html | 22 +++---------------- 1 file changed, 3 insertions(+), 19 deletions(-) diff --git a/arrow-site/docs/_includes/_sidebar-doc-versions.html b/arrow-site/docs/_includes/_sidebar-doc-versions.html index 646a1716239..3d5853ee7ef 100644 --- a/arrow-site/docs/_includes/_sidebar-doc-versions.html +++ b/arrow-site/docs/_includes/_sidebar-doc-versions.html @@ -17,7 +17,7 @@ {% assign stable_base_doc_link = site.data.commons.stable_version | append: 'docs/' %} - {{ stable_version.title }} - {{ site.data.doc-versions.stable }} + {{ site.data.doc-versions.stable }} - {{ stable_version.title }} @@ -25,29 +25,13 @@
  • - {{ next_version.title }} - {{ site.data.doc-versions.next }} + {{ next_version.title }}
  • -
  • - - - {{ previous_version.title }} - {{ site.data.doc-versions.previous }} - - -
  • - -
  • - - v0.9.0 - -
  • - {% for item in site.data.doc-versions.docVersions %} - {% if item.url != stable_version.url - and item.url != next_version.url - and item.url != previous_version.url %} + {% if item.url != stable_version.url and item.url != next_version.url %}
  • {{ item.title }} From acb43d0d025ec733dae6906f414b56eb1be096d0 Mon Sep 17 00:00:00 2001 From: franciscodr Date: Thu, 21 Jul 2022 16:20:07 +0200 Subject: [PATCH 4/4] Address review comments --- arrow-site/docs/_data/doc-versions.yml | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/arrow-site/docs/_data/doc-versions.yml b/arrow-site/docs/_data/doc-versions.yml index d7b3aae277d..8c5d3f557f5 100644 --- a/arrow-site/docs/_data/doc-versions.yml +++ b/arrow-site/docs/_data/doc-versions.yml @@ -2,24 +2,19 @@ docVersions: - title: "Version 0.12.x" url: https://arrow-kt.io/docs/0.12/ - previous: https://arrow-kt.io/docs/0.11/ - title: "Version 0.13.x" url: https://arrow-kt.io/docs/0.13/ - previous: https://arrow-kt.io/docs/0.12/ - title: "Version 1.0.x" url: https://arrow-kt.io/docs/1.0/ - previous: https://arrow-kt.io/docs/0.13/ - title: "Version 1.1.x" url: https://arrow-kt.io/ - previous: https://arrow-kt.io/docs/1.0/ - - title: "Latest Alpha version" + - title: "Latest Alpha/RC version" url: https://arrow-kt.io/docs/next/ - previous: https://arrow-kt.io/ # Literals stable: Current version -next: Latest Alpha version +next: Latest Alpha/RC version