Sitelet https://github.com/sdcorejs/sdcorejs-angular/pull/69
Skip to content

docs: fix module "Related" links and the showcase library note - #69

Merged
sdcorejs merged 1 commit into
mainfrom
claude/jovial-golick-b49e0f
Oct 1, 2026
Merged

sdcorejs merged 1 commit into
mainfrom
claude/jovial-golick-b49e0f

Conversation

@sdcorejs

@sdcorejs sdcorejs commented Oct 1, 2026

Copy link
Copy Markdown
Owner

Summary

  • Fix the ten "Related" links at the end of the auth, keycloak and permission module docs, on all four Angular lines. They pointed at ./sd-*.md siblings that do not exist, so they returned 404 on GitHub and in the raw published-docs archives that AI agents fetch. The showcase only found the targets through its basename fallback.
  • Correct the showcase library note in CLAUDE.md and AGENTS.md, in the same commit as the repo rules require.

Changes

  • versions/v19/projects/sdcorejs-angular/modules/{auth,keycloak,permission}/sd-*.md: ./sd-<module>.md becomes ../<module>/sd-<module>.md, and ../services/sd-cache.md becomes ../../services/cache/sd-cache.md. The v20, v21 and v22 copies come from npm run sync and are identical. The sync's EOL-only rewrites and the SYNC-STATUS.md timestamp changes were restored, so only these files changed.
  • CLAUDE.md, AGENTS.md: the showcase resolves @sdcorejs/angular from ./node_modules/@sdcorejs/angular, not through a tsconfig path into versions/v19/dist. npm run link:library copies versions/v19/dist/sdcorejs-angular there. It is a copy, not a symlink, because a symlink would load a second Angular and fail with NG0203. prestart, prebuild and build:page run the link step; npm test does not. The showcase installs with npm --prefix showcase ci --legacy-peer-deps, because plain npm ci fails with EUSAGE.
  • CHANGELOG.md: one [Unreleased] > Fixed line for the doc links.

Verification

All on Node 22.22.3 and the committed HEAD:

  • npm run check:sync: passed.
  • npm run test:scripts: passed, 0 failures.
  • Scan of the repo-internal Markdown links in the 520 tracked .md files outside published-*: 0 of 195 links broken, against 40 broken on main.
  • The five new targets resolve to exact publishedDocId values in the showcase registry, so the docs site no longer needs the basename fallback for them.

Risks and rollback

This PR changes docs only, with no library, showcase or workflow code. Reverting the commit rolls it back. published-pages/** and published-docs/** are untouched: archived releases keep the old links, and the next release's collect-docs run publishes the fixed ones.

🤖 Generated with Claude Code

The "Related" lists at the end of the auth, keycloak and permission
module docs linked ./sd-*.md siblings that do not exist, so all ten
links returned 404 on GitHub and in the raw published docs; the
showcase only resolved them through its basename fallback. They now
point at ../<module>/sd-<module>.md and
../../services/cache/sd-cache.md, which also match the showcase doc
ids exactly. Edited in versions/v19 and rolled out with npm run sync.

CLAUDE.md and AGENTS.md said the showcase resolves @sdcorejs/angular
through a tsconfig path into versions/v19/dist. It resolves
./node_modules/@sdcorejs/angular, which npm run link:library fills with
a copy of the built library. prestart, prebuild and build:page run that
step; npm test does not. Both files now say so and name the
--legacy-peer-deps install that the showcase lockfile needs.

Verification: npm run check:sync; npm run test:scripts (0 failures);
repo-internal Markdown link scan, 0 of 195 links broken (40 before).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@sdcorejs
sdcorejs merged commit d31b613 into main Oct 1, 2026
6 checks passed
@sdcorejs
sdcorejs deleted the claude/jovial-golick-b49e0f branch October 1, 2026 04:21
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