mirror of
https://github.com/moghtech/komodo.git
synced 2025-12-05 19:17:36 -06:00
[PR #743] [MERGED] Fix: Example code blocks got interpreted as rust code, leading to compiler errors #772
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/moghtech/komodo/pull/743
Author: @MP-Tool
Created: 8/18/2025
Status: ✅ Merged
Merged: 8/20/2025
Merged by: @mbecker20
Base:
1.19.1← Head:qa/fix-existing-tests📝 Commits (2)
1df3686Fix: Example code blocks got interpreted as rust code, leading to compilation errors39ae8a9Merge branch 'moghtech:main' into qa/fix-existing-tests📊 Changes
13 files changed (+25 additions, -25 deletions)
View changed files
📝
client/core/rs/src/api/execute/action.rs(+1 -1)📝
client/core/rs/src/api/execute/build.rs(+1 -1)📝
client/core/rs/src/api/execute/deployment.rs(+2 -2)📝
client/core/rs/src/api/execute/procedure.rs(+1 -1)📝
client/core/rs/src/api/execute/repo.rs(+3 -3)📝
client/core/rs/src/api/execute/stack.rs(+4 -4)📝
client/core/rs/src/api/mod.rs(+2 -2)📝
client/core/rs/src/api/read/alert.rs(+1 -1)📝
client/core/rs/src/entities/action.rs(+2 -2)📝
client/core/rs/src/entities/procedure.rs(+2 -2)📝
client/core/rs/src/lib.rs(+3 -3)📝
client/core/rs/src/ws.rs(+1 -1)📝
client/periphery/rs/src/terminal.rs(+2 -2)📄 Description
Generalize doc-test code blocks
Problem:
Several documentation tests (doc-tests) failed because example outputs or illustrative code blocks were interpreted as Rust code, leading to compilation errors.
Solution:
Changed code block types for example outputs from rust to text or added comments, ensuring outputs are treated as illustrative text.
Impact:
All doc-tests now compile and pass reliably. Documentation remains clear.
Note:
cargo needs an updated version of
nom.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.