Skip to content

Commit 3615ceb

Browse files
authored
docs - update docs workflow (#1059)
* add linkcheck to spellcheck workflow * fix broken links * add inclusive language to workflow * rename files for clarity
1 parent 95b0b57 commit 3615ceb

File tree

6 files changed

+24
-9
lines changed

6 files changed

+24
-9
lines changed

.github/workflows/docs-spelling-checks.yml .github/workflows/docs-checks.yml

+20-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Documentation Spelling Check
1+
name: Documentation Checks
22

33
on:
44
workflow_dispatch:
@@ -9,16 +9,33 @@ permissions:
99
contents: read
1010

1111
jobs:
12-
spell-check:
12+
doc-checks:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v4
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
1618
- name: Install vale
1719
run: sudo snap install vale
1820
- id: spell-check
1921
name: Spell Check
2022
run: vale --glob='*.{md,txt,rst}' .
2123
working-directory: docs/canonicalk8s
24+
25+
- name: Link Check
26+
id: linkcheck-step
27+
if: success() || failure()
28+
uses: canonical/documentation-workflows/linkcheck@main
29+
with:
30+
working-directory: docs/canonicalk8s
31+
32+
- name: Inclusive Language Check
33+
id: woke-step
34+
if: success() || failure()
35+
uses: canonical/documentation-workflows/inclusive-language@main
36+
with:
37+
working-directory: docs/canonicalk8s
38+
2239
# continue-on-error: true
2340
# - if: ${{ github.event_name == 'pull_request' && steps.spell-check.outcome == 'failure' }}
2441
# uses: actions/github-script@v6

docs/canonicalk8s/charm/howto/install/charm.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ Use `juju status` to watch these units approach the active/idle state.
9090

9191
[Installing]: ./index
9292
[channels]: ../../explanation/channels
93-
[credentials]: https://juju.is/docs/juju/credentials
93+
[credentials]: https://canonical-juju.readthedocs-hosted.com/en/latest/user/reference/credential/
9494
[juju]: https://juju.is/docs/juju/install-juju
9595
[charm]: https://juju.is/docs/juju/charmed-operator
9696
[localhost]: install-lxd

docs/canonicalk8s/charm/howto/upgrade-minor.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ to ensure that the cluster is fully functional.
211211
[backup-restore]: ../../snap/howto/backup-restore
212212
[charmhub]: https://charmhub.io/k8s
213213
[cluster-validation]: ./validate
214-
[juju-docs]: https://juju.is/docs/juju/upgrade-models
214+
[juju-docs]: https://canonical-juju.readthedocs-hosted.com/en/latest/user/howto/manage-models/#manage-models
215215
[release-notes]: ../reference/releases
216216
[upgrade-notes]: ../reference/upgrade-notes
217217
[upstream-notes]: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.32.md#deprecation

docs/canonicalk8s/charm/howto/upgrade-patch.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,6 @@ to ensure that the cluster is fully functional.
202202
[backup-restore]: ../../snap/howto/backup-restore
203203
[charmhub]: https://charmhub.io/k8s
204204
[cluster-validation]: ./validate
205-
[juju-docs]: https://juju.is/docs/juju/upgrade-models
205+
[juju-docs]: https://canonical-juju.readthedocs-hosted.com/en/latest/user/howto/manage-models/#manage-models
206206
[release-notes]: ../reference/releases
207207
[upstream-notes]: https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG

docs/canonicalk8s/snap/explanation/security.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -54,15 +54,13 @@ useful.
5454

5555
As with previously released Kubernetes software from Canonical, we aim to
5656
satisfy the needs of various security compliance standards. This is a process
57-
that will take some time however. Please watch out for future announcements and
58-
check the [roadmap][] for current areas of work.
57+
that will take some time however.
5958

6059
<!-- LINKS -->
6160

6261
[Kubernetes Security documentation]: https://kubernetes.io/docs/concepts/security/overview/
6362
[snap documentation]: https://snapcraft.io/docs/security-policies
6463
[rocks-security]: https://documentation.ubuntu.com/rockcraft/en/latest/explanation/rockcraft.html
65-
[roadmap]: ../reference/roadmap
6664
[Amazon Web Services security]: https://aws.amazon.com/security/
6765
[Google Cloud Platform security]:https://cloud.google.com/security
6866
[Metal As A Service(MAAS) hardening]:https://maas.io/docs/how-to-enhance-maas-security

0 commit comments

Comments
 (0)