Skip to content

Feat: versioned menu links #464

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions modules/ROOT/pages/quickstart.adoc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
= Quickstart

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

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

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

Mark the binary as executable:
Expand Down
46 changes: 23 additions & 23 deletions supplemental-ui/partials/navbar.hbs
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<a class="navbar-sub-item" href="{{{ relativize "/home/stable/index.html" }}}">Home</a>
<a class="navbar-sub-item" href="{{{ relativize "/home/stable/getting_started.html" }}}">Getting Started</a>
<a class="navbar-sub-item" href="{{{ relativize "/home/stable/concepts/index.html" }}}">Concepts</a>
<a class="navbar-sub-item" href="{{{ relativize "/home/stable/demos/index.html" }}}">Demos</a>
<a class="navbar-sub-item" href="{{{ relativize (versioned "home" page "index.html") }}}">Home</a>
<a class="navbar-sub-item" href="{{{ relativize (versioned "home" page "/getting_started.html") }}}">Getting Started</a>
<a class="navbar-sub-item" href="{{{ relativize (versioned "home" page "concepts/index.html") }}}">Concepts</a>
<a class="navbar-sub-item" href="{{{ relativize (versioned "home" page "demos/index.html") }}}">Demos</a>
<div class="navbar-sub-item drop-down">
Management
<div class="drop-down-content">
<a class="drop-down-item" href="{{{ relativize "/management/stable/cockpit/index.html" }}}">Cockpit</a>
<a class="drop-down-item" href="{{{ relativize "/management/stable/stackablectl/index.html" }}}">stackablectl</a>
<a class="drop-down-item" href="{{{ relativize (versioned "management" page "cockpit/index.html") }}}">Cockpit</a>
<a class="drop-down-item" href="{{{ relativize (versioned "management" page "stackablectl/index.html") }}}">stackablectl</a>
</div>
</div>
<div class="navbar-sub-item drop-down">
Operators
<div class="drop-down-content">
<a class="drop-down-item" href="{{{ relativize "/home/stable/operators/index.html" }}}">Overview</a>
<a class="drop-down-item" href="{{{ relativize "/airflow/stable/index.html" }}}">Apache Airflow</a>
<a class="drop-down-item" href="{{{ relativize "/druid/stable/index.html" }}}">Apache Druid</a>
<a class="drop-down-item" href="{{{ relativize "/hbase/stable/index.html" }}}">Apache HBase</a>
<a class="drop-down-item" href="{{{ relativize "/hdfs/stable/index.html" }}}">Apache Hadoop HDFS</a>
<a class="drop-down-item" href="{{{ relativize "/hive/stable/index.html" }}}">Apache Hive</a>
<a class="drop-down-item" href="{{{ relativize "/kafka/stable/index.html" }}}">Apache Kafka</a>
<a class="drop-down-item" href="{{{ relativize "/nifi/stable/index.html" }}}">Apache NiFi</a>
<a class="drop-down-item" href="{{{ relativize "/spark-k8s/stable/index.html" }}}">Apache Spark on K8S</a>
<a class="drop-down-item" href="{{{ relativize "/superset/stable/index.html" }}}">Apache Superset</a>
<a class="drop-down-item" href="{{{ relativize "/trino/stable/index.html" }}}">Trino</a>
<a class="drop-down-item" href="{{{ relativize "/zookeeper/stable/index.html" }}}">Apache ZooKeeper</a>
<a class="drop-down-item" href="{{{ relativize "/opa/stable/index.html" }}}">OpenPolicyAgent</a>
<a class="drop-down-item" href="{{{ relativize "/commons-operator/stable/index.html" }}}">Commons</a>
<a class="drop-down-item" href="{{{ relativize "/secret-operator/stable/index.html" }}}">Secret</a>
<a class="drop-down-item" href="{{{ relativize "/listener-operator/stable/index.html" }}}">Listener</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "operators/index.html") }}}">Overview</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "airflow/index.html") }}}">Apache Airflow</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "druid/index.html") }}}">Apache Druid</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "hbase/index.html") }}}">Apache HBase</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "hdfs/index.html") }}}">Apache Hadoop HDFS</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "hive/index.html") }}}">Apache Hive</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "kafka/index.html") }}}">Apache Kafka</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "nifi/index.html") }}}">Apache NiFi</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "spark-k8s/index.html") }}}">Apache Spark on K8S</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "superset/index.html") }}}">Apache Superset</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "trino/index.html") }}}">Trino</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "zookeeper/index.html") }}}">Apache ZooKeeper</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "opa/index.html") }}}">OpenPolicyAgent</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "commons-operator/index.html") }}}">Commons</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "secret-operator/index.html") }}}">Secret</a>
<a class="drop-down-item" href="{{{ relativize (versioned "home" page "listener-operator/index.html") }}}">Listener</a>
</div>
</div>
<a class="navbar-sub-item" href="{{{ relativize "/home/stable/contributor/index.html" }}}">Contribute</a>
<a class="navbar-sub-item" href="{{{ relativize (versioned "home" page "contributor/index.html") }}}">Contribute</a>
2 changes: 1 addition & 1 deletion ui
Submodule ui updated 1 files
+18 −0 src/helpers/versioned.js