Skip to content

Commit 9b2e54b

Browse files
authored
Refactored target resources in gh-pages/docs (#146)
1 parent a26913d commit 9b2e54b

File tree

24 files changed

+80
-140
lines changed

24 files changed

+80
-140
lines changed

.github/workflows/ci-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ jobs:
2323
- name: Set up Hugo
2424
uses: peaceiris/actions-hugo@6e295a6a0c9087bf374299e9d67f9d2edab9f18f # v3.0.0
2525
with:
26-
hugo-version: '0.110.0'
26+
hugo-version: 'latest'
2727
extended: true
2828

2929
- name: Set up Node
3030
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3131
with:
32-
node-version: 16
32+
node-version: 20
3333

3434
- name: Set up PostCSS
3535
run: npm install --save-dev autoprefixer postcss-cli postcss

.github/workflows/publish-docs.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
- name: Set up Hugo
2727
uses: peaceiris/actions-hugo@6e295a6a0c9087bf374299e9d67f9d2edab9f18f # v3.0.0
2828
with:
29-
hugo-version: '0.110.0'
29+
hugo-version: 'latest'
3030
extended: true
3131

3232
- name: Set up Node
3333
uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
3434
with:
35-
node-version: 16
35+
node-version: 20
3636

3737
- name: Set up PostCSS
3838
run: npm install --save-dev autoprefixer postcss-cli postcss

config/_default/config.toml

Lines changed: 8 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ weight = 1
7777
url_latest_version = "/"
7878

7979
# Repository configuration (URLs for in-page links to opening issues and suggesting changes)
80-
github_repo = "https://github.com/banzaicloud/koperator-docs"
80+
github_repo = "https://github.com/adobe/koperator/tree/gh-pages"
8181
# An optional link to a related project repo. For example, the sibling repository where your product code lives.
82-
github_project_repo = "https://github.com/banzaicloud/koperator"
82+
github_project_repo = "https://github.com/adobe/koperator"
8383

8484
# Specify a value here if your content directory is not in your repo's root directory
8585
# github_subdir = ""
@@ -114,7 +114,7 @@ weight = 1
114114
# Set to true to disable breadcrumb navigation.
115115
breadcrumb_disable = false
116116
# Set to true to disable the About link in the site footer
117-
footer_about_disable = false
117+
footer_about_enable = true
118118
# Set to false if you don't want to display a logo (/assets/icons/logo.svg) in the top navbar
119119
navbar_logo = true
120120
# Set to true if you don't want the top navbar to be translucent when over a `block/cover`, like on the homepage.
@@ -130,39 +130,12 @@ weight = 1
130130
enable = true
131131

132132
[params.links]
133-
# End user relevant links. These will show up on left side of footer and in the community page if you have one.
134-
#[[params.links.user]]
135-
# name = "Community forum"
136-
# url = "https://community.cisco.com/t5/application-networking-and/bd-p/dev-app-networking"
137-
# icon = "fa fa-envelope"
138-
# desc = "Discussion and help from your fellow users"
139-
#[[params.links.user]]
140-
# name ="Twitter"
141-
# url = "https://twitter.com/ciscoemerge"
142-
# icon = "fab fa-twitter"
143-
# desc = "Follow us on Twitter to get the latest news!"
144-
#[[params.links.user]]
145-
# name = "Linkedin"
146-
# url = "https://linkedin.com/cisco-emerging-technologies-and-incubation"
147-
# icon = "fab fa-linkedin"
148-
# desc = "Follow us on Twitter to get the latest news!"
149-
# Developer relevant links. These will show up on right side of footer and in the community page if you have one.
150133
[[params.links.developer]]
151134
name = "GitHub"
152-
url = "https://github.com/banzaicloud/koperator"
135+
url = "https://github.com/adobe/koperator"
153136
icon = "fab fa-github"
154137
desc = "Get involved with Koperator development"
155-
[[params.links.developer]]
156-
name = "Slack"
157-
url = "https://outshift.slack.com"
158-
icon = "fab fa-slack"
159-
desc = "Chat with the project developers"
160-
#[[params.links.developer]]
161-
# name = "Developer mailing list"
162-
# url = "https://example.org/mail"
163-
# icon = "fa fa-envelope"
164-
# desc = "Discuss development issues around the project"
165-
138+
166139
###############################################################################
167140
# Hugo - Top-level navigation (horizontal)
168141
###############################################################################
@@ -171,22 +144,13 @@ weight = 1
171144
name = "Project page"
172145
weight = -110
173146
pre = "<i class='fab fa-github pr-2'></i>"
174-
url = "https://github.com/banzaicloud/koperator"
175-
# [[menu.main]]
176-
# name = "Blog"
177-
# weight = -120
178-
# pre = "<i class='fas fa-blog pr-2'></i>"
179-
# url = "https://github.com/bank-vaults/"
147+
url = "https://github.com/adobe/koperator"
180148
[[menu.main]]
181149
name = "Documentation"
182150
weight = -100
183151
pre = "<i class='fas fa-book pr-2'></i>"
184152
url = "/docs/"
185-
[[menu.main]]
186-
name = "Community"
187-
url = "https://outshift.slack.com"
188-
pre = "<i class='fab fa-slack pr-2'></i>"
189-
weight = 150
153+
190154

191155
###############################################################################
192156
# Misc customizations
@@ -218,13 +182,9 @@ anchor = "smart"
218182
[security.funcs]
219183
getenv = ['^HUGO_', 'PWD', '^DOC_', 'ENVIRONMENT']
220184

221-
[privacy]
222-
[privacy.googleAnalytics]
223-
respectDoNotTrack = true
224-
225185
[module]
226186
proxy = "direct"
227187
[[module.imports]]
228188
path = "github.com/google/docsy"
229189
[[module.imports]]
230-
path = "github.com/google/docsy/dependencies"
190+
path = "github.com/google/docsy/dependencies"

config/production/config.toml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
baseurl = "https://banzaicloud.github.io/koperator-docs/"
1+
baseurl = "https://opensource.adobe.com/koperator/"
22
buildDrafts = false
3-
#googleAnalytics = "G-FIXME"
3+
googleAnalytics = "G-FIXME"
44

5-
[services]
6-
[services.googleAnalytics]
7-
# Comment out the next line to disable GA tracking. Also disables the feature described in [params.ui.feedback].
8-
#id = "G-FIXME"
95

106
[params]
11-
12-
url_latest_version = "https://banzaicloud.github.io/koperator-docs/"
7+
url_latest_version = "https://opensource.adobe.com/koperator/"

content/_index.md

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@ title: Koperator
1919
Read the Koperator documentation.
2020
{{% /blocks/feature %}}
2121

22-
{{% blocks/feature icon="fa-brands fa-github" title="Contributions welcome!" url="https://github.com/banzaicloud/koperator" %}}
23-
We do a [Pull Request](https://github.com/banzaicloud/koperator/pulls) contributions workflow on **GitHub**. New users and developers are always welcome!
22+
{{% blocks/feature icon="fa-brands fa-github" title="Contributions welcome!" url="https://github.com/adobe/koperator" %}}
23+
We do a [Pull Request](https://github.com/adobe/koperator/pulls) contributions workflow on **GitHub**. New users and developers are always welcome!
2424
{{% /blocks/feature %}}
2525

26-
{{% blocks/feature icon="fa-brands fa-slack" title="Come chat with us!" url="https://outshift.slack.com/messages/koperator" url_text="Join Slack" %}}
27-
In case you need help, you can find us on <a href="https://outshift.slack.com/messages/koperator">Slack</a>.
28-
{{% /blocks/feature %}}
29-
{{< /blocks/section >}}
26+
{{< /blocks/section >}}
27+

content/docs/benchmarks/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ How to setup the environment for the Kafka Performance Test.
7272
1. Install the Koperator CustomResourceDefinition resources (adjust the version number to the Koperator release you want to install) and the corresponding version of Koperator, the Operator for managing Apache Kafka on Kubernetes.
7373
7474
```bash
75-
kubectl create --validate=false -f https://github.com/banzaicloud/koperator/releases/download/v{{< param "latest_version" >}}/kafka-operator.crds.yaml
75+
kubectl create --validate=false -f https://github.com/adobe/koperator/releases/download/v{{< param "latest_version" >}}/kafka-operator.crds.yaml
7676
```
7777
7878
```bash

content/docs/compatibility-matrix.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,16 @@ This page shows you the list of supported Koperator versions, and the versions o
1010

1111
|Operator Version|Apache Kafka Version|JMX Exporter Version|Cruise Control Version|Istio Operator Version|Example cluster CR|Maintained|
1212
|-------|------|----------------|-------|----|---|-|
13-
|v0.18.3|2.6.2+|0.15.0|2.5.37|1.10|[link](https://github.com/banzaicloud/koperator/blob/v0.18.3/config/samples/simplekafkacluster.yaml)|-|
14-
|v0.19.0|2.6.2+|0.15.0|2.5.68|1.10|[link](https://github.com/banzaicloud/koperator/blob/v0.19.0/config/samples/simplekafkacluster.yaml)|-|
15-
|v0.20.0|2.6.2+|0.15.0|2.5.68|1.10|[link](https://github.com/banzaicloud/koperator/blob/v0.20.0/config/samples/simplekafkacluster.yaml)|-|
16-
|v0.20.2|2.6.2+|0.16.1|2.5.80|1.10|[link](https://github.com/banzaicloud/koperator/blob/v0.20.2/config/samples/simplekafkacluster.yaml)|-|
17-
|v0.21.0|2.6.2+|0.16.1|2.5.86|2.11|[link](https://github.com/banzaicloud/koperator/blob/v0.21.0/config/samples/simplekafkacluster.yaml)|-|
18-
|v0.21.1|2.6.2+|0.16.1|2.5.86|2.11|[link](https://github.com/banzaicloud/koperator/blob/v0.21.1/config/samples/simplekafkacluster.yaml)|-|
19-
|v0.21.2|2.6.2+|0.16.1|2.5.86|2.11|[link](https://github.com/banzaicloud/koperator/blob/v0.21.2/config/samples/simplekafkacluster.yaml)|-|
20-
|v0.22.0|2.6.2+|0.16.1|2.5.101|2.15.3|[link](https://github.com/banzaicloud/koperator/blob/v0.22.0/config/samples/simplekafkacluster.yaml)|+|
21-
|v0.23.0|2.6.2+|0.16.1|2.5.101|2.15.3|[link](https://github.com/banzaicloud/koperator/blob/v0.23.0/config/samples/simplekafkacluster.yaml)|+|
22-
|v0.24.0|2.6.2+|0.16.1|2.5.101|2.15.3|[link](https://github.com/banzaicloud/koperator/blob/v0.24.0/config/samples/simplekafkacluster.yaml)|+|
13+
|v0.18.3|2.6.2+|0.15.0|2.5.37|1.10|[link](https://github.com/adobe/koperator/blob/v0.18.3/config/samples/simplekafkacluster.yaml)|-|
14+
|v0.19.0|2.6.2+|0.15.0|2.5.68|1.10|[link](https://github.com/adobe/koperator/blob/v0.19.0/config/samples/simplekafkacluster.yaml)|-|
15+
|v0.20.0|2.6.2+|0.15.0|2.5.68|1.10|[link](https://github.com/adobe/koperator/blob/v0.20.0/config/samples/simplekafkacluster.yaml)|-|
16+
|v0.20.2|2.6.2+|0.16.1|2.5.80|1.10|[link](https://github.com/adobe/koperator/blob/v0.20.2/config/samples/simplekafkacluster.yaml)|-|
17+
|v0.21.0|2.6.2+|0.16.1|2.5.86|2.11|[link](https://github.com/adobe/koperator/blob/v0.21.0/config/samples/simplekafkacluster.yaml)|-|
18+
|v0.21.1|2.6.2+|0.16.1|2.5.86|2.11|[link](https://github.com/adobe/koperator/blob/v0.21.1/config/samples/simplekafkacluster.yaml)|-|
19+
|v0.21.2|2.6.2+|0.16.1|2.5.86|2.11|[link](https://github.com/adobe/koperator/blob/v0.21.2/config/samples/simplekafkacluster.yaml)|-|
20+
|v0.22.0|2.6.2+|0.16.1|2.5.101|2.15.3|[link](https://github.com/adobe/koperator/blob/v0.22.0/config/samples/simplekafkacluster.yaml)|+|
21+
|v0.23.0|2.6.2+|0.16.1|2.5.101|2.15.3|[link](https://github.com/adobe/koperator/blob/v0.23.0/config/samples/simplekafkacluster.yaml)|+|
22+
|v0.24.0|2.6.2+|0.16.1|2.5.101|2.15.3|[link](https://github.com/adobe/koperator/blob/v0.24.0/config/samples/simplekafkacluster.yaml)|+|
2323

2424
## Available Koperator images
2525

content/docs/configurations/crd/_index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ weight: 990
55

66
The following sections contain the reference documentation of the various custom resource definitions (CRDs) that are specific to Koperator.
77

8-
For sample YAML files, see the [samples directory in the GitHub project](https://github.com/banzaicloud/koperator/tree/master/config/samples).
8+
For sample YAML files, see the [samples directory in the GitHub project](https://github.com/adobe/koperator/tree/master/config/samples).

content/docs/configurations/examples/_index.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,52 +11,52 @@ You can use these examples as a base for your own Kafka cluster.
1111

1212
This is our most descriptive KafkaCluster CR. You can find a lot of valuable explanation about the settings.
1313

14-
- [Detailed CR with descriptions](https://github.com/banzaicloud/koperator/blob/master/config/samples/banzaicloud_v1beta1_kafkacluster.yaml)
14+
- [Detailed CR with descriptions](https://github.com/adobe/koperator/blob/master/config/samples/banzaicloud_v1beta1_kafkacluster.yaml)
1515

1616
## Kafka cluster with monitoring
1717

1818
This is a very simple KafkaCluster CR with Prometheus monitoring enabled.
1919

20-
- [Simple KafkaCluster with monitoring](https://github.com/banzaicloud/koperator/blob/master/config/samples/simplekafkacluster.yaml)
20+
- [Simple KafkaCluster with monitoring](https://github.com/adobe/koperator/blob/master/config/samples/simplekafkacluster.yaml)
2121

2222
## Kafka cluster with ACL, SSL, and rack awareness
2323

2424
You can read more details about rack awareness [here]({{< relref "../../rackawareness/index.md" >}}).
2525

26-
- [Use SSL and rack awareness](https://github.com/banzaicloud/koperator/blob/master/config/samples/kafkacluster_with_ssl_groups.yaml)
26+
- [Use SSL and rack awareness](https://github.com/adobe/koperator/blob/master/config/samples/kafkacluster_with_ssl_groups.yaml)
2727

2828
## Kafka cluster with broker configuration
2929

30-
- [Use broker configuration groups](https://github.com/banzaicloud/koperator/blob/master/config/samples/kafkacluster_without_ssl_groups.yaml)
31-
- [Use independent broker configurations](https://github.com/banzaicloud/koperator/blob/master/config/samples/kafkacluster_without_ssl.yaml)
30+
- [Use broker configuration groups](https://github.com/adobe/koperator/blob/master/config/samples/kafkacluster_without_ssl_groups.yaml)
31+
- [Use independent broker configurations](https://github.com/adobe/koperator/blob/master/config/samples/kafkacluster_without_ssl.yaml)
3232

3333
## Kafka cluster with custom SSL certificates for external listeners
3434

3535
You can specify custom SSL certificates for listeners.
3636
For details about SSL configuration, see {{% xref "../../ssl.md" %}}.
3737

38-
- [Use custom SSL certificate for an external listener](https://github.com/banzaicloud/koperator/blob/master/config/samples/kafkacluster_with_external_ssl_customcert.yaml)
39-
- [Use custom SSL certificate for controller and inter-broker communication](https://github.com/banzaicloud/koperator/blob/master/config/samples/kafkacluster_with_ssl_groups_customcert.yaml). In this case you also need to provide the client SSL certificate for Koperator.
40-
- [Hybrid solution](https://github.com/banzaicloud/koperator/blob/master/config/samples/kafkacluster_with_ssl_hybrid_customcert.yaml): some listeners have custom SSL certificates and some use certificates Koperator has generated automatically using cert-manager.
38+
- [Use custom SSL certificate for an external listener](https://github.com/adobe/koperator/blob/master/config/samples/kafkacluster_with_external_ssl_customcert.yaml)
39+
- [Use custom SSL certificate for controller and inter-broker communication](https://github.com/adobe/koperator/blob/master/config/samples/kafkacluster_with_ssl_groups_customcert.yaml). In this case you also need to provide the client SSL certificate for Koperator.
40+
- [Hybrid solution](https://github.com/adobe/koperator/blob/master/config/samples/kafkacluster_with_ssl_hybrid_customcert.yaml): some listeners have custom SSL certificates and some use certificates Koperator has generated automatically using cert-manager.
4141

4242
## Kafka cluster with SASL
4343

4444
You can use SASL authentication on the listeners.
4545
For details, see {{% xref "../../external-listener/index.md" %}}.
4646

47-
- [Use SASL authentication on the listeners](https://github.com/banzaicloud/koperator/blob/master/config/samples/simplekafkacluster_with_sasl.yaml)
47+
- [Use SASL authentication on the listeners](https://github.com/adobe/koperator/blob/master/config/samples/simplekafkacluster_with_sasl.yaml)
4848

4949
## Kafka cluster with load balancers and brokers in the same availability zone
5050

5151
You can create a broker-ingress mapping to eliminate traffic across availability zones between load balancers and brokers by configuring load balancers for brokers in same availability zone.
5252

53-
- [Load balancers and brokers in same availability zone](https://github.com/banzaicloud/koperator/blob/master/config/samples/simplekafkacluster-with-brokerbindings.yaml)
53+
- [Load balancers and brokers in same availability zone](https://github.com/adobe/koperator/blob/master/config/samples/simplekafkacluster-with-brokerbindings.yaml)
5454

5555
## Kafka cluster with Istio
5656

5757
You can use Istio as the ingress controller for your external listeners. It requires using our [Istio operator](https://github.com/banzaicloud/istio-operator) in the Kubernetes cluster.
5858

59-
- [Kafka cluster with Istio as ingress controller](https://github.com/banzaicloud/koperator/blob/master/config/samples/kafkacluster-with-istio.yaml)
59+
- [Kafka cluster with Istio as ingress controller](https://github.com/adobe/koperator/blob/master/config/samples/kafkacluster-with-istio.yaml)
6060

6161
## Kafka cluster with custom advertised address for external listeners and brokers
6262

@@ -65,16 +65,16 @@ This is useful when you're advertising the brokers on an IP address different fr
6565
You can also set custom advertised address for external listeners.
6666
For details, see {{% xref "../../external-listener/index.md" %}}.
6767

68-
- [Custom advertised address for external listeners](https://github.com/banzaicloud/koperator/blob/master/config/samples/simplekafkacluster-with-nodeport-external.yaml)
68+
- [Custom advertised address for external listeners](https://github.com/adobe/koperator/blob/master/config/samples/simplekafkacluster-with-nodeport-external.yaml)
6969

7070
## Kafka cluster with Kubernetes scheduler affinity settings
7171

7272
You can set node [affinity](https://kubernetes.io/docs/concepts/scheduling-eviction/assign-pod-node/) for your brokers.
7373

74-
- [Custom affinity settings](https://github.com/banzaicloud/koperator/blob/master/config/samples/simplekafkacluster_affinity.yaml)
74+
- [Custom affinity settings](https://github.com/adobe/koperator/blob/master/config/samples/simplekafkacluster_affinity.yaml)
7575

7676
## Kafka cluster with custom storage class
7777

7878
You can configure your brokers to use custom [storage classes](https://kubernetes.io/docs/concepts/storage/storage-classes/).
7979

80-
- [Custom storage class](https://github.com/banzaicloud/koperator/blob/master/config/samples/simplekafkacluster_ebs_csi.yaml)
80+
- [Custom storage class](https://github.com/adobe/koperator/blob/master/config/samples/simplekafkacluster_ebs_csi.yaml)

content/docs/cruisecontroloperation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ status:
163163
- The `state` shows the progress of the request.
164164
- The `summary` is Cruise Control's optimization proposal. It shows the scope of the changes that Cruise Control will apply through the operation.
165165
- The `retryCount` field shows the number of retries when a task has failed and `cruiseControlOperation.spec.errorPolicy` is set to `retry`. In this case, the `status.failedTask` field shows the history of the failed tasks (including their error messages).
166-
For further information on the fields, see the [source code](https://github.com/banzaicloud/koperator/blob/master/api/v1alpha1/cruisecontroloperation_types.go).
166+
For further information on the fields, see the [source code](https://github.com/adobe/koperator/blob/master/api/v1alpha1/cruisecontroloperation_types.go).
167167

168168
## Control the created CruiseControlOperation {#control-cruisecontroloperation}
169169

0 commit comments

Comments
 (0)