Required dependencies:
node.jsv18.18.2 or laterhugoextended v0.160.1 or later
To run a local preview:
-
gh repo clone agentgateway/website -
cd website -
npm install -
hugo server
Rendered-HTML quality is checked by a shared Playwright harness that lives in
solo-io/docs-theme-extras. The
harness asserts structural things (no shortcode delimiter leaks, no raw
markdown bleed, image alt text, tabs/mermaid/copy-md rendered correctly,
internal links resolve, etc.) against the built public/ tree.
These are distinct from the doc tests (make test-run), which execute code
blocks against a cluster. Framework targets are prefixed framework-test-*.
Clone docs-theme-extras as a sibling of this repo:
cd ../
git clone https://github.com/solo-io/docs-theme-extras.git
cd <agentgateway/website_clone_directory>
make framework-test-install # ~1-3 min, ~120-180 MBThe Makefile defaults to FRAMEWORK_EXTRAS_DIR=../docs-theme-extras. Override
it when your clone is at a different path. Three ways, pick whichever fits
your workflow:
# 1. Per-command (no shell state):
make framework-test-static FRAMEWORK_EXTRAS_DIR=/abs/path/to/docs-theme-extras
# 2. Exported for the shell session (all subsequent `make` calls pick it up):
export FRAMEWORK_EXTRAS_DIR=/abs/path/to/docs-theme-extras
make framework-test-static
# 3. Persistent: add the export to your ~/.zshrc (or ~/.bashrc).The same variable works for framework-test-install and every other
framework-test-* target.
make framework-test-static # fastest, no browser launch
make framework-test-browser # chromium only (tabs, mermaid, copy-md, ...)
make framework-test-cross-browser # chromium + firefox + webkit
make framework-test # full suite
make framework-test-report # re-open the last HTML reportEach target builds the site first with hugo160 --gc --minify (the local
build pin), then runs the harness via DOCS_TEST_CONFIG=./.docs-test.toml.
The HTML report auto-opens after the run; Ctrl+C dismisses the report
server. CI pins to Hugo 0.160.1 via peaceiris/actions-hugo@v3.
The same harness runs on PRs via
.github/workflows/framework-tests.yml,
which pins to the SHA of docs-theme-extras recorded in go.mod so layouts
and tests stay in lockstep.
We’d love to highlight agentgateway adopters on our website! 🌟 If you're using agentgateway in a dev/test or production environment, feel free to add yourself to the adopters file by submitting a PR with your company name and logo. Thank you for your support! 💖