Skip to content

fix: prevent broken internal post links - #187

Merged
devy1540 merged 6 commits into
mainfrom
codex/search-console
Jul 12, 2026
Merged

fix: prevent broken internal post links#187
devy1540 merged 6 commits into
mainfrom
codex/search-console

Conversation

@devy1540

Copy link
Copy Markdown
Owner

변경 사항

  • 존재하지 않는 Spring AI 4편 내부 링크를 실제 운영 글로 교체했습니다.
  • Markdown의 /posts/:slug 링크가 실제 게시글을 가리키는지 검사하는 스크립트와 회귀 테스트를 추가했습니다.
  • Post에서 PostMeta로 변환할 때 발생하던 lint 오류 3건을 제거했습니다.

원인

미발행 spring-ai-guide-04-production 글을 가리키는 내부 링크가 404를 만들었고, 이를 빌드 전에는 검출하지 못했습니다.

검증

  • npm run lint (오류 0개, 기존 경고 8개)
  • node --test scripts/check-internal-post-links.test.mjs
  • npm run check:internal-links
  • npm run type-check
  • npm run build

@github-actions github-actions Bot added documentation Improvements or additions to documentation target: main PR targets the main branch area: content Blog post content changes area: blog Blog listing, post rendering, search, tags, or series area: build Build, tooling, or project configuration dependencies Dependency manifest or lockfile changes labels Jul 12, 2026
@devy1540
devy1540 merged commit 30ede08 into main Jul 12, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: blog Blog listing, post rendering, search, tags, or series area: build Build, tooling, or project configuration area: content Blog post content changes dependencies Dependency manifest or lockfile changes documentation Improvements or additions to documentation target: main PR targets the main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant