Source files for memoryco.ai/docs.
docs/
├── manifest.json # Sidebar navigation and page ordering
├── getting-started/
│ ├── installation.md
│ ├── quickstart.md
│ └── configuration.md
├── concepts/
│ ├── memories.md
│ ├── identity.md
│ ├── references.md
│ └── lenses.md
├── tools/
│ ├── memory-server.md
│ ├── filesystem-server.md
│ └── agents-server.md
└── guides/
├── writing-memories.md
└── procedures.md
The website at memoryco.ai fetches docs from the latest tagged release of this repo. Pushing to main does not publish — you must create a release.
A Cloudflare Worker handles /docs/* routes:
- Checks KV cache for the rendered page
- On miss: fetches the latest release tag, pulls markdown + manifest, renders to HTML
- Stores rendered HTML in KV with the design system shell
- A GitHub webhook on
releaseevents purges the KV cache
- Create a
.mdfile in the appropriate section directory - Add an entry to
manifest.jsonwith the slug and title - Commit, push, and create a release
- Use standard Markdown (rendered via marked.js)
- Code blocks with language hints for syntax highlighting
- Relative links between docs pages use the slug path (e.g.,
[Installation](getting-started/installation)) - Images go in an
assets/directory (create if needed) and are fetched from the same release tag
Coming soon — a local preview server for testing docs before publishing.