Skip to content

Commit

Permalink
Merge pull request #1845 from rkratky/FR-5662_docs-checks
Browse files Browse the repository at this point in the history
Add docs checks to GH workflows
  • Loading branch information
rkratky committed Oct 24, 2023
2 parents 4f1b2cc + d28b09b commit 41114a0
Show file tree
Hide file tree
Showing 5 changed files with 26 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/automatic-doc-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Main Documentation Checks

on:
pull_request:
paths:
- 'doc/**'
push:
paths:
- 'doc/**'
workflow_dispatch:
paths:
- 'doc/**'

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
documentation-checks:
uses: canonical/documentation-workflows/.github/workflows/documentation-checks.yaml@main
with:
working-directory: 'doc'
1 change: 1 addition & 0 deletions doc/.wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ VM
YAML
addons
balancer
boolean
dropdown
favicon
installable
Expand Down
2 changes: 1 addition & 1 deletion doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ linkcheck:
. $(VENV) ; $(SPHINXBUILD) -c . -b linkcheck "$(SOURCEDIR)" "$(BUILDDIR)"

woke:
type woke >/dev/null 2>&1 || { sudo snap install woke; exit 1; }
type woke >/dev/null 2>&1 || { sudo snap install woke || exit 1; }
woke *.rst **/*.rst -c https://github.com/canonical-web-and-design/Inclusive-naming/raw/main/config.yml

.PHONY: help Makefile
Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.. _index:

Ubuntu Installation documentation
Ubuntu installation documentation
#################################

-----
Expand Down
2 changes: 1 addition & 1 deletion doc/reference/autoinstall-reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ admin-name
~~~~~~~~~~

A domain account name with privilege to perform the join operation. That
account's password will be requested during runtime.
account's password will be requested during run time.

domain-name
~~~~~~~~~~~
Expand Down

0 comments on commit 41114a0

Please sign in to comment.