Skip to content

Conversation

josh-wong
Copy link
Member

Description

This PR fixes the versions shown in the version dropdown and banner announcement. When cutting a new release automatically by using Docusaurus, it doesn't automatically update the current.json file for i18n docs to show the next release, so it needs to be added manually. In addition, the banner announcement should have been updated from 3.11 to 3.12.

Related issues and/or PRs

Changes made

  • Changed the versions shown in the version dropdown and banner announcement from 3.11 to 3.12.

Checklist

The following is a best-effort checklist. If any items in this checklist are not applicable to this PR or are dependent on other, unmerged PRs, please still mark the checkboxes after you have read and understood each item.

  • I have updated the side navigation as necessary.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have updated the documentation to reflect the changes.
  • Any remaining open issues linked to this PR are documented and up-to-date (Jira, GitHub, etc.).
  • My changes generate no new warnings.
  • Any dependent changes in other PRs have been merged and published.

Additional notes (optional)

N/A

@josh-wong josh-wong self-assigned this Sep 25, 2025
@josh-wong josh-wong added the bugfix Fix that resolves bugs label Sep 25, 2025
@Copilot Copilot AI review requested due to automatic review settings September 25, 2025 05:18
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Updates the version references from 3.11 to 3.12 in documentation configuration files to reflect the new ScalarDL release.

  • Updated version label in Japanese internationalization file
  • Updated banner announcement text to reference ScalarDL 3.12

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current.json Updates version label from 3.11 to 3.12 for Japanese localization
docusaurus.config.js Updates announcement banner content to reference ScalarDL 3.12 instead of 3.11

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Copy link

Summary of Changes

Hello @josh-wong, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request ensures that the documentation site accurately reflects the latest ScalarDL version, 3.12, across both its public-facing announcement banner and the internal versioning metadata used for the version dropdown. This is crucial for providing users with up-to-date information about the current release.

Highlights

  • Update Banner Announcement: The announcement bar content in docusaurus.config.js has been updated to reflect the release of ScalarDL 3.12, changing from version 3.11.
  • Update Version Dropdown: The version label in the Japanese internationalization file (i18n/versioned_docs/ja-jp/docusaurus-plugin-content-docs/current.json) has been updated from 3.11 to 3.12, ensuring the version dropdown displays the correct current release.
  • Manual Docusaurus Update: This pull request addresses the need for manual updates to the current.json file for i18n docs, as Docusaurus does not automatically update it when a new release is cut.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request correctly updates the version number from 3.11 to 3.12 in the Docusaurus configuration for the announcement banner and in the Japanese i18n file for the version label. The changes are straightforward and achieve the stated goal. I have one suggestion regarding the announcement banner configuration to improve long-term maintainability for future version updates.

Copy link

@KodaiD KodaiD left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you!

Copy link

@yu2scalar yu2scalar left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you for your quick update.

@josh-wong josh-wong merged commit 65bd099 into main Sep 25, 2025
1 check passed
@josh-wong josh-wong deleted the change-version-in-ja-jp-dropdown-and-announcement branch September 25, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Fix that resolves bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants