Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 6, 2025

Overview

Upgrades atsphinx-mini18n from 0.4.1 to 0.5.1, bringing nested style output support and bug fixes. Enables the new "Nested style" output feature.

Details

  • Updated atsphinx-mini18n==0.4.1atsphinx-mini18n==0.5.1 in pyproject.toml
  • Added mini18n_build_style = "nested" to conf.py to enable nested style output (default language at root, other languages in subdirectories)
  • v0.5.0: Adds nested style output, requires Python 3.10+ and Sphinx 8.0+
  • v0.5.1: Removes debug print statement
  • Compatible with current setup: CI uses Python 3.12, Sphinx 8.2.1
  • Note: docs dependencies now require Python 3.10+ (core tutorial still works on 3.9+)
Original prompt

This section details on the original issue you should resolve

<issue_title>Upgrade atsphinx-mini18n to latest version (0.5.1)</issue_title>
<issue_description>## Summary
The project currently uses atsphinx-mini18n==0.4.1. The latest version is 0.5.1 (released December 4, 2025), which includes significant new features and improvements.

New Features in 0.5.x

Version 0.5.0 (November 17, 2025)

  • Major Feature: Support for "Nested style" output (replaces the previous "Flat style" approach)
  • Breaking Changes:
    • Requires Python 3.10+ (drops support for Python 3.8 and 3.9)
    • Requires Sphinx 8.0 and later
  • Development Infrastructure:
    • Switched from mise to aqua
    • Replaced mypy with ty
    • Updated CI/CD workflows to latest actions
    • Translation generation now references environment variables for translator identification

Version 0.5.1 (December 4, 2025)

  • Fix: Removed unused print statement (debugging code cleanup)

Action Required

  1. Verify compatibility with current Python version (must be 3.10+)
  2. Verify compatibility with Sphinx 8.0+ (current version in pyproject.toml: 8.2.1)
  3. Update atsphinx-mini18n==0.4.1 to atsphinx-mini18n==0.5.1 in pyproject.toml
  4. Test the documentation build with the new nested style output
  5. Review any configuration changes needed for the nested style output format

References

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Update atsphinx-mini18n to latest version 0.5.1 Upgrade atsphinx-mini18n to latest version (0.5.1) Dec 6, 2025
Copilot AI requested a review from tkoyama010 December 6, 2025 03:25
Copy link
Member

@tkoyama010 tkoyama010 left a comment

Choose a reason for hiding this comment

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

@copilot Please use "Nested style" output of atsphinx-mini18n

Copy link
Contributor Author

Copilot AI commented Dec 6, 2025

@copilot Please use "Nested style" output of atsphinx-mini18n

Added mini18n_build_style = "nested" to conf.py to enable nested style output. With this configuration, the default language (English) content will be placed at the root level while other languages (Japanese) will be in subdirectories. (8078252)

@github-actions
Copy link
Contributor

github-actions bot commented Dec 6, 2025

Copy link
Member

@tkoyama010 tkoyama010 left a comment

Choose a reason for hiding this comment

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

LGTM

@tkoyama010 tkoyama010 marked this pull request as ready for review December 6, 2025 04:15
Copilot AI review requested due to automatic review settings December 6, 2025 04:15
@tkoyama010 tkoyama010 enabled auto-merge (squash) December 6, 2025 04:15
Copy link
Contributor

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

This PR upgrades the atsphinx-mini18n package from version 0.4.1 to 0.5.1 and enables the new nested style output feature for multi-language documentation.

  • Updated dependency to atsphinx-mini18n==0.5.1 with support for nested-style output (default language at root, other languages in subdirectories)
  • Configured the nested build style in Sphinx configuration
  • Maintains compatibility with the current Python 3.12 CI environment and Sphinx 8.2.1

Reviewed changes

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

File Description
pyproject.toml Updates atsphinx-mini18n dependency from 0.4.1 to 0.5.1 in the docs optional dependencies
doc/source/conf.py Adds mini18n_build_style = "nested" configuration to enable the new nested-style multi-language output format

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@tkoyama010 tkoyama010 disabled auto-merge December 6, 2025 04:57
@tkoyama010 tkoyama010 merged commit 6d7c445 into main Dec 6, 2025
13 checks passed
@tkoyama010 tkoyama010 deleted the copilot/upgrade-atsphinx-mini18n-to-051 branch December 6, 2025 04:57
@tkoyama010 tkoyama010 linked an issue Dec 6, 2025 that may be closed by this pull request
tkoyama010

This comment was marked as duplicate.

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.

Upgrade atsphinx-mini18n to latest version (0.5.1) Mesh Scalar Assign Tutorial Does Not Render

2 participants