Skip to content

feat: Update root reference docs with latest version#4081

Merged
jinseopkim0 merged 1 commit intomainfrom
doc_reference
Aug 19, 2025
Merged

feat: Update root reference docs with latest version#4081
jinseopkim0 merged 1 commit intomainfrom
doc_reference

Conversation

@jinseopkim0
Copy link
Copy Markdown
Contributor

@jinseopkim0 jinseopkim0 commented Aug 19, 2025

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.

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.
@sonarqubecloud
Copy link
Copy Markdown

@jinseopkim0 jinseopkim0 requested a review from mpeddada1 August 19, 2025 20:28
@jinseopkim0 jinseopkim0 marked this pull request as ready for review August 19, 2025 20:28
@jinseopkim0 jinseopkim0 requested a review from a team as a code owner August 19, 2025 20:28
@jinseopkim0 jinseopkim0 enabled auto-merge (squash) August 19, 2025 20:28
Comment on lines +194 to +195
for f in "${ROOT_FOLDER}"/docs/target/generated-docs/\*; do
file=${f#${ROOT_FOLDER}/docs/target/generated-docs/\*}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

qq : is the addition of the \ before the asterisk intentional?

@jinseopkim0 jinseopkim0 merged commit 20c45f9 into main Aug 19, 2025
105 of 110 checks passed
@jinseopkim0 jinseopkim0 deleted the doc_reference branch August 19, 2025 20:38
jinseopkim0 added a commit that referenced this pull request Aug 19, 2025
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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

doc: reference doc not pointing to latest

2 participants