Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
9d77611
Sync docs from Discourse (#864)
github-actions[bot] May 28, 2025
266b34d
add starter pack and sync tutorial with VM
a-velasco May 29, 2025
07b6a7e
update deployment guides
a-velasco May 29, 2025
a76e645
rename how-to-guides to how-to
a-velasco May 29, 2025
af14b0e
sync how-to guides with vm
a-velasco May 29, 2025
19b5189
sync references with vm
a-velasco May 29, 2025
6ecaa94
sync explanation pages with vm
a-velasco May 29, 2025
2246f8b
add .readthedocs.yaml and reduce .gitignore scope for requirements.tx…
a-velasco May 29, 2025
915ee62
fix some formatting issues
a-velasco May 29, 2025
c049ae7
sync backup guides with vm
a-velasco May 29, 2025
633bc7b
fix misc. build errors and sync tutorial with vm
a-velasco May 30, 2025
76c5bc7
add doc ci checks
a-velasco May 30, 2025
1ebac47
remove discourse sync workflow
a-velasco May 30, 2025
d777e69
polish tutorial and deploy guide
a-velasco May 30, 2025
a92f111
specify channel on all deploy commands
a-velasco May 30, 2025
277bb86
sync misc. pages with vm
a-velasco Jun 3, 2025
66f04bc
minor README update with new documentation link
a-velasco Jun 3, 2025
1426b13
ignore docs folder in development workflows
a-velasco Jun 3, 2025
24211b6
remove sphinx python dependency check workflow
a-velasco Jun 5, 2025
36b028a
update configuration and relevant pages
a-velasco Jun 5, 2025
25bf525
replace deployment with channel 16
a-velasco Jun 5, 2025
be2e71f
Update README.md
a-velasco Jun 5, 2025
a682dea
sync with 16/edge
a-velasco Jun 5, 2025
0804bf6
update ci workflows
a-velasco Jun 5, 2025
64bd377
fix merge conflict with sync_docs.yaml
a-velasco Jun 5, 2025
6a065d5
update landing page and fix broken reference
a-velasco Jun 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 24 additions & 0 deletions .github/workflows/automatic-doc-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
#
name: Automatic doc checks

on:
push:
branches: [ main ]
pull_request:
paths:
- 'docs/**' # Only run on changes to the docs directory

workflow_dispatch:
# Manual trigger


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: "docs"
fetch-depth: 0
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ on:
- 'LICENSE'
- '**.md'
- .github/renovate.json5
- '.github/workflows/sync_docs.yaml'
- 'docs/**'
schedule:
- cron: '53 0 * * *' # Daily at 00:53 UTC
# Triggered on push to branch "main" by .github/workflows/release.yaml
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/lib-check.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ on:
- 'LICENSE'
- '**.md'
- 'renovate.json'
- 'docs/**'

jobs:
lib-check:
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/markdown-style-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Markdown style checks

on:
push:
branches:
- main
paths:
- 'docs/**' # Only run on changes to the docs directory
pull_request:
branches:
- '*'
paths:
- 'docs/**' # Only run on changes to the docs directory

jobs:
markdown-lint:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: DavidAnson/markdownlint-cli2-action@b4c9feab76d8025d1e83c653fa3990936df0e6c8
with:
config: "docs/.sphinx/.markdownlint.json"
18 changes: 0 additions & 18 deletions .github/workflows/sync_docs.yaml

This file was deleted.

39 changes: 39 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# .readthedocs.yaml
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details

# Required
version: 2

# Set the version of Python and other tools you might need
build:
os: ubuntu-22.04
tools:
python: "3.11"
jobs:
post_checkout:
- git fetch --unshallow || true
# Cancel building pull requests when there aren't changed in the docs directory.
# If there are no changes (git diff exits with 0) we force the command to return with 183.
# This is a special exit code on Read the Docs that will cancel the build immediately.
# https://docs.readthedocs.io/en/stable/build-customization.html#cancel-build-based-on-a-condition
- |
if [ "$READTHEDOCS_VERSION_TYPE" = "external" ] && git diff --quiet origin/16/docs -- 'docs/' '.readthedocs.yaml';
then
exit 183;
fi

# Build documentation in the docs/ directory with Sphinx
sphinx:
builder: dirhtml
configuration: docs/conf.py
fail_on_warning: true

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
# - pdf

# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/requirements.txt
40 changes: 40 additions & 0 deletions docs/.custom_wordlist.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Leave a blank line at the end of this file to support concatenation
backend
backends
Charmcraft
cjk
cryptographically
dvipng
fonts
freefont
github
GPG
gyre
https
Intersphinx
lang
LaTeX
latexmk
Multipass
otf
plantuml
PNG
Pygments
QEMU
Rockcraft
rst
SVG
tex
texlive
TOC
toctree
txt
uncommenting
utils
VMs
WCAG
whitespace
whitespaces
wordlist
xetex
xindy
26 changes: 26 additions & 0 deletions docs/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Environment
*env*/
.sphinx/venv/

# Sphinx
.sphinx/warnings.txt
.sphinx/.wordlist.dic
.sphinx/.doctrees/
.sphinx/update/
.sphinx/node_modules/

# Vale
.sphinx/styles/*
.sphinx/vale.ini

# Build outputs
_build

# Node.js
package*.json

# Unrelated cache and config files
.DS_Store
__pycache__
.idea/
.vscode/
21 changes: 21 additions & 0 deletions docs/.sphinx/.markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"default": false,
"MD003": {
"style": "atx"
},
"MD014": true,
"MD018": true,
"MD022": true,
"MD023": true,
"MD026": {
"punctuation": ".,;。,;"
},
"MD031": {
"list_items": false
},
"MD032": true,
"MD035": true,
"MD042": true,
"MD045": true,
"MD052": true
}
23 changes: 23 additions & 0 deletions docs/.sphinx/.pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
repos:
- repo: local
hooks:
- id: make-spelling
name: Run make spelling
entry: make -C docs spelling
language: system
pass_filenames: false
files: ^docs/.*\.(rst|md|txt)$

- id: make-linkcheck
name: Run make linkcheck
entry: make -C docs linkcheck
language: system
pass_filenames: false
files: ^docs/.*\.(rst|md|txt)$

- id: make-woke
name: Run make woke
entry: make -C docs woke
language: system
pass_filenames: false
files: ^docs/.*\.(rst|md|txt)$
Loading
Loading