feat: Update root reference docs with latest version#4081
Merged
jinseopkim0 merged 1 commit intomainfrom Aug 19, 2025
Merged
Conversation
e7cb318 to
af6b7a8
Compare
Fixes #3610 Modifies the ghpages.sh script to update the root documentation directory (e.g., /reference/html/) in the gh-pages branch *only* when a versioned release is being processed (using the -v flag). This is achieved by adding calls to copy_docs_for_branch within the copy_docs_for_provided_version function to target the root destination folder, in addition to the version-specific folder. This ensures the version-less URL always points to the latest officially released documentation.
af6b7a8 to
650c08b
Compare
|
mpeddada1
reviewed
Aug 19, 2025
Comment on lines
+194
to
+195
| for f in "${ROOT_FOLDER}"/docs/target/generated-docs/\*; do | ||
| file=${f#${ROOT_FOLDER}/docs/target/generated-docs/\*} |
Contributor
There was a problem hiding this comment.
qq : is the addition of the \ before the asterisk intentional?
mpeddada1
approved these changes
Aug 19, 2025
jinseopkim0
added a commit
that referenced
this pull request
Aug 19, 2025
Added in #4081 by mistake.
zhumin8
pushed a commit
that referenced
this pull request
Aug 20, 2025
🤖 I have created a release *beep* *boop* --- ## [7.2.0](v7.1.0...v7.2.0) (2025-08-19) ### Features * Update root reference docs with latest version ([#4081](#4081)) ([20c45f9](20c45f9)) ### Bug Fixes * **deps:** update dependency com.google.api:gapic-generator-java-bom to v2.61.0 ([#4071](#4071)) ([f96a628](f96a628)) * **deps:** update dependency com.google.cloud:libraries-bom to v26.66.0 ([#4070](#4070)) ([4aa58cd](4aa58cd)) * **doc:** fix secret manager section header levels ([#4060](#4060)) ([82df717](82df717)), closes [#4072](#4072) * **docs:** add missing parameter.adoc to documentation index ([#4069](#4069)) ([23dc9ae](23dc9ae)) * remove unnecessary backslashes ([#4083](#4083)) ([0cfe9d9](0cfe9d9)) * **spanner:** check for empty before delete ([#4047](#4047)) ([b50c092](b50c092)) ### Documentation * Add 80% test coverage requirement for new code ([#4062](#4062)) ([092a1dd](092a1dd)) * update reference documentation links to the latest ([#4049](#4049)) ([4e66678](4e66678)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Fixes #3610
Modifies the ghpages.sh script to update the root documentation
directory (e.g., /reference/html/) in the gh-pages branch only
when a versioned release is being processed (using the -v flag).
This is achieved by adding calls to copy_docs_for_branch within the
copy_docs_for_provided_version function to target the root
destination folder, in addition to the version-specific folder.
This ensures the version-less URL always points to the latest
officially released documentation.