Skip to content

fix: use hyphenated page slugs in internal doc links#796

Merged
henryiii merged 1 commit into
mainfrom
henryiii/fix/doc-links-hyphens
Jun 9, 2026
Merged

fix: use hyphenated page slugs in internal doc links#796
henryiii merged 1 commit into
mainfrom
henryiii/fix/doc-links-hyphens

Conversation

@henryiii

@henryiii henryiii commented Jun 9, 2026

Copy link
Copy Markdown
Collaborator

🤖 Human guided, AI assisted PR (using this skill). AI text below. 🤖

Summary

Update all internal MyST link references to use hyphens instead of underscores to match the actual page filenames:

  • packaging_simplepackaging-simple
  • packaging_compiledpackaging-compiled
  • packaging_classicpackaging-classic
  • gha_basicgha-basic
  • gha_puregha-pure
  • gha_wheelsgha-wheels
  • repo_reviewrepo-review
  • data_filesdata-files

These links were referencing pages with underscores but the actual filenames use hyphens, so the links would have been broken.

Assisted-by: OpenCode:glm-5


📚 Documentation preview 📚: https://scientific-python-cookie--796.org.readthedocs.build/

Update all internal MyST link references to use hyphens instead of
underscores (e.g. packaging_simple → packaging-simple, gha_pure →
gha-pure, gha_wheels → gha-wheels, data_files → data-files,
repo_review → repo-review) to match the actual page filenames.

Assisted-by: OpenCode:glm-5
@henryiii henryiii merged commit bbb319a into main Jun 9, 2026
8 checks passed
@henryiii henryiii deleted the henryiii/fix/doc-links-hyphens branch June 9, 2026 04:42
henryiii added a commit to scientific-python/learn.scientific-python.org that referenced this pull request Jun 9, 2026
Use a trailing slash on BASE_URL so MyST joins it to root-relative
page links correctly (was producing /developmentpages/...), and bump
the cookie submodule to include the hyphenated-slug internal link fix
(scientific-python/cookie#796) so checklinks passes.

Assisted-by: ClaudeCode:claude-opus-4.8
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.

1 participant