From ccae321b82a55252deffa9323932f357a1ab229a Mon Sep 17 00:00:00 2001 From: Joe Heck Date: Wed, 2 Sep 2026 16:44:04 -0700 Subject: [PATCH] adds --enable-experimental-code-block-annotations to the default build options for the catalogs (aside from std lib) being collected into docs.swift.org --- .gitignore | 2 ++ scripts/build_docs.py | 1 + 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 184eff813..8f0288dad 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ Package.resolved **/*.docc/header.html **/*.docc/footer.html scripts/__pycache__/ +.coverage +.coverage.* diff --git a/scripts/build_docs.py b/scripts/build_docs.py index b5f9672ba..477118e72 100755 --- a/scripts/build_docs.py +++ b/scripts/build_docs.py @@ -55,6 +55,7 @@ class ArchiveFetchError(Exception): "--experimental-enable-custom-templates", "--enable-mentioned-in", # "--enable-experimental-external-link-support", + "--enable-experimental-code-block-annotations", # Emit a markdown copy of every rendered document (plus a manifest) under # data/documentation/. These sidecar files survive docc merge and # process-archive transform-for-static-hosting, so they reach the published