···6667 testScript = ''
68 machine.wait_for_unit("incus.service")
06970 # Check that the INCUS_UI environment variable is populated in the systemd unit
71 machine.succeed("systemctl cat incus.service | grep 'INCUS_UI'")
7273 # Ensure the endpoint returns an HTML page with 'Incus UI' in the title
74 machine.succeed("curl -kLs https://localhost:8443/ui | grep '<title>Incus UI</title>'")
0007576 # Ensure the application is actually rendered by the Javascript
77 machine.succeed("PYTHONUNBUFFERED=1 selenium-script")
···6667 testScript = ''
68 machine.wait_for_unit("incus.service")
69+ machine.wait_for_unit("incus-preseed.service")
7071 # Check that the INCUS_UI environment variable is populated in the systemd unit
72 machine.succeed("systemctl cat incus.service | grep 'INCUS_UI'")
7374 # Ensure the endpoint returns an HTML page with 'Incus UI' in the title
75 machine.succeed("curl -kLs https://localhost:8443/ui | grep '<title>Incus UI</title>'")
76+77+ # Ensure the documentation is rendering correctly
78+ machine.succeed("curl -kLs https://localhost:8443/documentation/ | grep '<title>Incus documentation</title>'")
7980 # Ensure the application is actually rendered by the Javascript
81 machine.succeed("PYTHONUNBUFFERED=1 selenium-script")
+26
pkgs/by-name/in/incus/docs.patch
···00000000000000000000000000
···1+diff --git i/doc/conf.py w/doc/conf.py
2+index 8d042818b..b4f0572bd 100644
3+--- i/doc/conf.py
4++++ w/doc/conf.py
5+@@ -8,10 +8,6 @@ import yaml
6+ from git import Repo
7+ import filecmp
8+9+-# Download and link swagger-ui files
10+-if not os.path.isdir('.sphinx/deps/swagger-ui'):
11+- Repo.clone_from('https://github.com/swagger-api/swagger-ui', '.sphinx/deps/swagger-ui', depth=1)
12+-
13+ os.makedirs('.sphinx/_static/swagger-ui/', exist_ok=True)
14+15+ if not os.path.islink('.sphinx/_static/swagger-ui/swagger-ui-bundle.js'):
16+@@ -151,10 +147,6 @@ if os.path.exists("./related_topics.yaml"):
17+ with open("./related_topics.yaml", "r") as fd:
18+ myst_substitutions.update(yaml.safe_load(fd.read()))
19+20+-intersphinx_mapping = {
21+- 'cloud-init': ('https://cloudinit.readthedocs.io/en/latest/', None)
22+-}
23+-
24+ if ("LOCAL_SPHINX_BUILD" in os.environ) and (os.environ["LOCAL_SPHINX_BUILD"] == "True"):
25+ swagger_url_scheme = "/api/#{{path}}"
26+ else: