From 0967483f429028f20c1e7a1879a5ca39ef6b91c4 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Tue, 16 Dec 2025 22:01:20 -0800 Subject: [PATCH 1/3] Configure .meta.toml to ignore the _build directory for docs --- .gitignore | 3 +++ .meta.toml | 9 ++++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a602abea..53a30e59 100644 --- a/.gitignore +++ b/.gitignore @@ -48,6 +48,9 @@ local.cfg /venv/ .installed.txt +## Added by .meta.toml +# ignore docs build +_build ## # Add extra configuration options in .meta.toml: diff --git a/.meta.toml b/.meta.toml index d33e21f1..0b586638 100644 --- a/.meta.toml +++ b/.meta.toml @@ -3,7 +3,7 @@ # See the inline comments on how to expand/tweak this configuration file [meta] template = "default" -commit-id = "2.2.2" +commit-id = "2.3.1" [pre_commit] codespell_extra_lines = """ @@ -120,3 +120,10 @@ commands = mkdir -p {toxinidir}/_build/plone6docs sphinx-autobuild -b html -d _build/plone6docs/doctrees docs _build/plone6docs/html """ + +[gitignore] +extra_lines = """ +## Added by .meta.toml +# ignore docs build +_build +""" From 012cd146bc73eaf9bb805743bf42e0f38d5c0141 Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Tue, 16 Dec 2025 22:04:30 -0800 Subject: [PATCH 2/3] add leading slash --- .gitignore | 2 +- .meta.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.gitignore b/.gitignore index 53a30e59..23987304 100644 --- a/.gitignore +++ b/.gitignore @@ -50,7 +50,7 @@ local.cfg ## Added by .meta.toml # ignore docs build -_build +/_build ## # Add extra configuration options in .meta.toml: diff --git a/.meta.toml b/.meta.toml index 0b586638..05c15b12 100644 --- a/.meta.toml +++ b/.meta.toml @@ -125,5 +125,5 @@ commands = extra_lines = """ ## Added by .meta.toml # ignore docs build -_build +/_build """ From fcffd0bd748d590b7436d3aae02aca829bdec22c Mon Sep 17 00:00:00 2001 From: Steve Piercy Date: Tue, 16 Dec 2025 22:04:36 -0800 Subject: [PATCH 3/3] change log --- news/598.internal | 1 + 1 file changed, 1 insertion(+) create mode 100644 news/598.internal diff --git a/news/598.internal b/news/598.internal new file mode 100644 index 00000000..9a0be666 --- /dev/null +++ b/news/598.internal @@ -0,0 +1 @@ +Ignore the `/_build` directory from building documentation. @stevepiercy