Skip to content
Draft
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
5 changes: 5 additions & 0 deletions antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ content:
- url: https://github.com/stackabletech/stackablectl.git
start_path: docs
branches: main
# web UI
- url: https://github.com/stackabletech/cockpit.git
start_path: docs
branches:
- main
# demos
- url: https://github.com/stackabletech/demos.git
start_path: docs
Expand Down
5 changes: 5 additions & 0 deletions local-antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@ content:
- url: https://github.com/stackabletech/stackablectl.git
start_path: docs
branches: main
# web UI
- url: https://github.com/stackabletech/cockpit.git
start_path: docs
branches:
- main
# demos
- url: https://github.com/stackabletech/demos.git
start_path: docs
Expand Down
5 changes: 5 additions & 0 deletions modules/ROOT/nav2.adoc
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
* Management
** xref:management:stackablectl:index.adoc[]
* xref:cockpit:index.adoc[Cockpit]
+
--
include::cockpit:partial$nav.adoc[]
--
5 changes: 5 additions & 0 deletions only-dev-antora-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ content:
- url: https://github.com/stackabletech/stackablectl.git
start_path: docs
branches: main
# web UI
- url: https://github.com/stackabletech/cockpit.git
start_path: docs
branches:
- main
# demos
- url: https://github.com/stackabletech/demos.git
start_path: docs
Expand Down
4 changes: 2 additions & 2 deletions scripts/publish-new-version.sh
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,14 @@ if ! git rev-parse --quiet --verify "$BRANCH" > /dev/null; then
fi

echo "Did you create all the release branches in the operators?"
echo "Did you also create a release branch in the demos repository?"
echo "Did you also create release branches in the cockpit and demos repositories?"
read -r -p "(yes/no): " OPERATORS_BRANCHES_ANSWER

# Convert the user input to lowercase for case-insensitive comparison
OPERATORS_BRANCHES_ANSWER_LOWERCASE=$(echo "$OPERATORS_BRANCHES_ANSWER" | tr '[:upper:]' '[:lower:]')

if [ "$OPERATORS_BRANCHES_ANSWER_LOWERCASE" != "yes" ]; then
echo "Please create all the branches in the operators before proceeding."
echo "Please create all the branches in the operators, cockpit and demos before proceeding."
exit 1
fi

Expand Down
16 changes: 16 additions & 0 deletions supplemental-ui/partials/navbar.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,22 @@
<a class="navbar-link" href="#">Tools</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="{{{ relativize (versioned "management" page "stackablectl/index.html") }}}">stackablectl</a>
{{#if (not (or
(eq page.version "23.1")
(eq page.version "23.4")
(eq page.version "23.7")
(eq page.version "23.11")
(eq page.version "24.3")
(eq page.version "24.7")
(eq page.version "24.11")
(eq page.version "25.3")
(eq page.version "25.7")
(eq page.version "25.11")
(eq page.version "26.3")
(eq page.version "26.7")
))}}
<a class="navbar-item" href="{{{ relativize (versioned "home" page "cockpit/index.html") }}}">Cockpit</a>
{{/if}}
</div>
</div>
<div class="navbar-item has-dropdown is-hoverable">
Expand Down
3 changes: 3 additions & 0 deletions truly-local-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@ content:
# management tools
- url: ../stackablectl/
start_path: docs
# web UI
- url: ../cockpit/
start_path: docs
# demos
- url: ../demos/
start_path: docs
Expand Down
Loading