content/consul/.
Content directory
URL base paths
Consul content is served under three URL base paths:/api-docs/— Consul HTTP API reference/docs/— Consul conceptual and operational documentation/commands/— Consul CLI command reference
Available versions
Versionsv1.8.x through v1.22.x are present in the repository. The global/ directory contains content shared across all versions.
Finding and editing Consul docs
Navigate to the content files
Consul content files are in the
content/ subdirectory within each version folder:Edit the file
Open the
.mdx file you want to change. Content in the api-docs/ and commands/ base paths lives in corresponding subdirectories.Product configuration reference
| Attribute | Value |
|---|---|
productSlug | consul |
contentDir | content (in source repo) |
websiteDir | website (in source repo) |
dataDir | data |
assetDir | public/img |
basePaths | api-docs, docs, commands |
versionedDocs | true |