Skip to content

Document short-link redirect rules in ShortLinkHelper.ts - #204

Merged
lsy-404 merged 1 commit into
mainfrom
docs-shortlink-helper-rules
Jul 7, 2026
Merged

lsy-404 merged 1 commit into
mainfrom
docs-shortlink-helper-rules

Conversation

@lsy-404

@lsy-404 lsy-404 commented Jul 7, 2026

Copy link
Copy Markdown
Member

Summary

  • Adds a header comment to docs/.vuepress/utils/ShortLinkHelper.ts documenting the implicit short-link routing rules (Vol-number normalization, /n/{vol}, /n/{vol}/{article} filename-to-letter mapping, /n//n/ fallback) since these conventions aren't derivable from the code alone.
  • Comment-only change, no logic modified.

Test plan

  • pnpm run docs:build succeeds, generated _redirects unchanged

Add a header comment explaining the Vol-number normalization,
the /n/{vol} and /n/{vol}/{article} routing rules, and the /n
and /n/ fallback, so the implicit filename conventions are
documented alongside the generator.
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown

🚀 Preview deployment ready!

项目 详情
Preview URL https://5b11b8f1.aneot.pages.dev
Commit b79248d
提交时间 2026-07-07T21:20:45+08:00
提交者 Wuyilingwei 53390868+wuyilingwei@users.noreply.github.com
提交信息 Document short-link redirect rules in ShortLinkHelper.ts

@lsy-404
lsy-404 merged commit 93f01f0 into main Jul 7, 2026
1 check passed
@lsy-404
lsy-404 deleted the docs-shortlink-helper-rules branch July 7, 2026 13:23
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