Skip to content

Conversation

@DelevoXDG
Copy link
Contributor

@DelevoXDG DelevoXDG commented Nov 25, 2025

Stack


  • Support cairo, runnable code blocks in scarb doc
  • Run said code blocks via scarb execute
  • Embed print output and program output under the code block

@DelevoXDG DelevoXDG force-pushed the zdobnikau/refactor-create-output-dir branch from a07fae6 to d5ccd3c Compare November 25, 2025 10:27
@DelevoXDG DelevoXDG force-pushed the zdobnikau/runnable-snippets-in-docs branch 3 times, most recently from e436b15 to 6177ab3 Compare December 1, 2025 11:02
@DelevoXDG DelevoXDG force-pushed the zdobnikau/refactor-create-output-dir branch 2 times, most recently from 0befe5e to 100b832 Compare December 2, 2025 13:57
@DelevoXDG DelevoXDG mentioned this pull request Dec 2, 2025
@DelevoXDG DelevoXDG force-pushed the zdobnikau/runnable-snippets-in-docs branch 2 times, most recently from 3702cb8 to b4ba6d9 Compare December 2, 2025 16:01
@DelevoXDG DelevoXDG marked this pull request as ready for review December 8, 2025 16:53
@DelevoXDG DelevoXDG requested a review from a team as a code owner December 8, 2025 16:53
test result: FAILED. 0 passed; 1 failed; 0 ignored
error: doc tests failed
"#});
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please add cases for --output-format: mdx and maybe json.
Are you sure we want to generate the output for runnables in mdx??

.env("SCARB_ALL_FEATURES", "true")
.run();

if build_result.is_err() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The build fails when target.starknet-contract present, what is the plan to address that?

@DelevoXDG DelevoXDG force-pushed the zdobnikau/refactor-create-output-dir branch from 2f3fb9a to f0cbf01 Compare December 22, 2025 09:47
@DelevoXDG DelevoXDG force-pushed the zdobnikau/runnable-snippets-in-docs branch from 9cac873 to 22357ec Compare December 22, 2025 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants