Skip to content

Commit 2c9d29b

Browse files
authored
Feat: versioned menu links (#464)
* Updated links * Update UI
1 parent bf48280 commit 2c9d29b

File tree

3 files changed

+27
-27
lines changed

3 files changed

+27
-27
lines changed

modules/ROOT/pages/quickstart.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
= Quickstart
22

3-
:latest-release: https://github.com/stackabletech/stackable-cockpit/releases/tag/stackablectl-1.0.0-rc1
3+
:latest-release: https://github.com/stackabletech/stackable-cockpit/releases/tag/stackablectl-1.0.0-rc2
44
:cockpit-releases: https://github.com/stackabletech/stackable-cockpit/releases
55

66
This is the super-short getting started guide that should enable you to get something up and running in less than three
@@ -17,9 +17,9 @@ rename the file to `stackablectl`. You can also use the following command:
1717

1818
[source,console]
1919
----
20-
wget -O stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.0.0-rc1/stackablectl-x86_64-unknown-linux-gnu
20+
wget -O stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.0.0-rc2/stackablectl-x86_64-unknown-linux-gnu
2121
# or
22-
curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.0.0-rc1/stackablectl-x86_64-unknown-linux-gnu
22+
curl -L -o stackablectl https://github.com/stackabletech/stackable-cockpit/releases/download/stackablectl-1.0.0-rc2/stackablectl-x86_64-unknown-linux-gnu
2323
----
2424

2525
Mark the binary as executable:

supplemental-ui/partials/navbar.hbs

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
1-
<a class="navbar-sub-item" href="{{{ relativize "/home/stable/index.html" }}}">Home</a>
2-
<a class="navbar-sub-item" href="{{{ relativize "/home/stable/getting_started.html" }}}">Getting Started</a>
3-
<a class="navbar-sub-item" href="{{{ relativize "/home/stable/concepts/index.html" }}}">Concepts</a>
4-
<a class="navbar-sub-item" href="{{{ relativize "/home/stable/demos/index.html" }}}">Demos</a>
1+
<a class="navbar-sub-item" href="{{{ relativize (versioned "home" page "index.html") }}}">Home</a>
2+
<a class="navbar-sub-item" href="{{{ relativize (versioned "home" page "/getting_started.html") }}}">Getting Started</a>
3+
<a class="navbar-sub-item" href="{{{ relativize (versioned "home" page "concepts/index.html") }}}">Concepts</a>
4+
<a class="navbar-sub-item" href="{{{ relativize (versioned "home" page "demos/index.html") }}}">Demos</a>
55
<div class="navbar-sub-item drop-down">
66
Management
77
<div class="drop-down-content">
8-
<a class="drop-down-item" href="{{{ relativize "/management/stable/cockpit/index.html" }}}">Cockpit</a>
9-
<a class="drop-down-item" href="{{{ relativize "/management/stable/stackablectl/index.html" }}}">stackablectl</a>
8+
<a class="drop-down-item" href="{{{ relativize (versioned "management" page "cockpit/index.html") }}}">Cockpit</a>
9+
<a class="drop-down-item" href="{{{ relativize (versioned "management" page "stackablectl/index.html") }}}">stackablectl</a>
1010
</div>
1111
</div>
1212
<div class="navbar-sub-item drop-down">
1313
Operators
1414
<div class="drop-down-content">
15-
<a class="drop-down-item" href="{{{ relativize "/home/stable/operators/index.html" }}}">Overview</a>
16-
<a class="drop-down-item" href="{{{ relativize "/airflow/stable/index.html" }}}">Apache Airflow</a>
17-
<a class="drop-down-item" href="{{{ relativize "/druid/stable/index.html" }}}">Apache Druid</a>
18-
<a class="drop-down-item" href="{{{ relativize "/hbase/stable/index.html" }}}">Apache HBase</a>
19-
<a class="drop-down-item" href="{{{ relativize "/hdfs/stable/index.html" }}}">Apache Hadoop HDFS</a>
20-
<a class="drop-down-item" href="{{{ relativize "/hive/stable/index.html" }}}">Apache Hive</a>
21-
<a class="drop-down-item" href="{{{ relativize "/kafka/stable/index.html" }}}">Apache Kafka</a>
22-
<a class="drop-down-item" href="{{{ relativize "/nifi/stable/index.html" }}}">Apache NiFi</a>
23-
<a class="drop-down-item" href="{{{ relativize "/spark-k8s/stable/index.html" }}}">Apache Spark on K8S</a>
24-
<a class="drop-down-item" href="{{{ relativize "/superset/stable/index.html" }}}">Apache Superset</a>
25-
<a class="drop-down-item" href="{{{ relativize "/trino/stable/index.html" }}}">Trino</a>
26-
<a class="drop-down-item" href="{{{ relativize "/zookeeper/stable/index.html" }}}">Apache ZooKeeper</a>
27-
<a class="drop-down-item" href="{{{ relativize "/opa/stable/index.html" }}}">OpenPolicyAgent</a>
28-
<a class="drop-down-item" href="{{{ relativize "/commons-operator/stable/index.html" }}}">Commons</a>
29-
<a class="drop-down-item" href="{{{ relativize "/secret-operator/stable/index.html" }}}">Secret</a>
30-
<a class="drop-down-item" href="{{{ relativize "/listener-operator/stable/index.html" }}}">Listener</a>
15+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "operators/index.html") }}}">Overview</a>
16+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "airflow/index.html") }}}">Apache Airflow</a>
17+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "druid/index.html") }}}">Apache Druid</a>
18+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "hbase/index.html") }}}">Apache HBase</a>
19+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "hdfs/index.html") }}}">Apache Hadoop HDFS</a>
20+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "hive/index.html") }}}">Apache Hive</a>
21+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "kafka/index.html") }}}">Apache Kafka</a>
22+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "nifi/index.html") }}}">Apache NiFi</a>
23+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "spark-k8s/index.html") }}}">Apache Spark on K8S</a>
24+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "superset/index.html") }}}">Apache Superset</a>
25+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "trino/index.html") }}}">Trino</a>
26+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "zookeeper/index.html") }}}">Apache ZooKeeper</a>
27+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "opa/index.html") }}}">OpenPolicyAgent</a>
28+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "commons-operator/index.html") }}}">Commons</a>
29+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "secret-operator/index.html") }}}">Secret</a>
30+
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "listener-operator/index.html") }}}">Listener</a>
3131
</div>
3232
</div>
33-
<a class="navbar-sub-item" href="{{{ relativize "/home/stable/contributor/index.html" }}}">Contribute</a>
33+
<a class="navbar-sub-item" href="{{{ relativize (versioned "home" page "contributor/index.html") }}}">Contribute</a>

ui

0 commit comments

Comments
 (0)