Documentation

Welcome to the Ethotechnics documentation. This hub is for contributors across content, design, and engineering. This site is built with Astro and deployed to Cloudflare Workers.

Start by intent

Quick access

Pick the path that matches your immediate goal so you can move without scanning the full index first.

Start here

Get oriented in one pass.

The README and architecture overview provide the fastest path to understanding the build, content workflow, and deployment shape.

Quick Start

New to the project? Begin with:

  1. Read the root README for prerequisites and setup
  2. Review ARCHITECTURE to understand the system
  3. Check CONTRIBUTING for development workflow
  4. Read Agents if you’re an AI agent working on this codebase

Common tasks:

Core Documentation

Architecture & System Design

  • ARCHITECTURE — High-level system overview with diagrams showing build process and Worker request flow
  • Build Optimizations — Build system configuration, performance optimizations, and troubleshooting

Development Guides

  • CONTRIBUTING — General contribution workflow, PR guidelines, and code review process
  • Content Workflow — Step-by-step guide for content editing, template usage, and site copy management
  • Agents — Comprehensive guidelines for AI agents (code style, required commands, common pitfalls)

Specialized Guides

Directory-Specific Documentation

Each major directory has its own README with specific guidance:

  • app/src/content/pages/ — Content collection entries, structure, and build flow
  • app/src/components/ — Shared Astro components and layout primitives
  • scripts/ — Build scripts and utilities organization
  • styles/ — CSS architecture, design tokens, and component patterns in app/src/styles/
  • tests/ — Testing strategy, test types, and when to run what
  • worker/ — Cloudflare Worker architecture and request handlers

Reference Documentation

  • Styles Architecture — Visual CSS architecture diagram and layer explanations in app/src/styles/

Need help?

  1. Search these docs first — Use the links above to find relevant guides
  2. Check similar code examples — Look for similar patterns in /app/src/components/ and /styles/components/
  3. Run project checksbun run verify to check build/lint/test status
  4. Investigate test failuresbun test and bun run test:e2e for specific issues

Pick a starting path

Choose the track that matches what you need right now.

I am new here

  1. README
  2. Contributing
  3. Content workflow
  4. Agents guide

I already know this repo

  1. Architecture
  2. Maintenance
  3. Build optimizations
  4. Release notes

Read this next