GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - clay-doc/clay: The clay frontend doing the heavy lifting

BranchesTags
Open more actions menu

Latest commit

 

History

194 Commits
194 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
app
app
 
 
bin
bin
 
 
common
common
 
 
lib
lib
 
 
modules
modules
 
 
playground
playground
 
 
server
server
 
 
test
test
 
 
.gitignore
.gitignore
 
 
.release-please-manifest.json
.release-please-manifest.json
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
ROADMAP.md
ROADMAP.md
 
 
nuxt.config.ts
nuxt.config.ts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
playwright.config.ts
playwright.config.ts
 
 
release-please-config.json
release-please-config.json
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

Clay logo

Clay

Documentation sites from Markdown, ready for readers, search engines and AI agents.

npm License


Write your docs as Markdown files in a docs/ folder, add a clay.yaml, and Clay builds a fast, searchable static site you can host anywhere, such as GitHub Pages. There is no theme to set up and no code to write.

Read the documentation, itself a Clay site.

  • Pre-rendered pages that load fast, work without JavaScript and fit small screens.
  • Full-text search across every page and section, typos forgiven.
  • Clay Flavored Markdown: tabs, steps, cards, details, badges, math, diagrams, file trees, prompts, videos and embeds, written in plain Markdown, plus code blocks with file names, and snippets and variables to write a text once.
  • Ready for AI: every page as Markdown, llms.txt, a page menu to ask ChatGPT or Claude, and commands that coding agents understand.
  • Versions and translations, with switchers that keep the page you are reading, and redirects that keep the old addresses of moved pages working.
  • Your look: colors, corners and fonts in clay.yaml; fonts from Google Fonts are published with the site.
  • Analytics without cookies: Plausible, Umami or GoatCounter, with events for searches that found nothing.
  • SEO: descriptions, canonical links, structured data, a sitemap, and a social image for every page, in any script and with emoji.
  • Checks for broken links and config typos; --strict turns them into build failures.
  • Safe for docs from outside contributors: rendered HTML is sanitized.

Quick start

In the repository that holds your docs (Node.js 22.22.3 or newer):

npm install --save-dev clay-doc

Create clay.yaml; only the title is required:

title: "My Docs"

Put your pages in docs/, then:

npx clay dev       # live preview at http://localhost:3000
npx clay build     # static site in publish/public
npx clay preview   # serve the build like a static host would

Learn more

Quick start From an empty folder to a site in five minutes
Writing Pages, Markdown and the components
Configuration Every setting of clay.yaml
AI & agents llms.txt, clay edit commands and clay check
GitHub Pages Publish with a workflow on every push
Upgrading to Clay 4 From Clay 3: cards in front matter is now list

The changelog lists every change.

Developing Clay

npm install
npm run dev          # the sample site in playground/
npm test             # unit tests
npm run test:e2e     # browser tests (npx playwright install chromium first)
npm run typecheck

Clay is a Nuxt app plus a command line, published as one npm package:

Folder What lives there
bin/ The clay command: parses the arguments and starts Nuxt or the code in lib/
lib/ Node code for the command line and the server: loading the docs (site.ts), checks, clay edit, build progress, preview server
modules/ The Nuxt module that connects Nuxt with a docs project: assets, pages to pre-render, reloads during clay dev
server/ Runs at build time: Markdown to HTML, sanitizing, search index, Markdown and llms.txt for agents
app/ The Vue app: layout, components and the scripts that run in the browser (utils/)
common/ Code that runs anywhere, without Node APIs: texts in twelve languages, routes, navigation, search, SEO, the component syntax
playground/ The sample docs project used while developing and in the tests
test/ Unit tests (unit/, Vitest) and browser tests (e2e/, Playwright)

See ROADMAP.md for planned work.

License

This project is licensed under the Apache License 2.0 — see LICENSE for details.

About

The clay frontend doing the heavy lifting

Topics

documentationmarkdownmarkedjsnuxtjsopenapishikiswagger-uivuejs

Resources

Readme
Apache-2.0 license
Activity
Custom properties

Stars

3 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.