Loading...

Open a site folder

What is on disk when you export a HAX site, which files are yours and which are generated, and what writes each.

Site anatomy

  1. A HAX site is a folder. (Site anatomy)
  2. Five things in it are yours: site.json, pages, files, theme and custom. (site.json, pages/<id>/index.html, files/, custom/)
  3. site.json locates every page; the outline designer and the CLI write it. (site.json, pages/<id>/index.html, Outline designer, HAX CLI, HAX editor)
  4. Everything else is generated and rebuilt, never hand-edited. (wc-registry.json, build.js and the autoloader, the magic script, llms.txt, sitemap.xml, robots.txt, rss.xml, lunrSearchIndex.json, manifest.json and service-worker.js, .well-known/, index.html, 404.html, HAXcms)
  5. The registry, the autoloader and the magic script are how a page full of custom elements just works. (wc-registry.json, build.js and the autoloader, the magic script, Ubiquity, Web components)
  6. Skeletons ship as these files; HAX11ty and publishing read them; agents discover the site through .well-known. (Skeletons, HAX11ty, Deploy targets, Agent skills, .well-known/, llms.txt)
  7. The whole folder.