-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Adding version lookup to engine docs #3854
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Caution Review failedThe pull request is closed. WalkthroughThis pull request updates the documentation for the Terragrunt website. In the TODO file, two tasks have been marked as completed. In addition, the engine documentation now dynamically fetches the latest Terragrunt engine release from GitHub. New constants (response, data, version) are exported to support this feature, and example configuration snippets have been updated to use a dynamic version alongside an improved Code component for formatting. Changes
Sequence Diagram(s)sequenceDiagram
participant DocsPage as "Documentation Page"
participant GitHub as "GitHub API"
participant CodeComponent as "Code Component"
DocsPage->>GitHub: Request latest release info
GitHub-->>DocsPage: Return release data (JSON)
DocsPage->>DocsPage: Parse JSON to extract version
DocsPage->>CodeComponent: Render configuration with dynamic version
Possibly related PRs
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (2)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Description
Makes it so that the engine docs has an automatically updated reference to the latest version of the OpenTofu engine.
TODOs
Read the Gruntwork contribution guidelines.
Release Notes (draft)
Updated
IaC Engines
reference.Summary by CodeRabbit