Skip to content

Conversation

@mmcky
Copy link
Contributor

@mmcky mmcky commented Oct 20, 2025

This PR updates sphinx-proof from version 0.2.1 to 0.3.0 and enables Chinese language support.

Changes

  • Updated environment.yml to use sphinx-proof==0.3.0
  • Updated environment-cn.yml to use sphinx-proof==0.3.0
  • Added language: zh_CN configuration in _config.yml to enable Chinese translations
  • Fixed duplicate intersphinx_mapping key in _config.yml

What's New in sphinx-proof 0.3.0

  • Official Chinese language support (zh_CN)
  • Improved internationalization for theorem, proof, lemma, definition, and other directives
  • All proof-related directives will now display in Chinese

Testing

The CI will automatically test building the lectures with the new version. Please verify that:

  • The build completes successfully
  • Chinese text in sphinx-proof directives renders correctly
  • All theorem, proof, lemma, definition, etc. directives display in Chinese
  • Cross-references to proof directives work as expected

Once verified, this can be merged to bring full Chinese language support to all mathematical proof directives in the lecture series.

- Updated environment.yml to use sphinx-proof==0.3.0
- Updated environment-cn.yml to use sphinx-proof==0.3.0
- Added language: zh_CN configuration for Chinese language support
- Fixed duplicate intersphinx_mapping key in _config.yml
@netlify
Copy link

netlify bot commented Oct 20, 2025

Deploy Preview for astonishing-narwhal-a8fc64 ready!

Name Link
🔨 Latest commit a566106
🔍 Latest deploy log https://app.netlify.com/projects/astonishing-narwhal-a8fc64/deploys/68f5aebf2ef2f00008d4cd2f
😎 Deploy Preview https://deploy-preview-89--astonishing-narwhal-a8fc64.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@mmcky mmcky requested a review from Copilot October 20, 2025 03:43
Copy link

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 Sphinx configuration and environments to adopt sphinx-proof 0.3.0 and enable Chinese translations.

  • Bumps sphinx-proof to 0.3.0 in both environment files
  • Enables Chinese translations by setting language: zh_CN in Sphinx config
  • Removes a duplicate intersphinx_mapping key in _config.yml

Reviewed Changes

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

File Description
lectures/_config.yml Adds Sphinx language setting for Chinese and removes a duplicate intersphinx_mapping entry
environment.yml Pins sphinx-proof to 0.3.0
environment-cn.yml Pins sphinx-proof to 0.3.0

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

@github-actions
Copy link

@github-actions github-actions bot temporarily deployed to pull request October 20, 2025 03:50 Inactive
@mmcky mmcky merged commit bbe71da into main Oct 20, 2025
6 checks passed
@mmcky mmcky deleted the update-sphinx-proof-0.3.0 branch October 20, 2025 04:05
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.

2 participants