Publish CLAUDE.md snapshot at /CLAUDE.md, linked from footers
All checks were successful
Deploy to S3 / deploy (push) Successful in 1m45s
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:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user