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
4ecc979
doc: Project-aware member shutdown instructions
MggMuggins Apr 28, 2026
98510ab
doc: update outdated links
May 5, 2026
37e62f6
doc: add markdown linter
Apr 29, 2026
f9145dd
doc: fix lint issues in markdown files
Apr 29, 2026
4751a24
doc: add documentation organization info to homepage
May 7, 2026
9fe8ab8
doc: only link to product page in homepage related links
May 7, 2026
9603455
doc/custom_conf.py: Update MicroCeph URL
elijahgreenstein May 14, 2026
a230900
doc: remove use of build_requirements.py
May 1, 2026
9c05659
doc: merge conf.py and custom_conf.py
May 1, 2026
39a0f68
doc: merge and update makefile
May 4, 2026
fdedc05
doc: replace pyspelling and woke with vale
May 4, 2026
2c1da1f
doc: fix vale-flagged spelling/woke issues
May 4, 2026
b372eab
doc: use canonical-sphinx theme with customizations
May 5, 2026
abae002
doc: update use of terminal directive
May 5, 2026
dae6ffe
doc: move _templates/ and _static/ to doc/
May 5, 2026
141dcde
doc: use SINGLE_BUILD for linkchecks
May 5, 2026
ce8127b
doc: replace reredirects extension with rerediraffe
May 6, 2026
d6058dd
doc: update microceph config paths
May 6, 2026
cfc34d7
doc: move substitutions.yaml file
May 7, 2026
714d202
doc: consistent use of single quotes in conf.py
May 7, 2026
cc74b06
doc: ignore ubuntu.com in linkcheck
May 7, 2026
b2c8c1b
doc: include integration/microcloud in make clean-integrate
May 7, 2026
f9325c7
doc: remove RTD search support
May 7, 2026
7fdcf68
doc: add sphinx-stack version
May 7, 2026
9abb90f
doc: remove no longer needed workarounds in .readthedocs.yaml
May 7, 2026
355164b
doc: link to Sphinx Stack syntax guides
elijahgreenstein May 23, 2026
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
40 changes: 40 additions & 0 deletions .github/workflows/markdown-style-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: Markdown style checks

permissions:
contents: read

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

defaults:
run:
# Make sure bash is always invoked with `-eo pipefail`
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsshell
shell: bash

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

jobs:
markdown-lint:
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
persist-credentials: false
- name: Create venv
working-directory: "doc"
run: make install
- name: Lint markdown
working-directory: "doc"
run: make lint-md
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,7 @@ jobs:
with:
working-directory: './doc'
makefile: 'Makefile'
python-version: '3.12'

snap:
name: Trigger snap edge build
Expand Down
1 change: 0 additions & 1 deletion .wokeignore

This file was deleted.

6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
The MicroCloud team welcomes contributions through pull requests, issue reports, and discussions.

- Contribute to the code or documentation, report bugs, or request features in the [GitHub repository](https://github.com/canonical/microcloud).
- Ask questions or join discussions in the [MicroCloud forum](https://discourse.ubuntu.com/c/lxd/microcloud/145).
- Ask questions or join discussions in the [MicroCloud forum](https://discourse.ubuntu.com/c/project/lxd/microcloud/145).

Review the following guidelines before contributing to the project.

## Code of Conduct

All contributors must adhere to the [Ubuntu Code of Conduct](https://ubuntu.com/community/ethos/code-of-conduct).
All contributors must adhere to the [Ubuntu Code of Conduct](https://ubuntu.com/community/docs/ethos/code-of-conduct).

## License and copyright

All external contributors must sign the [Canonical contributor license agreement (CCLA)](https://ubuntu.com/legal/contributors), which grants Canonical permission to use the contributions.
All external contributors must sign the [Canonical contributor license agreement (CCLA)](https://canonical.com/legal/contributors), which grants Canonical permission to use the contributions.

- You retain copyright ownership of your contributions (no copyright assignment).
- By default, contributions are licensed under the project's **AGPL-3.0-only** license.
Expand Down
1 change: 1 addition & 0 deletions doc/.custom_wordlist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ scalable
SDN
snapd
SSD
subfolders
subnet
subnets
SVG
Expand Down
4 changes: 1 addition & 3 deletions doc/.gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
/*env*/
.sphinx/venv/
.sphinx/requirements.txt
.venv/
.sphinx/warnings.txt
.sphinx/.wordlist.dic
.sphinx/.doctrees/
.sphinx/node_modules/
package*.json
Expand Down
9 changes: 2 additions & 7 deletions doc/.readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,7 @@ build:
- git fetch --unshallow || true
- cd doc && make GOTOOLCHAIN=auto integrate
- cd doc/integration/lxd/ && GOTOOLCHAIN=auto go build -ldflags "-s -w" -o trimpath -o lxc.bin ./lxc
# Pretend that woke is installed - we don't need it for building
# (workaround until https://github.com/canonical/microovn/pull/168 is merged
# and https://github.com/canonical/microceph/pull/400 is restored)
- ln -s /bin/true doc/integration/microovn/docs/woke
- ln -s /bin/true doc/integration/microceph/docs/woke
- make GOTOOLCHAIN=auto doc-html-rtd PATH=$PATH:.
- cd doc && make GOTOOLCHAIN=auto html-rtd PATH=$PATH:.

# Build documentation in the docs/ directory with Sphinx
sphinx:
Expand All @@ -35,4 +30,4 @@ sphinx:
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: doc/.sphinx/requirements.txt
- requirements: doc/requirements.txt
39 changes: 39 additions & 0 deletions doc/.sphinx/.pymarkdown.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"plugins": {
"selectively_enable_rules": true,
"heading-style": {
"enabled": true,
"style": "atx"
},
"commands-show-output": {
"enabled": true
},
"no-missing-space-atx": {
"enabled": true
},
"heading-start-left": {
"enabled": true
},
"no-trailing-punctuation": {
"enabled": true,
"punctuation": ".,;。،;"
},
"blanks-around-lists": {
"enabled": true
},
"hr-style": {
"enabled": true
},
"no-empty-links": {
"enabled": true
},
"no-alt-text": {
"enabled": true
}
},
"extensions": {
"front-matter" : {
"enabled" : true
}
}
}
12 changes: 4 additions & 8 deletions doc/.sphinx/_integration/add_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,18 @@

if project == "LXD":
html_baseurl = "https://documentation.ubuntu.com/lxd/stable-5.21/"
html_js_files.append('rtd-search.js')
html_css_files = globals().get('html_css_files', []) + ['override-header.css']
tags.add('integrated')
elif project == "MicroCeph":
html_baseurl = "https://canonical-microceph.readthedocs-hosted.com/en/latest/"
html_baseurl = "https://documentation.ubuntu.com/canonical-microceph/v19.2.0-squid/"
# Override default header templates
templates_path = globals().get('templates_path', []) + [".sphinx/_templates"]
templates_path = globals().get('templates_path', []) + ["_templates"]
# Override default header styles
html_static_path = globals().get('html_static_path', []) + [".sphinx/_static"]
html_static_path = globals().get('html_static_path', []) + ["_static"]
html_css_files = globals().get('html_css_files', []) + ['override-header.css']
# Add rtd-search.js to the list of JS files
html_js_files = globals().get('html_js_files', []) + ['rtd-search.js']
# Add "integrated" to the list of custom tags
custom_tags = globals().get('custom_tags', []) + ['integrated']
tags.add('integrated')
elif project == "MicroOVN":
html_baseurl = "https://canonical-microovn.readthedocs-hosted.com/en/24.03/"
custom_html_js_files.append('rtd-search.js')
custom_tags.append('integrated')

6 changes: 0 additions & 6 deletions doc/.sphinx/_integration/rtd-search.js

This file was deleted.

13 changes: 0 additions & 13 deletions doc/.sphinx/_static/404.svg

This file was deleted.

Loading
Loading