Publish CLAUDE.md snapshot at /CLAUDE.md, linked from footers
All checks were successful
Deploy to S3 / deploy (push) Successful in 1m45s

Serve it as text/plain on deploy so browsers display the raw text
instead of downloading; add .dockerignore so local image builds can't
ship stale _site or host node_modules.
This commit is contained in:
2026-07-19 00:12:25 +00:00
parent c33e4ce861
commit 605a945648
7 changed files with 118 additions and 1 deletions

View File

@@ -55,6 +55,12 @@ module.exports = function (eleventyConfig) {
eleventyConfig.addPassthroughCopy("img");
eleventyConfig.addPassthroughCopy("favicon.svg");
// A snapshot copy of ~/.claude/CLAUDE.md, published verbatim at /CLAUDE.md
// (linked from the footer). Keep it out of template processing so it ships
// as raw markdown instead of being rendered to HTML.
eleventyConfig.addPassthroughCopy({ "assets/CLAUDE.md": "CLAUDE.md" });
eleventyConfig.ignores.add("assets/CLAUDE.md");
// KaTeX: render $$...$$ at build time into static markup. Ship katex.min.css
// plus its fonts/ as a sibling so the stylesheet's url(fonts/...) resolves.
eleventyConfig.addPassthroughCopy({