Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
71 changes: 0 additions & 71 deletions .github/workflows/website.yml

This file was deleted.

1 change: 0 additions & 1 deletion .gitleaks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ description = "Allowlist for example/test secrets and documentation"
paths = [
'''.*_test\.go$''',
'''.*testutil\.go$''',
'''web/content/examples/.*''',
'''docs/.*\.md$''',
'''examples/.*''',
'''config/.*\.yaml$''',
Expand Down
63 changes: 3 additions & 60 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Quick reference for AI assistants working with Aixgo - a production-grade AI age
- [Architecture](#architecture)
- [Code Conventions](#code-conventions)
- [Key Concepts](#key-concepts)
- [Website](#website-web)
- [Website](#website)
- [Common Tasks](#common-tasks)
- [Quick Reference](#quick-reference)

Expand Down Expand Up @@ -443,66 +443,9 @@ export ENVIRONMENT=production

---

## Website (`web/`)
## Website

Hugo-based static website for [aixgo.dev](https://aixgo.dev).

### Development

```bash
cd web
make dev # Start dev server at localhost:1313
make build # Build for production
make lint # Lint markdown content
```

### Data-Driven Content

Feature matrices and roadmap are driven by YAML data files:
- `data/features.yaml` - Feature matrix with status indicators (complete/in_progress/roadmap)
- `data/milestones.yaml` - Development milestones for homepage

### Content Structure

- `content/guides/` - 18+ technical guides (quick-start, agent-types, cost-optimization, etc.)
- `content/blog/` - Release announcements and blog posts
- `content/examples/` - YAML configuration examples

### Key Templates

- `layouts/index.html` - Homepage template
- `layouts/shortcodes/` - Reusable components:
- `feature-releases.html` - Feature table renderer
- `status-badge.html` - Status indicators (checkmark/construction/roadmap)
- `alpha-notice.html` - Alpha warning banner

### Configuration

- `config/_default/hugo.toml` - Main Hugo config (baseURL, language, SEO)
- `static/_headers` - Cloudflare Pages cache-control rules

### Deployment

Hosted on **Cloudflare Pages**. Automatic deployment on push to `main`:

1. Cloudflare Pages detects the push, builds with `cd web && hugo --minify`, output dir `web/public`
2. Deploys to the production custom domain (`aixgo.dev`)
3. Pull-request branches get preview deployments at `<branch>.aixgo.pages.dev`

Required environment variables (set in the Cloudflare Pages project, not in this repo):

- `HUGO_VERSION` — Hugo version pin (matches local `make build`)
- `HUGO_POSTHOG_KEY` — PostHog Project API Key (`phc_...`); analytics are gated on this being set
- `HUGO_POSTHOG_HOST` — optional, defaults to `https://us.i.posthog.com`

Manual local build: `cd web && make build` (output in `web/public/`).

### Key Conventions

- **Data files first**: Always update `features.yaml` and `milestones.yaml` rather than hardcoding content
- **Ordered lists**: Use `1.` numbering throughout (markdownlint rule)
- **File naming**: kebab-case (e.g., `provider-integration.md`)
- **Code blocks**: Always specify language for syntax highlighting
The aixgo.dev website source lives in its own repo: <https://github.com/aixgo-dev/web>. Cloudflare Pages auto-deploys on push to `main`. The site is no longer part of this monorepo.

---

Expand Down
18 changes: 0 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -65,22 +65,4 @@ install: ## Install the aixgo binary

check: fmt vet lint test ## Run all checks (fmt, vet, lint, test)

# =============================================================================
# Web targets (delegated to web/Makefile)
# =============================================================================

.PHONY: web-dev web-build web-clean web-lint

web-dev: ## Start Hugo development server
$(MAKE) -C web dev

web-build: ## Build Hugo site for production
$(MAKE) -C web build

web-clean: ## Clean web build artifacts
$(MAKE) -C web clean

web-lint: ## Lint web content
$(MAKE) -C web lint

.DEFAULT_GOAL := help
25 changes: 0 additions & 25 deletions web/.env.example

This file was deleted.

32 changes: 0 additions & 32 deletions web/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions web/.htmlhintrc

This file was deleted.

18 changes: 0 additions & 18 deletions web/.markdownlint.json

This file was deleted.

48 changes: 0 additions & 48 deletions web/Makefile

This file was deleted.

69 changes: 0 additions & 69 deletions web/README.md

This file was deleted.

Loading
Loading