Skip to content

Commit e7a1a1c

Browse files
authored
chore(librarian): remove docs/README.rst from preserve_regex (#14848)
As of #14751, package level `docs/README.rst` files are included in the generated output and are a copy of the package `README.rst`. We don't need to preserve the existing version.
1 parent 81812fd commit e7a1a1c

File tree

4 files changed

+0
-231
lines changed

4 files changed

+0
-231
lines changed

.generator/cli.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,6 @@ def _add_new_library_preserve_regex(library_config: Dict, library_id: str) -> No
138138
library_config["preserve_regex"] = [
139139
f"packages/{library_id}/CHANGELOG.md",
140140
"docs/CHANGELOG.md",
141-
"docs/README.rst",
142141
"samples/README.txt",
143142
"scripts/client-post-processing",
144143
"samples/snippets/README.rst",

.generator/test-resources/librarian/build-request.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
".OwlBot.yaml",
2727
"packages/google-cloud-language/CHANGELOG.md",
2828
"docs/CHANGELOG.md",
29-
"docs/README.rst",
3029
"samples/README.txt",
3130
"tar.gz",
3231
"scripts/client-post-processing"

.generator/test-resources/librarian/generate-request.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
".OwlBot.yaml",
2727
"packages/google-cloud-language/CHANGELOG.md",
2828
"docs/CHANGELOG.md",
29-
"docs/README.rst",
3029
"samples/README.txt",
3130
"tar.gz",
3231
"scripts/client-post-processing"

0 commit comments

Comments
 (0)