Skip to content

fix: restore lychee self-reference checks + docs site link in README: https://github.com/riboseinc/claude-memory-files/issues/1 - #16

Merged
opoudjis merged 1 commit into
mainfrom
fix/restore-lychee-self-refs
May 18, 2026
Merged

fix: restore lychee self-reference checks + docs site link in README: https://github.com/riboseinc/claude-memory-files/issues/1#16
opoudjis merged 1 commit into
mainfrom
fix/restore-lychee-self-refs

Conversation

@opoudjis

Copy link
Copy Markdown
Member

Post-v1 follow-up. Two changes that piggyback on D3's GH Pages deploy now being live.

What this adds

README: prominent docs-site link near the top, pointing at https://riboseinc.github.io/claude-memory-files/ with a one-line inventory of what's there.

Restored lychee self-reference checks in lychee.toml — removes the three exclude patterns (^https://riboseinc.github.io/, .../tree/main/docs/, .../blob/main/docs/). They were added in PR #15 because the live site and main hadn't caught up with D3's pages at PR-validation time. Both resolve now.

Mirrored-baseurl build path to make resolution work cleanly without lychee remap. validate-docs now builds with the production baseurl into _lychee_site/claude-memory-files/ (filesystem layout mirrors URL structure). Root-relative links like /claude-memory-files/concepts/scope-rubric/ resolve via --root-dir docs/_lychee_site to docs/_lychee_site/claude-memory-files/concepts/scope-rubric/index.html. The previous --baseurl "" workaround caused canonical URLs to diverge from the live site, which forced the broadened exclude — the new layout makes both internal links AND canonical URLs check cleanly against the live deployment.

Verified locally

bundle exec jekyll build --destination _lychee_site/claude-memory-files produces the mirrored layout. curl -I https://riboseinc.github.io/claude-memory-files/concepts/scope-rubric/ returns 200; github.com/.../tree/main/docs/roadmap/v1.adoc returns 301 (accepted via lychee.toml).

🤖 Generated with Claude Code

Two changes that piggyback on D3's deploy now being live.

README:
  Adds a prominent docs-site link near the top, pointing at
  https://riboseinc.github.io/claude-memory-files/ with a one-line
  inventory of what's there (getting started, concepts, guides,
  reference, roadmap).

lychee CI:
  Removes the three self-reference exclude patterns from lychee.toml
  (riboseinc.github.io/*, github.com/.../tree|blob/main/docs/*). They
  were added in PR 15 because the live site and main hadn't caught up
  with D3's pages at PR validation time. Now that D3 has merged and
  GH Pages is deployed, both resolve, so the excludes can come off and
  lychee actively verifies them.

  To make the resolution work cleanly, validate-docs now builds with
  the production baseurl into _lychee_site/claude-memory-files/
  (mirroring the URL structure on disk). Root-relative links like
  /claude-memory-files/concepts/scope-rubric/ then resolve via
  --root-dir docs/_lychee_site to docs/_lychee_site/claude-memory-files/
  concepts/scope-rubric/index.html — without needing any lychee
  remap. The previous --baseurl '' workaround caused canonicals to
  diverge from the live site (forcing the broadened exclude); the
  new layout makes both internal links AND canonical URLs check
  cleanly against the live site.

  .gitignore picks up docs/_lychee_site/ alongside docs/_site/.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@opoudjis opoudjis self-assigned this May 18, 2026
@opoudjis
opoudjis merged commit 2c9ea5c into main May 18, 2026
7 checks passed
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