
Public
Like
docs
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
The Val Town docs, built in Val Town. Prior art: the Val Town blog, hosted in Val Town.
- Markdown files for each docs page are stored in the
/pagesdirectory - A Hono router in
index.tsxtraverses that directory^ to serve each page - Markdown files are parsed using
markedandgray-matter - All pages are SSR'd using
hono/jsxto return static HTML - React components live in
/components.Nav.tsxalso traverses/pagesto construct the sidebar - Pages are styled with vanilla CSS in
/styles/index.css - Images are uploaded via drag and drop in
/images
- Migrate all content from docs.val.town
- Table of Contents (for each page)
- Search
- Syntax highlighting for code blocks
- Sidebar ordering
- Copy as markdown
- Open in Claude/ChatGPT
- Edit in VT button
- Caching on Cloudflare CDN
- Favicon