Skip to content
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

Mark code blocks as Cairo not Rust #2142

Open
wants to merge 3 commits into
base: maciektr/doc-patch-highlighter
Choose a base branch
from

Conversation

maciektr
Copy link
Contributor

Mark code blocks as Cairo not Rust

Add option to build straight from scarb-doc

@maciektr
Copy link
Contributor Author

maciektr commented Mar 31, 2025

@maciektr maciektr force-pushed the maciektr/doc-patch-highlighter branch from 587b7d8 to 4206bee Compare April 7, 2025 08:42
@maciektr maciektr force-pushed the maciektr/doc-with-cairo branch from 916f428 to 340395b Compare April 7, 2025 08:42
@maciektr maciektr requested a review from FroyaTheHen April 7, 2025 08:42
@maciektr maciektr marked this pull request as ready for review April 7, 2025 08:42
@maciektr maciektr requested a review from a team as a code owner April 7, 2025 08:42
.arg("--output")
.arg(build_output_dir.clone())
.env("SCARB_UI_VERBOSITY", ui.verbosity().to_string())
.run()?;
Copy link
Contributor

Choose a reason for hiding this comment

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

did you run it without issues in your local env? I am trying to do that. Yet, command exits with error: no such command: mdbook. However, scarb-metadata/src/command/scarb_command.rs cmd.status() is Ok(ExitStatus(unix_wait_status(256))) so if i change the line if cmd.status()?.success() { to if cmd.status().is_ok() { it builds the book as expected. Any idea what could be wrong with my local env or if is it not env specific?

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.

2 participants