opentofu/website
James Humphries acc913a77e
Added eslint + remark-lint to our documentation pages (#249)
Signed-off-by: James Humphries <james@james-humphries.co.uk>
2023-09-06 17:16:54 +01:00
..
data Remove links in documentation navigation files to documents that no longer exist 2023-08-31 09:09:44 +01:00
docs Added eslint + remark-lint to our documentation pages (#249) 2023-09-06 17:16:54 +01:00
.eslintrc.js Added eslint + remark-lint to our documentation pages (#249) 2023-09-06 17:16:54 +01:00
package-lock.json Added eslint + remark-lint to our documentation pages (#249) 2023-09-06 17:16:54 +01:00
package.json Added eslint + remark-lint to our documentation pages (#249) 2023-09-06 17:16:54 +01:00
README.md Added eslint + remark-lint to our documentation pages (#249) 2023-09-06 17:16:54 +01:00

OpenTF Documentation

This directory contains the portions of the OpenTF website that pertain to the core functionality, excluding providers and the overall configuration.

Suggesting Changes

You can submit an issue with documentation requests or submit a pull request with suggested changes.

Click Edit this page at the bottom of any OpenTF website page to go directly to the associated markdown file in GitHub.

Validating Content

Content changes are automatically validated against a set of rules as part of the pull request process. If you want to run these checks locally to validate your content before committing your changes, you can run the following command:

npm run content-check

If the validation fails, actionable error messages will be displayed to help you address detected issues.

Modifying Sidebar Navigation

You must update the sidebar navigation when you add or delete documentation .mdx files. If you do not update the navigation, the website deploy preview fails.

To update the sidebar navigation, you must edit the appropriate nav-data.json file. This repository contains the sidebar navigation files for the following documentation sets:

Previewing Changes

Coming soon: Documenting the development process for the documentation website repo.

Deploying Changes

Coming soon: Documenting the deployment process for the documentation website repo.