Skip to content

Commit a1265d6

Browse files
committed
Removing versions from hugo.yaml
1 parent fe342e9 commit a1265d6

File tree

4 files changed

+17
-15
lines changed

4 files changed

+17
-15
lines changed

.github/ci/do_release

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ if [[ $DRY_RUN == 0 ]]; then
4949
git fetch --tags origin
5050
git add README.md
5151

52-
LATEST_URL=$(yq '.params.versions[]|select(.version == "latest").url' hugo.yaml)
53-
# filter versions, remove latest entry, add new version, sort, limit to last two, add latest
54-
NEW_VERSIONS=$(yq '.params.versions[] | select (.version != "latest") | [ . ]' hugo.yaml |
55-
yq -o=json -I=0 '. += [{ "version": "v'"${TAG}"'", "url": "'"${BASE_URL}observability-workshop/v${TAG}"'"}]' |
56-
jq -c --arg latest_url "${LATEST_URL}" 'sort_by(.version[1:] | split(".") | map(tonumber)) | .[-2:] | [{ version: "latest", url: $latest_url}] + .')
52+
# LATEST_URL=$(yq '.params.versions[]|select(.version == "latest").url' hugo.yaml)
53+
# # filter versions, remove latest entry, add new version, sort, limit to last two, add latest
54+
# NEW_VERSIONS=$(yq '.params.versions[] | select (.version != "latest") | [ . ]' hugo.yaml |
55+
# yq -o=json -I=0 '. += [{ "version": "v'"${TAG}"'", "url": "'"${BASE_URL}observability-workshop/v${TAG}"'"}]' |
56+
# jq -c --arg latest_url "${LATEST_URL}" 'sort_by(.version[1:] | split(".") | map(tonumber)) | .[-2:] | [{ version: "latest", url: $latest_url}] + .')
5757

58-
# set new versions
59-
yq e ".params.versions=${NEW_VERSIONS}" -i hugo.yaml
60-
git add hugo.yaml
58+
# # set new versions
59+
# yq e ".params.versions=${NEW_VERSIONS}" -i hugo.yaml
60+
# git add hugo.yaml
6161

6262
git commit --amend -m "Releasing v${TAG}"
6363
git tag -a "v${TAG}" -m "Version ${TAG}"

assets/css/theme-splunk-dark.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
--MENU-HOME-LINK-color: rgba(255, 255, 255, 1); /* home button color if configured */
2525
--MENU-HOME-LINK-HOVER-color: rgba( 206, 0, 112, 1 ); /* hoverd home button color if configured */
26+
--MENU-HOME-TOP-SEPARATOR-color: rgba( 16, 16, 16, 1 ); /* separator color between home button and menu sections */
2627
--MENU-SEARCH-color: rgba( 224, 224, 224, 1 ); /* text and icon color of search box */
2728
--MENU-SEARCH-BG-color: rgba( 50, 50, 50, 1 ); /* background color of search box */
2829
--MENU-SEARCH-BORDER-color: rgba( 224, 224, 224, 1 ); /* border color of search box */

assets/css/theme-splunk-light.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323

2424
--MENU-HOME-LINK-color: rgba(255, 255, 255, 1); /* home button color if configured */
2525
--MENU-HOME-LINK-HOVER-color: rgba( 206, 0, 112, 1 ); /* hoverd home button color if configured */
26+
--MENU-HOME-TOP-SEPARATOR-color: rgba( 16, 16, 16, 1 ); /* separator color between home button and menu sections */
2627
--MENU-SEARCH-color: rgba( 224, 224, 224, 1 ); /* text and icon color of search box */
2728
--MENU-SEARCH-BG-color: rgba( 50, 50, 50, 1 ); /* background color of search box */
2829
--MENU-SEARCH-BORDER-color: rgba( 224, 224, 224, 1 ); /* border color of search box */

hugo.yaml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -51,13 +51,13 @@ params:
5151
titleSeparator: "::"
5252
themeVariant: ["auto", "splunk-light", "splunk-dark"]
5353
additionalContentLanguage: ["ja"]
54-
versions:
55-
- version: latest
56-
url: https://splunk.github.io/observability-workshop/latest/
57-
- version: v5.94
58-
url: https://splunk.github.io/observability-workshop/v5.94
59-
- version: v5.95
60-
url: https://splunk.github.io/observability-workshop/v5.95
54+
# versions:
55+
# - version: latest
56+
# url: ""
57+
# - version: v5.94
58+
# url: https://splunk.github.io/observability-workshop/v5.94
59+
# - version: v5.95
60+
# url: https://splunk.github.io/observability-workshop/v5.95
6161
url_latest_version: https://splunk.github.io/observability-workshop/
6262
stable_otel_version: 0.126.0
6363
imageEffects:

0 commit comments

Comments
 (0)