Skip to content

Commit abb1bc4

Browse files
charlesgreenclaude
andcommitted
chore: remove web/ — extracted to its own repo
The Hugo source for aixgo.dev now lives at https://github.com/aixgo-dev/web. Cloudflare Pages auto-deploys from there; aixgo.dev verified live and serving from the new project (PostHog beacon firing, DNS unchanged). Removes: - web/ (entire 127-file Hugo source tree, ~34k lines) - .github/workflows/website.yml (stale Firebase deploy; production was already on Cloudflare Pages with auto-build, this workflow had been failing on every push since PR #205 removed Firebase auth) Updates: - CLAUDE.md: replace 60-line Website section with one-line stub linking to the new repo; fix anchor in TOC - Makefile: drop web-* delegation targets - README.md: replace "web/ source code" references with links to aixgo-dev/web; add aixgo-dev/aixgate to the Resources block - .gitleaks.toml: drop web/content/examples/ allowlist path Net: -34,696 / +8 lines. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 7e1185c commit abb1bc4

132 files changed

Lines changed: 8 additions & 34696 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/website.yml

Lines changed: 0 additions & 71 deletions
This file was deleted.

.gitleaks.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ description = "Allowlist for example/test secrets and documentation"
1010
paths = [
1111
'''.*_test\.go$''',
1212
'''.*testutil\.go$''',
13-
'''web/content/examples/.*''',
1413
'''docs/.*\.md$''',
1514
'''examples/.*''',
1615
'''config/.*\.yaml$''',

CLAUDE.md

Lines changed: 3 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Quick reference for AI assistants working with Aixgo - a production-grade AI age
1212
- [Architecture](#architecture)
1313
- [Code Conventions](#code-conventions)
1414
- [Key Concepts](#key-concepts)
15-
- [Website](#website-web)
15+
- [Website](#website)
1616
- [Common Tasks](#common-tasks)
1717
- [Quick Reference](#quick-reference)
1818

@@ -443,66 +443,9 @@ export ENVIRONMENT=production
443443

444444
---
445445

446-
## Website (`web/`)
446+
## Website
447447

448-
Hugo-based static website for [aixgo.dev](https://aixgo.dev).
449-
450-
### Development
451-
452-
```bash
453-
cd web
454-
make dev # Start dev server at localhost:1313
455-
make build # Build for production
456-
make lint # Lint markdown content
457-
```
458-
459-
### Data-Driven Content
460-
461-
Feature matrices and roadmap are driven by YAML data files:
462-
- `data/features.yaml` - Feature matrix with status indicators (complete/in_progress/roadmap)
463-
- `data/milestones.yaml` - Development milestones for homepage
464-
465-
### Content Structure
466-
467-
- `content/guides/` - 18+ technical guides (quick-start, agent-types, cost-optimization, etc.)
468-
- `content/blog/` - Release announcements and blog posts
469-
- `content/examples/` - YAML configuration examples
470-
471-
### Key Templates
472-
473-
- `layouts/index.html` - Homepage template
474-
- `layouts/shortcodes/` - Reusable components:
475-
- `feature-releases.html` - Feature table renderer
476-
- `status-badge.html` - Status indicators (checkmark/construction/roadmap)
477-
- `alpha-notice.html` - Alpha warning banner
478-
479-
### Configuration
480-
481-
- `config/_default/hugo.toml` - Main Hugo config (baseURL, language, SEO)
482-
- `static/_headers` - Cloudflare Pages cache-control rules
483-
484-
### Deployment
485-
486-
Hosted on **Cloudflare Pages**. Automatic deployment on push to `main`:
487-
488-
1. Cloudflare Pages detects the push, builds with `cd web && hugo --minify`, output dir `web/public`
489-
2. Deploys to the production custom domain (`aixgo.dev`)
490-
3. Pull-request branches get preview deployments at `<branch>.aixgo.pages.dev`
491-
492-
Required environment variables (set in the Cloudflare Pages project, not in this repo):
493-
494-
- `HUGO_VERSION` — Hugo version pin (matches local `make build`)
495-
- `HUGO_POSTHOG_KEY` — PostHog Project API Key (`phc_...`); analytics are gated on this being set
496-
- `HUGO_POSTHOG_HOST` — optional, defaults to `https://us.i.posthog.com`
497-
498-
Manual local build: `cd web && make build` (output in `web/public/`).
499-
500-
### Key Conventions
501-
502-
- **Data files first**: Always update `features.yaml` and `milestones.yaml` rather than hardcoding content
503-
- **Ordered lists**: Use `1.` numbering throughout (markdownlint rule)
504-
- **File naming**: kebab-case (e.g., `provider-integration.md`)
505-
- **Code blocks**: Always specify language for syntax highlighting
448+
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.
506449

507450
---
508451

Makefile

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -65,22 +65,4 @@ install: ## Install the aixgo binary
6565

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

68-
# =============================================================================
69-
# Web targets (delegated to web/Makefile)
70-
# =============================================================================
71-
72-
.PHONY: web-dev web-build web-clean web-lint
73-
74-
web-dev: ## Start Hugo development server
75-
$(MAKE) -C web dev
76-
77-
web-build: ## Build Hugo site for production
78-
$(MAKE) -C web build
79-
80-
web-clean: ## Clean web build artifacts
81-
$(MAKE) -C web clean
82-
83-
web-lint: ## Lint web content
84-
$(MAKE) -C web lint
85-
8668
.DEFAULT_GOAL := help

README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ For adding Aixgo to your Go project:
3333
go get github.com/aixgo-dev/aixgo
3434
```
3535

36-
This downloads only the Go framework source code (~2MB), not the website or documentation.
36+
This downloads only the Go framework source code (~2MB), not the documentation site (which lives at <https://github.com/aixgo-dev/web>).
3737

3838
#### CLI Binary
3939

@@ -95,15 +95,15 @@ cd aixgo
9595
go build ./...
9696
```
9797

98-
This includes the full repository with website source (`web/`), examples, and documentation.
98+
This includes the full framework repo with examples and reference documentation. The marketing/docs site (Hugo source for [aixgo.dev](https://aixgo.dev)) lives in [aixgo-dev/web](https://github.com/aixgo-dev/web); the runtime sandbox companion lives in [aixgo-dev/aixgate](https://github.com/aixgo-dev/aixgate).
9999

100100
#### What You Get
101101

102102
| User Type | Command | What's Included | Size |
103103
|-----------|---------|----------------|------|
104104
| **Library user** | `go get github.com/aixgo-dev/aixgo` | Go source code only | ~2MB |
105105
| **CLI user** | `go install` or binary download | Single executable binary | <20MB |
106-
| **Contributor** | `git clone` | Full repo including web/, examples/, docs/ | ~20MB |
106+
| **Contributor** | `git clone` | Full repo including examples/ and docs/ | ~10MB |
107107

108108
### Setup
109109

@@ -210,7 +210,8 @@ Aixgo provides a flexible, layered architecture:
210210
- **[Website](https://aixgo.dev)** - Comprehensive guides and documentation
211211
- **[docs/](docs/)** - Technical reference documentation
212212
- **[examples/](examples/)** - Production-ready code examples
213-
- **[web/](web/)** - Website source code
213+
- **[aixgo-dev/web](https://github.com/aixgo-dev/web)** - Hugo source for aixgo.dev (separate repo)
214+
- **[aixgo-dev/aixgate](https://github.com/aixgo-dev/aixgate)** - Runtime sandbox for AI coding agents (separate repo)
214215

215216
### Core Documentation
216217

web/.env.example

Lines changed: 0 additions & 25 deletions
This file was deleted.

web/.gitignore

Lines changed: 0 additions & 32 deletions
This file was deleted.

web/.htmlhintrc

Lines changed: 0 additions & 16 deletions
This file was deleted.

web/.markdownlint.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

web/Makefile

Lines changed: 0 additions & 48 deletions
This file was deleted.

0 commit comments

Comments
 (0)