Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
d4693b7
Add new starter pack workflows
s-makin Nov 24, 2025
d6382b2
rename README file
s-makin Nov 24, 2025
c4d9e0d
Move tutorials to docs dir
s-makin Nov 24, 2025
30214ef
Move how-tos to docs dir
s-makin Nov 24, 2025
1e6525d
Move explanations to docs dir
s-makin Nov 24, 2025
7e49fb4
Move reference pages to docs/ dir
s-makin Nov 24, 2025
82de988
Move contributing docs to docs/ dir
s-makin Nov 24, 2025
9f1323f
Consolidate ignore lists
s-makin Nov 24, 2025
1305cff
Move gitignore to docs folder
s-makin Nov 24, 2025
375dc47
Add starter pack version of readthedocs.yaml
s-makin Nov 24, 2025
50aa638
Remove files not needed in starter pack
s-makin Nov 24, 2025
28e5a8f
Consolidate Makefile
s-makin Nov 24, 2025
a958c92
Consolidate conf.py files
s-makin Nov 24, 2025
3b0e14c
Move files to docs/ dir
s-makin Nov 24, 2025
ba0a280
Remove unneeded files, add starter pack versions
s-makin Nov 24, 2025
a1ab96d
add new requirements file
s-makin Nov 24, 2025
5a48d65
remove unneeded python module
s-makin Nov 24, 2025
5d56f44
Remove problematic test
s-makin Nov 25, 2025
a5a0651
Removing markdown linting check completely
s-makin Nov 25, 2025
bc8af31
Fix incorrect path for doc checks
s-makin Nov 25, 2025
7ce69c5
disable automatic checks
s-makin Nov 25, 2025
6d8fbef
Remove unneeded checks
s-makin Nov 25, 2025
7b35cf3
Add Makefile wrapper to run commands anywhere
s-makin Nov 27, 2025
b892590
Remove page, not different from Starter Pack
s-makin Nov 27, 2025
a7b6f4e
Override SP defaults to retain edit/view source links
s-makin Nov 27, 2025
2802d42
remove hardcoded link to bundle.js
s-makin Nov 27, 2025
4a8bd9b
Fix cookie banner
s-makin Nov 27, 2025
30e8aaf
Fix feedback button so it points to template
s-makin Nov 27, 2025
dcb028a
Move remaining js/css files
s-makin Nov 27, 2025
b8b1217
Various fixes to broken configuration
s-makin Nov 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 14 additions & 5 deletions .github/workflows/automatic-doc-checks.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
name: Main Documentation Checks
name: Automatic doc checks

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

workflow_dispatch:
# Manual trigger

on:
- workflow_dispatch

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

jobs:
documentation-checks:
uses: canonical/documentation-workflows/.github/workflows/documentation-checks.yaml@main
with:
working-directory: '.'
working-directory: 'docs'
fetch-depth: 0
9 changes: 5 additions & 4 deletions .github/workflows/cla-check.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
---
# This workflow checks if the contributor has signed the Canonical Contributor Licence Agreement (CLA)
name: Canonical Contributor Licence Agreement check

name: cla-check

on: [pull_request_target]
on:
pull_request:
branches: [main]

jobs:
cla-check:
Expand Down
19 changes: 13 additions & 6 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@ build:
python: "3.11"
jobs:
post_checkout:
- python3 .sphinx/build_requirements.py
apt_packages:
- distro-info
- 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/main -- 'docs/' '.readthedocs.yaml';
then
exit 183;
fi

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

# If using Sphinx, optionally build your docs in additional formats such as PDF
Expand All @@ -29,4 +36,4 @@ formats:
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: .sphinx/requirements.txt
- requirements: docs/requirements.txt
24 changes: 0 additions & 24 deletions .sphinx/_static/github_issue_links.js

This file was deleted.

12 changes: 0 additions & 12 deletions .sphinx/_templates/base.html

This file was deleted.

127 changes: 0 additions & 127 deletions .sphinx/build_requirements.py

This file was deleted.

Binary file removed .sphinx/fonts/Ubuntu-B.ttf
Binary file not shown.
Binary file removed .sphinx/fonts/Ubuntu-R.ttf
Binary file not shown.
Binary file removed .sphinx/fonts/Ubuntu-RI.ttf
Binary file not shown.
Binary file removed .sphinx/fonts/UbuntuMono-R.ttf
Binary file not shown.
Binary file removed .sphinx/images/Canonical-logo-4x.png
Binary file not shown.
Binary file removed .sphinx/images/front-page-light.pdf
Binary file not shown.
Binary file removed .sphinx/images/front-page.png
Binary file not shown.
Binary file removed .sphinx/images/normal-page-footer.pdf
Binary file not shown.
4 changes: 0 additions & 4 deletions .wokeignore

This file was deleted.

49 changes: 0 additions & 49 deletions .wordlist.txt

This file was deleted.

37 changes: 11 additions & 26 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,29 +1,14 @@
# This Makefile stub allows you to customize starter pack (SP) targets.
# Consider this file as a bridge between your project
# and the starter pack's predefined targets that reside in Makefile.sp.
#
# You can add your own, non-SP targets here or override SP targets
# to fit your project's needs. For example, you can define and use targets
# named "install" or "run", but continue to use SP targets like "sp-install"
# or "sp-run" when working on the documentation.
# Wrapper Makefile to forward all commands to docs/Makefile
# This allows "make" commands to be run from the root dir

# Put it first so that "make" without argument is like "make help".
help:
@echo "\n" \
"------------------------------------------------------------- \n" \
"* watch, build and serve the documentation: make run \n" \
"* only build: make html \n" \
"* only serve: make serve \n" \
"* clean built doc files: make clean-doc \n" \
"* clean full environment: make clean \n" \
"* check links: make linkcheck \n" \
"* check spelling: make spelling \n" \
"* check inclusive language: make woke \n" \
"* check accessibility: make pa11y \n" \
"* build PDF: make pdf \n" \
"* force install packages for PDF generation: make pdf-prep-force \n" \
"* other possible targets: make <TAB twice> \n" \
"------------------------------------------------------------- \n"
# Get the directory where this Makefile is located (repository root)
ROOT_DIR := $(dir $(abspath $(lastword $(MAKEFILE_LIST))))

# Forward all targets to the docs/Makefile
.DEFAULT_GOAL := help

# Catch-all target: route all unknown targets to docs/Makefile
%:
$(MAKE) -f Makefile.sp sp-$@
@$(MAKE) -C $(ROOT_DIR)docs $@

.PHONY: help
Loading