Skip to content

Commit d549bd5

Browse files
feat: add versioning (#40)
Signed-off-by: Oliver Bähler <oliverbaehler@hotmail.com>
1 parent 8120093 commit d549bd5

14 files changed

Lines changed: 72 additions & 396 deletions

File tree

config/_default/hugo.yaml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ params:
3333
pygmentsUseClassic: false
3434
pygmentsStyle: tango
3535
privacy_policy: ''
36-
github_repo: 'https://github.com/projectcapsule/capsule'
36+
github_repo: 'https://github.com/projectcapsule/website'
3737
github_project_repo: 'https://github.com/projectcapsule/capsule'
3838
github_branch: main
3939
gcs_engine_id: ''
@@ -55,11 +55,11 @@ params:
5555
enable: false
5656
'yes': >-
5757
Glad to hear it! Please <a
58-
href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we
58+
href="https://github.com/projectcapsule/website/issues/new">tell us how we
5959
can improve</a>.
6060
'no': >-
6161
Sorry to hear that. Please <a
62-
href="https://github.com/USERNAME/REPOSITORY/issues/new">tell us how we
62+
href="https://github.com/projectcapsule/website/issues/new">tell us how we
6363
can improve</a>.
6464
readingtime:
6565
enable: false
@@ -159,16 +159,6 @@ menu:
159159
pre: <i class='fas fa-users'></i>
160160
weight: 13
161161

162-
- name: Live-Demo
163-
url: https://killercoda.com/peak-scale-test/course/playgrounds/capsule
164-
pre: <i class='fas fa-terminal'></i>
165-
weight: 14
166-
167-
- name: Resources
168-
url: /resources/
169-
pre: <i class='fa-brands fa-readme'></i>
170-
weight: 15
171-
172162
- name: Support
173163
url: /support/
174164
pre: <i class='fas fa-briefcase'></i>

config/_default/params.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Menu title if your navbar has a versions selector to access old versions of your site.
2+
# This menu appears only if you have at least one [params.versions] set.
3+
version_menu: "Releases"
4+
5+
# The version number for the version of the docs represented in this doc set.
6+
# Used in the "version-banner" partial to display a version number for the
7+
# current doc set.
8+
version: "v0.10.0"
9+
10+
archived_version: true
11+
url_latest_version: https://projectcapsule.dev
12+
versions:
13+
- version: v0.10.0
14+
url: https://projectcapsule.dev
15+
#- version: v0.10.0
16+
# url: https://release-0-10-0.projectcapsule.dev

config/_default/versions.tml

Lines changed: 0 additions & 25 deletions
This file was deleted.

content/en/docs/operating/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Operating
3-
weight: 2
3+
weight: 3
44
description: Get started with using tenancy on Kubernetes
55
isFolder: true
66
type: docs

0 commit comments

Comments
 (0)