Skip to content

fix: rebuild heading-maps (v0.12.5 MyST role fix)#82

Closed
mmcky wants to merge 1 commit intomainfrom
fix/rebuild-heading-maps-v0.12.5
Closed

fix: rebuild heading-maps (v0.12.5 MyST role fix)#82
mmcky wants to merge 1 commit intomainfrom
fix/rebuild-heading-maps-v0.12.5

Conversation

@mmcky
Copy link
Contributor

@mmcky mmcky commented Mar 25, 2026

Rebuild heading-maps using action-translation v0.12.5 which fixes MyST role pollution (PR #50).

What changed: Headings with MyST inline roles (e.g. {index}`Pandas <single: Pandas>`) were previously stored verbatim as heading-map keys. Now the clean display text is used instead.

Generated with:

npx translate headingmap -s lecture-python-programming -t lecture-python-programming.fa

Files updated: 1 (python_advanced_features.md)

Strips MyST inline roles ({index}, etc.) from heading-map keys/values.
Regenerated using: npx translate headingmap
Copilot AI review requested due to automatic review settings March 25, 2026 21:43
@netlify
Copy link

netlify bot commented Mar 25, 2026

Deploy Preview for majestic-griffin-10b166 ready!

Name Link
🔨 Latest commit b54dceb
🔍 Latest deploy log https://app.netlify.com/projects/majestic-griffin-10b166/deploys/69c45715c12af70008ee77f8
😎 Deploy Preview https://deploy-preview-82--majestic-griffin-10b166.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.

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

Rebuilds heading-map metadata using action-translation v0.12.5 so heading-map keys use cleaned display text (avoiding MyST role “pollution”) and records the updated tool version in translation state.

Changes:

  • Removes the now-unneeded H1 heading-map entry for “More Language Features” in python_advanced_features.md.
  • Updates the translation state file to reflect tool-version: 0.12.5.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
lectures/python_advanced_features.md Updates frontmatter heading-map output from the regenerated heading-map.
.translate/state/python_advanced_features.md.yml Records the heading-map generation tool version bump to 0.12.5.

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

mode: UPDATE
section-count: 7
tool-version: 0.12.4
tool-version: 0.12.5
Copy link

Copilot AI Mar 25, 2026

Choose a reason for hiding this comment

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

PR description says "Files updated: 1 (python_advanced_features.md)" but this PR also changes .translate/state/python_advanced_features.md.yml (tool-version bump). Please update the description (or clarify it only counts translated lecture files) to match the actual diff.

Copilot uses AI. Check for mistakes.
@github-actions
Copy link

@github-actions github-actions bot temporarily deployed to pull request March 25, 2026 21:49 Inactive
@mmcky mmcky closed this Mar 26, 2026
@mmcky mmcky deleted the fix/rebuild-heading-maps-v0.12.5 branch March 26, 2026 01:47
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