Skip to main content
Sentinel documentation covers the Sentinel policy language, framework, runtime, and integration with HashiCorp products. It is versioned and stored in content/sentinel/.

Content directory

content/sentinel/
├── global/           # Shared assets used across versions
├── v0.13.x/
├── v0.14.x/
├── v0.15.x/
├── v0.16.x/
├── v0.17.x/
├── v0.18.x/
├── v0.19.x/
├── v0.20.x/
├── v0.21.x/
├── v0.22.x/
├── v0.23.x/
├── v0.24.x/
├── v0.25.x/
├── v0.26.x/
├── v0.27.x/
├── v0.28.x/
├── v0.29.x/
├── v0.30.x/
└── v0.40.x/
Each version directory follows the standard structure:
content/sentinel/<version>/
├── content/sentinel/   # Markdown content files (note the nested sentinel/ path)
├── data/               # Navigation sidebar JSON files
└── public/images/      # Image assets

URL base paths

Sentinel content is served under the /sentinel/ URL base path.

Available versions

Versions v0.13.x through v0.40.x are present in the repository. The global/ directory contains content shared across all versions.

Content directory structure note

Sentinel uses an unusual contentDir configuration. In the source repository, content lives at website/content/sentinel rather than just website/content. This means the content path within the versioned folder includes a nested sentinel/ subdirectory.
Older Sentinel versions (v0.16.x and earlier) used a pages/ directory instead of content/ to store documentation files. Migration scripts must account for this difference. Do not assume the standard content/ structure applies when working with older Sentinel versions.

Finding and editing Sentinel docs

1

Find the version directory

List the available version directories:
ls content/sentinel/
2

Navigate to the content files

Sentinel content files are in a nested path within each version folder:
ls content/sentinel/v0.40.x/content/sentinel/
3

Edit the file

Open the .mdx file you want to change. All Sentinel documentation is served under /sentinel/, so paths correspond to that base.
4

Update navigation if needed

Navigation sidebar data is in content/sentinel/<version>/data/. Add new files to the relevant JSON file to make them appear in the sidebar.

Product configuration reference

AttributeValue
productSlugsentinel
contentDircontent/sentinel (in source repo)
websiteDirwebsite (in source repo)
dataDirdata
assetDirpublic/images
basePathssentinel
versionedDocstrue

Build docs developers (and LLMs) love