Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ assets/
banners/
doc/
uml/
astro-site/ # Astro build (imports from chapters/ and assets/)
astro-site/ # Astro build (reads directly from chapters/)
docs/ # Legacy MkDocs content (reference, not active)
solid-ai-templates/ # Submodule — Imbra-Ltd/solid-ai-templates
```
Expand Down Expand Up @@ -109,6 +109,9 @@ Every chapter follows this structure:

- Reference other chapters by file: `[Building Blocks](02-building-blocks.md)`
- Reference sections within a chapter by heading anchor: `[Tag Object](#tag-object-labels)`
- The remark plugin (`astro-site/src/plugins/remark-rewrite-links.ts`)
rewrites `NN-slug.md` links to `../slug/` at build time — no manual
sync needed

### Images

Expand Down
2 changes: 2 additions & 0 deletions astro-site/astro.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// @ts-check
import { defineConfig } from 'astro/config';
import { remarkRewriteLinks } from './src/plugins/remark-rewrite-links.ts';

// https://astro.build/config
export default defineConfig({
Expand All @@ -8,5 +9,6 @@ export default defineConfig({
trailingSlash: 'always',
markdown: {
syntaxHighlight: false,
remarkPlugins: [remarkRewriteLinks],
},
});
2 changes: 1 addition & 1 deletion astro-site/src/content.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { glob } from "astro/loaders";
const docs = defineCollection({
loader: glob({
pattern: "**/*.md",
base: "./src/content/docs",
base: "../chapters",
generateId: ({ entry }) => entry.replace(/\.md$/, ""),
}),
schema: z.object({
Expand Down
131 changes: 0 additions & 131 deletions astro-site/src/content/docs/appendix.md

This file was deleted.

Loading
Loading