For the complete documentation index, see llms.txt. Markdown versions of all docs pages are available by appending .md to any docs URL.
Preview and build locally
The kgateway documentation is built by using the static site generator Hugo. As you write your content, you can locally preview your changes.
Before you begin
-
Download and install the
hugoCLI version 0.135.0. Make sure to download theextendedversion to ensure all features are available that are required to build the site. -
Make sure that
hugois installed.hugo versionExample output:
hugo v0.135.0-f30603c47f5205e30ef83c70419f57d7eb7175ab+extended darwin/arm64 BuildDate=2024-09-27T13:17:08Z VendorInfo=gohugoio -
Install the Node.js dependencies. If you do not have Node.js and
npminstalled on your machine, follow the instructions here to install them.npm install -
Install the version of Golang used in
go.modand make suregois in your$PATH.
Build the site locally
-
Build the site locally.
hugo server -D -
Open the site. The local preview is available at localhost:1313.