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

scarb doc generates Rust code blocks instead of Cairo ones #1656

Closed
DelevoXDG opened this issue Oct 18, 2024 · 1 comment
Closed

scarb doc generates Rust code blocks instead of Cairo ones #1656

DelevoXDG opened this issue Oct 18, 2024 · 1 comment
Labels
bug Something isn't working cairo Contribution to Cairo compiler scarb-doc

Comments

@DelevoXDG
Copy link
Contributor

scarb doc generates docs that have

```rust

code blocks.
Instead,

```cairo

code blocks should be generated.

Relevant logic on compiler side: https://github.com/wawel37/cairo/blob/40a7b60687682238f7f71ef7c59c986cc5733915/crates/cairo-lang-doc/src/markdown.rs#L29

@DelevoXDG DelevoXDG added bug Something isn't working cairo Contribution to Cairo compiler scarb-doc labels Oct 18, 2024
@github-project-automation github-project-automation bot moved this to Triage in Scarb Oct 18, 2024
@maciektr
Copy link
Contributor

Duplicate of #1525 (comment)

@maciektr maciektr marked this as a duplicate of #1525 Oct 18, 2024
@maciektr maciektr closed this as not planned Won't fix, can't repro, duplicate, stale Oct 18, 2024
@github-project-automation github-project-automation bot moved this from Triage to Done in Scarb Oct 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cairo Contribution to Cairo compiler scarb-doc
Projects
Archived in project
Development

No branches or pull requests

2 participants