Skip to content

Commit 8cd5eae

Browse files
izmalkpetesfrench
andauthored
Update Data platform docs links (#2808)
* Fix Kafka docs page links * Update what-is-kafka.html * Update kafka link in secondary nav * Update old redirects for kafka They are barely used. Yes, both IaaS and K8s should lead to the same address - we are combining them both. * Update all Data products docs links Following URL migration, we are updating our Data Platform docs links to match the desired state. --------- Co-authored-by: Peter French <peter.french@canonical.com>
1 parent 4fc056a commit 8cd5eae

13 files changed

Lines changed: 36 additions & 36 deletions

File tree

redirects.yaml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,12 @@ careers/progression/?: "/careers/company-culture/progression"
2626
careers/sustainability/?: "/careers/company-culture/sustainability"
2727
careers/ethics/?: "/careers/company-culture"
2828
data/docs/?: "/data"
29-
data/docs/postgresql/iaas(?P<path>.*)/?: "https://canonical-charmed-postgresql.readthedocs-hosted.com/14/{path}"
30-
data/docs/postgresql/k8s(?P<path>.*)/?: "https://canonical-charmed-postgresql-k8s.readthedocs-hosted.com/14/{path}"
31-
data/docs/kafka/iaas(?P<path>.*)/?: "https://documentation.ubuntu.com/charmed-kafka/3/{path}"
32-
data/docs/kafka/k8s(?P<path>.*)/?: "https://documentation.ubuntu.com/charmed-kafka-k8s/3/{path}"
33-
data/docs/spark/k8s(?P<path>.*)/?: "https://canonical-charmed-spark.readthedocs-hosted.com/main/{path}"
34-
data/docs/opensearch/iaas(?P<path>.*)/?: "https://canonical-charmed-opensearch.readthedocs-hosted.com/2/{path}"
29+
data/docs/postgresql/iaas(?P<path>.*)/?: "https://canonical.com/data/postgresql/docs/latest/{path}"
30+
data/docs/postgresql/k8s(?P<path>.*)/?: "https://canonical.com/data/postgresql/docs/latest/{path}"
31+
data/docs/kafka/iaas(?P<path>.*)/?: "https://canonical.com/data/kafka/docs/latest/{path}"
32+
data/docs/kafka/k8s(?P<path>.*)/?: "https://canonical.com/data/kafka/docs/latest/{path}"
33+
data/docs/spark/k8s(?P<path>.*)/?: "https://canonical.com/data/spark/docs/latest/{path}"
34+
data/docs/opensearch/iaas(?P<path>.*)/?: "https://canonical.com/data/opensearch/docs/latest/{path}"
3535
documentation/work-and-careers/?: "/documentation/working-in-documentation"
3636
edge-computing/?: "/solutions/infrastructure/edge-computing"
3737
embedding/?: "/partners/isv-program"
@@ -2012,12 +2012,12 @@ maas/deprecations/MD7: https://discourse.maas.io/t/15207
20122012
maas/deprecations/MD8: https://discourse.maas.io/t/16221
20132013

20142014
#Charmed MySQL and Charmed MySQL K8s docs
2015-
data/docs/mysql/iaas(?P<path>.*)/?: https://canonical-charmed-mysql.readthedocs-hosted.com/{path}
2016-
data/docs/mysql/k8s(?P<path>.*)/?: https://canonical-charmed-mysql-k8s.readthedocs-hosted.com/{path}
2015+
data/docs/mysql/iaas(?P<path>.*)/?: https://canonical.com/data/mysql/docs/latest/{path}
2016+
data/docs/mysql/k8s(?P<path>.*)/?: https://canonical.com/data/mysql/docs/latest/{path}
20172017

20182018
# Charmed MongoDB and Charmed MongoDB K8s docs
2019-
data/docs/mongodb/iaas(?P<path>.*)/?: https://canonical-charmed-mongodb.readthedocs-hosted.com/6/{path}
2020-
data/docs/mongodb/k8s(?P<path>.*)/?: https://canonical-charmed-mongodb.readthedocs-hosted.com/6/{path}
2019+
data/docs/mongodb/iaas(?P<path>.*)/?: https://canonical.com/data/mongodb/docs/latest/{path}
2020+
data/docs/mongodb/k8s(?P<path>.*)/?: https://canonical.com/data/mongodb/docs/latest/{path}
20212021

20222022
# Jaas.ai migration redirects
20232023
jaas/docs: https://canonical-jaas-documentation.readthedocs-hosted.com/en/latest/

templates/data/cassandra/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
"link": {
5151
"content_html": "Try Apache Cassandra",
5252
"attrs": {
53-
"href": "https://canonical-charmed-cassandra.readthedocs-hosted.com/latest/",
53+
"href": "https://canonical.com/data/cassandra/docs/latest",
5454
"class": "p-button"
5555
}
5656
}
@@ -147,7 +147,7 @@ <h2 class="p-muted-heading">Our offering by the numbers</h2>
147147
<p>Includes deployment, scaling, backups, restores, auto-tuning, encryption, monitoring, and upgrades.</p>
148148
</div>
149149
<div class="p-equal-height-row__item">
150-
<a href="https://canonical-charmed-cassandra.readthedocs-hosted.com/latest/">Check our automation ›</a>
150+
<a href="https://canonical.com/data/cassandra/docs/latest">Check our automation ›</a>
151151
</div>
152152
</div>
153153
<div class="p-equal-height-row__col u-no-margin--bottom p-data-spotlight__block">
@@ -160,7 +160,7 @@ <h2 class="p-muted-heading">Our offering by the numbers</h2>
160160
<p>Get up and running quickly whether in your local lab environment or your live production infrastructure setup.</p>
161161
</div>
162162
<div class="p-equal-height-row__item">
163-
<a href="https://canonical-charmed-cassandra.readthedocs-hosted.com/latest/">Try it yourself ›</a>
163+
<a href="https://canonical.com/data/cassandra/docs/latest">Try it yourself ›</a>
164164
</div>
165165
</div>
166166
</div>
@@ -189,7 +189,7 @@ <h3 class="p-heading--5">Software Operator</h3>
189189
{%- if slot == 'list_item_description_2' -%}
190190
<p>Our software operator helps you automate the operations of your Apache Cassandra clusters including deployment, scaling, backup, encryption, and upgrades.</p>
191191
<div class="p-cta-block">
192-
<a class="p-button" href="https://canonical-charmed-cassandra.readthedocs-hosted.com/latest/">Check our software operator</a>
192+
<a class="p-button" href="https://canonical.com/data/cassandra/docs/latest">Check our software operator</a>
193193
</div>
194194
{%- endif -%}
195195

@@ -331,7 +331,7 @@ <h3 class="p-text--small-caps">Contact us</h3>
331331
<h3 class="p-text--small-caps">Read more</h3>
332332
<ul class="p-list">
333333
<li class="p-list__item">
334-
<a href="https://charmhub.io/cassandra">Charmed Apache Cassandra&nbsp;&rsaquo;</a>
334+
<a href="https://canonical.com/data/cassandra/docs/latest">Charmed Apache Cassandra&nbsp;&rsaquo;</a>
335335
</li>
336336
<li class="p-list__item">
337337
<a href="https://ubuntu.com/engage/data-backups">Data backups&nbsp;&rsaquo;</a>

templates/data/etcd/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
<a class="p-button--positive js-invoke-modal"
4646
aria-controls="data-etcd-modal"
4747
href="/contact-us">Contact us</a>
48-
<a href="https://canonical-charmed-etcd.readthedocs-hosted.com/tutorial/" class="p-button">Try etcd</a>
48+
<a href="https://canonical.com/data/etcd/docs/tutorial/" class="p-button">Try etcd</a>
4949
{%- endif -%}
5050
{%- endcall -%}
5151

@@ -135,7 +135,7 @@
135135
"headline": "To scale your operations",
136136
"description": "Including deployment, scaling, backups, restores, auto-tuning, encryption, monitoring, and upgrades.",
137137
"link": {
138-
"url": "https://canonical-charmed-etcd.readthedocs-hosted.com/how-to/",
138+
"url": "https://canonical.com/data/etcd/docs/how-to/",
139139
"text": "Check our automation&nbsp;&rsaquo;"
140140
}
141141
},
@@ -144,7 +144,7 @@
144144
"headline": "To get started",
145145
"description": "Get up and running quickly in either your lab or your production environments.",
146146
"link": {
147-
"url": "https://canonical-charmed-etcd.readthedocs-hosted.com/tutorial/",
147+
"url": "https://canonical.com/data/etcd/docs/tutorial/",
148148
"text": "Try it yourself&nbsp;&rsaquo;"
149149
}
150150
}
@@ -184,7 +184,7 @@ <h3 class="p-heading--5">Software operator</h3>
184184

185185
{%- if slot == 'list_item_description_3' -%}
186186
<p>Our charm helps you automate the operations of your etcd clusters, including deployment, scaling, backup, encryption, and upgrades.</p>
187-
<a href="https://canonical-charmed-etcd.readthedocs-hosted.com/how-to/" class="p-button">Explore all features</a>
187+
<a href="https://canonical.com/data/etcd/docs/how-to/" class="p-button">Explore all features</a>
188188
{%- endif -%}
189189

190190
{%- if slot == 'cta' -%}
@@ -404,7 +404,7 @@ <h3 class="p-text--small-caps">Contact us</h3>
404404
<h3 class="p-text--small-caps">Read more about</h3>
405405
<ul class="p-list">
406406
<li class="p-list__item">
407-
<a href="https://canonical-charmed-etcd.readthedocs-hosted.com/">Charmed etcd&nbsp;&rsaquo;</a>
407+
<a href="https://canonical.com/data/etcd/docs">Charmed etcd&nbsp;&rsaquo;</a>
408408
</li>
409409
<li class="p-list__item">
410410
<a href="https://documentation.ubuntu.com/canonical-kubernetes/latest/snap/reference/etcd/">Canonical K8s with etcd&nbsp;&rsaquo;</a>

templates/data/kafka/what-is-kafka.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ <h2>Installing Kafka</h2>
391391
You can use Charmed Apache Kafka to deploy a fully supported Kafka service on cloud servers, Kubernetes, or even on your laptop.
392392
</p>
393393
<div class="p-cta-block u-no-padding--bottom">
394-
<a class="p-button--positive" href="https://documentation.ubuntu.com/charmed-kafka/3">Try Charmed Kafka</a>
394+
<a class="p-button--positive" href="https://canonical.com/data/kafka/docs/latest">Try Charmed Kafka</a>
395395
</div>
396396
</div>
397397
</div>

templates/data/mongodb/what-is-mongodb.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ <h2>Installing Charmed MongoDB</h2>
463463
Charmed MongoDB is operated via Juju, an open source orchestration engine for software operators that makes MongoDB easy to operate.
464464
</p>
465465
<p>
466-
<a href="https://charmhub.io/mongodb">Access the<span class="u-off-screen">Charmed MongoDB</span> tutorial here&nbsp;&rsaquo;</a>
466+
<a href="https://canonical.com/data/mongodb/docs/latest">Access the<span class="u-off-screen">Charmed MongoDB</span> tutorial here&nbsp;&rsaquo;</a>
467467
</p>
468468
</div>
469469
</div>

templates/data/mysql/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ <h2>Easy to deploy and manage</h2>
212212
</ul>
213213
<hr class="p-rule--muted" />
214214
<p>
215-
<a href="https://canonical-charmed-mysql.readthedocs-hosted.com">Get started with Charmed MySQL&nbsp;&rsaquo;</a>
215+
<a href="https://canonical.com/data/mysql/docs/latest">Get started with Charmed MySQL&nbsp;&rsaquo;</a>
216216
</p>
217217
</div>
218218
</div>
@@ -489,7 +489,7 @@ <h2>Go further with Charmed MySQL</h2>
489489
<div class="row">
490490
<div class="col-3 col-medium-2">
491491
<h3 class="p-heading--5">
492-
Documentation for <a href="https://canonical-charmed-mysql-k8s.readthedocs-hosted.com">K8s</a> and <a href="https://canonical-charmed-mysql.readthedocs-hosted.com">VMs</a>
492+
Documentation for <a href="https://canonical.com/data/mysql/docs/latest">K8s</a> and <a href="https://canonical.com/data/mysql/docs/latest">VMs</a>
493493
</h3>
494494
</div>
495495
<div class="col-6 col-medium-4 p-section--shallow">

templates/data/opensearch/what-is-opensearch.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -625,7 +625,7 @@ <h2>Installing Charmed OpenSearch</h2>
625625
makes OpenSearch easy to operate.
626626
</p>
627627
<p>
628-
<a href="https://charmhub.io/opensearch/">Access the tutorial here&nbsp;&rsaquo;</a>
628+
<a href="https://canonical.com/data/opensearch/docs/latest">Access the tutorial here&nbsp;&rsaquo;</a>
629629
</p>
630630
</div>
631631
</div>

templates/data/postgresql/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ <h2>Easy to deploy and manage</h2>
209209
</ul>
210210
<hr class="p-rule--muted" />
211211
<p>
212-
<a href="https://charmhub.io/postgresql/docs/t-set-up">Get started with Charmed PostgreSQL&nbsp;&rsaquo;</a>
212+
<a href="https://canonical.com/data/postgresql/docs/latest/tutorial/">Get started with Charmed PostgreSQL&nbsp;&rsaquo;</a>
213213
</p>
214214
</div>
215215
</div>
@@ -462,7 +462,7 @@ <h2>Go further with Charmed PostgreSQL</h2>
462462
<div class="p-equal-height-row__item">
463463
<hr class="p-rule--muted u-hide--medium" />
464464
<p>
465-
Read the documentation for <a href="https://charmhub.io/postgresql-k8s">K8s</a> and <a href="https://charmhub.io/postgresql">VMs</a>
465+
Read the documentation for <a href="https://canonical.com/data/postgresql/docs/latest">K8s</a> and <a href="https://canonical.com/data/postgresql/docs/latest">VMs</a>
466466
&nbsp;&rsaquo;
467467
</p>
468468
</div>

templates/data/postgresql/what-is-postgresql.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ <h2>Installing PostgreSQL</h2>
476476
</li>
477477
</ul>
478478
<hr class="p-rule--muted" />
479-
<a href="https://charmhub.io/postgresql-k8s/docs/h-deploy-microk8s">Deploy PostgreSQL on your favourite K8s&nbsp;&rsaquo;</a>
479+
<a href="https://canonical.com/data/postgresql/docs/latest/how-to/deploy/k8s-clouds/">Deploy PostgreSQL on your favourite K8s&nbsp;&rsaquo;</a>
480480
</div>
481481
</div>
482482
</section>
@@ -612,7 +612,7 @@ <h2>Further reading</h2>
612612
<div class="row">
613613
<div class="col-3 col-medium-3">
614614
<p class="p-heading--5">
615-
Read the documentation for <a href="https://charmhub.io/postgresql-k8s">K8s</a> and <a href="https://charmhub.io/postgresql/docs/t-overview">VMs</a>
615+
Read the documentation for <a href="https://canonical.com/data/postgresql/docs/latest">K8s</a> and <a href="https://canonical.com/data/postgresql/docs/latest/explanation/">VMs</a>
616616
</p>
617617
</div>
618618
<div class="col-6 col-medium-3">

templates/data/relational-databases/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ <h2 class="p-section--shallow">Examples of popular relational databases</h2>
311311
<div class="row">
312312
<div class="col-2">
313313
<h3 class="p-heading--5 u-no-margin--bottom">
314-
<a href="https://canonical-charmed-mysql.readthedocs-hosted.com">MySQL</a>
314+
<a href="https://canonical.com/data/mysql/docs/latest">MySQL</a>
315315
</h3>
316316
</div>
317317
<div class="col-4">
@@ -322,7 +322,7 @@ <h3 class="p-heading--5 u-no-margin--bottom">
322322
<div class="row">
323323
<div class="col-2">
324324
<h3 class="p-heading--5 u-no-margin--bottom">
325-
<a href="https://charmhub.io/postgresql">PostgreSQL</a>
325+
<a href="https://canonical.com/data/postgresql/docs/latest">PostgreSQL</a>
326326
</h3>
327327
</div>
328328
<div class="col-4">

0 commit comments

Comments
 (0)