-
Notifications
You must be signed in to change notification settings - Fork 189
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
chore(docs): codegen reference docs for nargo
CLI
#4149
Conversation
🚀 Deployed on https://65c42b2f69b06912f11d0bee--noir-docs.netlify.app |
e1c4f0d
to
953d284
Compare
953d284
to
42b4456
Compare
cc @noir-lang/developerrelations |
Thank you, this is exactly what we needed! Now if we only could do the same for the stdlib, that would allow for that explanation/reference separation @noir-lang/developerrelations would like to have. But that's not possible at this point, due to the fact the stdlib is Noir so CLAP shouldn't work there. Our end goal is for engineers to simply incorporate some decorators with their code and don't have to think much about the docs. |
* master: (22 commits) feat: remove predicate from `sort` intrinsic function (#4228) chore: add test for missing lambda closure environment (#2120) (#4212) chore(docs): Updates following `is_recursive` flag removal (#4199) fix: from field with constant values (#4226) feat: Option expect method (#4219) feat: Evaluation of dynamic assert messages (#4101) chore(docs): XOR typo in docs (#4223) fix: apply range constraints to return values from unconstrained functions (#4217) fix(lsp): replace panics with errors (#4209) feat: Improve Error Handling for Cargo in Bootstrap Script (#4211) fix: prevent declarations of blackbox functions outside of the stdlib (#4177) feat: disable unused variable checks on low-level and oracle functions (#4179) chore: Rename acir_docs.md to README.md (#4208) feat: remove replacement of boolean range opcodes with `AssertZero` opcodes (#4107) chore(docs): updating docs to match new recursion interfacee (#4187) feat!: Sync commits from `aztec-packages` (#4144) feat: multiply first to allow more ACIR gen optimizations (#4201) feat: Move bounded_vec into the noir stdlib (#4197) chore: simplify marking black box function outputs as solvable (#4194) chore(doc): Add docs for `assert_max_bit_size` (#4196) ...
Also looked at https://github.com/clap-rs/clap/tree/master/clap_mangen but there's no easy way to display roff in docusaurus so we'd have to go down the route of https://github.com/jgm/pandoc. If we go down that route then we'd lose any control over how we display this information so it's probably best to just use |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm!
Description
Problem*
Resolves #4136
Resolves AztecProtocol/dev-rel#128
Summary*
This PR codegens the reference material for the nargo CLI to avoid us having to copy documentation from the code over to a markdown file.
The exact format of the codegenned markdown isn't final and we can iterate on this but it guarantees completeness.
Additional Context
Documentation*
Check one:
PR Checklist*
cargo fmt
on default settings.