docs: document the project site in CLAUDE.md - #17
Merged
Conversation
The site is now a sub-project with its own structure and conventions, and nothing recorded them. Adds a section covering the file layout, the deploy trigger (push to main touching docs/site/**), and the four conventions that are easy to break silently: - dark is the base theme, set pre-paint by an inline script - i18n keys carrying markup must be listed in translate()'s innerHTML branch - how to regenerate og-image.png from its committed source - the release notice and JSON-LD version must track the published release Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01LAjDSA1954JLqUZnxoJ5sy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The site under
docs/site/is now a sub-project with its own file structure, design system and translation layer, andCLAUDE.mdsaid nothing about it.Adds a section covering the layout, the deploy trigger (push to
maintouchingdocs/site/**), and the four conventions that are easy to break without noticing:translate(), otherwise the tags render as literal text.og-image.pngfrom its committed source.softwareVersionstate the published release, and must be updated when a new one is tagged.Documentation only — no code or site changes.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LAjDSA1954JLqUZnxoJ5sy
Generated by Claude Code