diff --git a/.librarian/generator-input/client-post-processing/allow-docs-warnings-for-google-shopping-merchant-accounts.yaml b/.librarian/generator-input/client-post-processing/allow-docs-warnings-for-google-shopping-merchant-accounts.yaml deleted file mode 100644 index 0ed1bab55e2d..000000000000 --- a/.librarian/generator-input/client-post-processing/allow-docs-warnings-for-google-shopping-merchant-accounts.yaml +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 2025 Google LLC -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -description: Allow documentation warnings for google-shopping-merchant-accounts due to formatting issue in google/protobuf/empty.proto -url: https://github.com/googleapis/gapic-generator-python/issues/2490 -replacements: - - paths: [ - packages/google-shopping-merchant-accounts/noxfile.py, - ] - before: ' "-W", # warnings as errors\n' - after: '' - count: 1 diff --git a/.librarian/generator-input/client-post-processing/allow-docs-warnings.yaml b/.librarian/generator-input/client-post-processing/allow-docs-warnings.yaml new file mode 100644 index 000000000000..60fb84dca2ed --- /dev/null +++ b/.librarian/generator-input/client-post-processing/allow-docs-warnings.yaml @@ -0,0 +1,67 @@ +# Copyright 2025 Google LLC +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +description: Allow documentation warnings for google-shopping-merchant-accounts due to formatting issue in google/protobuf/empty.proto +url: https://github.com/googleapis/gapic-generator-python/issues/2490 +# Note: having one replacement per package instead of just listing the paths +# is annoying, but that's what synthtool expects and it's not worth fixing that +# at this stage. +replacements: + - paths: [ + packages/google-cloud-compute/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-compute-v1beta/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-container/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-dataplex/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-dialogflow-cx/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-network-connectivity/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-cloud-recaptcha-enterprise/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 + - paths: [ + packages/google-shopping-merchant-accounts/noxfile.py, + ] + before: ' "-W", # warnings as errors\n' + after: '' + count: 1 diff --git a/librarian.yaml b/librarian.yaml index 1474e1b36e00..e070fd60bf27 100644 --- a/librarian.yaml +++ b/librarian.yaml @@ -1817,7 +1817,6 @@ libraries: keep: - CHANGELOG.md - docs/CHANGELOG.md - skip_generate: true python: opt_args_by_api: google/cloud/dialogflow/cx/v3: diff --git a/packages/google-cloud-dialogflow-cx/.repo-metadata.json b/packages/google-cloud-dialogflow-cx/.repo-metadata.json index 061e9e93eb7b..e7b8df5971ad 100644 --- a/packages/google-cloud-dialogflow-cx/.repo-metadata.json +++ b/packages/google-cloud-dialogflow-cx/.repo-metadata.json @@ -1,15 +1,16 @@ { - "api_id": "dialogflow.googleapis.com", - "api_shortname": "dialogflow", - "client_documentation": "https://cloud.google.com/python/docs/reference/dialogflow-cx/latest", - "default_version": "v3", - "distribution_name": "google-cloud-dialogflow-cx", - "issue_tracker": "https://issuetracker.google.com/savedsearches/5300385", - "language": "python", - "library_type": "GAPIC_AUTO", - "name": "dialogflow-cx", - "name_pretty": "Dialogflow CX", - "product_documentation": "https://cloud.google.com/dialogflow/cx/docs", - "release_level": "stable", - "repo": "googleapis/google-cloud-python" + "api_description": "Builds conversational interfaces (for example, chatbots, and voice-powered\napps and devices).", + "api_id": "dialogflow.googleapis.com", + "api_shortname": "dialogflow", + "client_documentation": "https://cloud.google.com/python/docs/reference/dialogflow-cx/latest", + "default_version": "v3", + "distribution_name": "google-cloud-dialogflow-cx", + "issue_tracker": "https://issuetracker.google.com/savedsearches/5300385", + "language": "python", + "library_type": "GAPIC_AUTO", + "name": "dialogflow-cx", + "name_pretty": "Dialogflow CX", + "product_documentation": "https://cloud.google.com/dialogflow/cx/docs", + "release_level": "stable", + "repo": "googleapis/google-cloud-python" } \ No newline at end of file diff --git a/packages/google-cloud-dialogflow-cx/README.rst b/packages/google-cloud-dialogflow-cx/README.rst index 7645aae0b3a3..bfad9bcb312e 100644 --- a/packages/google-cloud-dialogflow-cx/README.rst +++ b/packages/google-cloud-dialogflow-cx/README.rst @@ -3,7 +3,8 @@ Python Client for Dialogflow CX |stable| |pypi| |versions| -`Dialogflow CX`_: +`Dialogflow CX`_: Builds conversational interfaces (for example, chatbots, and voice-powered +apps and devices). - `Client Library Documentation`_ - `Product Documentation`_ diff --git a/packages/google-cloud-dialogflow-cx/docs/README.rst b/packages/google-cloud-dialogflow-cx/docs/README.rst index 7645aae0b3a3..bfad9bcb312e 100644 --- a/packages/google-cloud-dialogflow-cx/docs/README.rst +++ b/packages/google-cloud-dialogflow-cx/docs/README.rst @@ -3,7 +3,8 @@ Python Client for Dialogflow CX |stable| |pypi| |versions| -`Dialogflow CX`_: +`Dialogflow CX`_: Builds conversational interfaces (for example, chatbots, and voice-powered +apps and devices). - `Client Library Documentation`_ - `Product Documentation`_ diff --git a/packages/google-cloud-dialogflow-cx/noxfile.py b/packages/google-cloud-dialogflow-cx/noxfile.py index 81e5eff6cbe1..25d4b5fca8e2 100644 --- a/packages/google-cloud-dialogflow-cx/noxfile.py +++ b/packages/google-cloud-dialogflow-cx/noxfile.py @@ -390,7 +390,6 @@ def docs(session): shutil.rmtree(os.path.join("docs", "_build"), ignore_errors=True) session.run( "sphinx-build", - "-W", # warnings as errors "-T", # show full traceback on exception "-N", # no colors "-b",