chore: moving ordering to category jsons and frontmatters#3777
chore: moving ordering to category jsons and frontmatters#3777signorecello merged 2 commits intomasterfrom
Conversation
TomAFrench
left a comment
There was a problem hiding this comment.
Gonna trust that all the links have been updated (does docusaurus check this automatically?)
|
@Savio-Sou my friend in PR reviews (and more) here's the PR to reorder stuff without prefixes as suggested in the docusaurus docs for v3 |
|
Yes @TomAFrench it will fail to build if there are dead links 👍 |
|
🚀 Deployed on https://657876a3f9d08e7763ad8ca6--noir-docs.netlify.app |
|
After clicking on 'Try it now!', the following error occurs: |
|
glad you were the only one actually clicking the preview haha I'll have a look, thanks Kev |
Thats not me ser :) |
|
oh damn your avatars are too similar 😄 fixed that regression @f01dab1e , somehow introduced in #3711 . Still waiting for the next docusaurus to bump webpack version, to avoid this stupid workaround |
* master: (25 commits) chore!: Make file manager read-only to the compiler (#3760) feat: Add some traits to the stdlib (#3796) fix: Stop issuing unused variable warnings for variables in trait definitions (#3797) fix(lsp): package resolution on save (#3794) chore: clippy fix (#3793) feat: Remove experimental feature warning for traits (#3783) fix: Allow trait method references from the trait name (#3774) chore: adds a new option only-acir (#3683) feat(lsp): add goto definition for structs (#3718) chore: disable code lens feature of lsp (#3789) chore: moving ordering to category jsons and frontmatters (#3777) chore(ci): use `actions/setup-node` for caching yarn dependencies (#2730) fix: remove `noirc_driver/aztec` feature flag in docker (#3784) chore: remove aztec compile time feature flag (#3596) chore: move debugger tests in submodule (#3780) feat: simplify explicit equality assertions to assert equality directly (#3708) fix(ssa): Handle array arguments to side effectual constrain statements (#3740) feat: add `prelude.nr` (#3693) chore: removing old docs (#3778) feat: avoid overflow checks on boolean multiplication (#3745) ...
* master: (148 commits) feat: add support for writing tracing debug info to file (#3790) chore: clippy fix (#3803) chore(ci): enforce timeouts on build and test workflows (#3804) chore!: remove unused `source-resolver` package (#3791) chore!: Make file manager read-only to the compiler (#3760) feat: Add some traits to the stdlib (#3796) fix: Stop issuing unused variable warnings for variables in trait definitions (#3797) fix(lsp): package resolution on save (#3794) chore: clippy fix (#3793) feat: Remove experimental feature warning for traits (#3783) fix: Allow trait method references from the trait name (#3774) chore: adds a new option only-acir (#3683) feat(lsp): add goto definition for structs (#3718) chore: disable code lens feature of lsp (#3789) chore: moving ordering to category jsons and frontmatters (#3777) chore(ci): use `actions/setup-node` for caching yarn dependencies (#2730) fix: remove `noirc_driver/aztec` feature flag in docker (#3784) chore: remove aztec compile time feature flag (#3596) chore: move debugger tests in submodule (#3780) feat: simplify explicit equality assertions to assert equality directly (#3708) ...
Description
This big PR does a simple thing: It makes pages ordering respect metadata instead of filenames
Problem*
A naive approach supported over the years at docusaurus was to simply have files prefixed with 00, 01, 02, which were removed automatically by docusaurus.
This makes docs a bit harder to maintain if for some reason you decide to move pages around, as it breaks all the links.
Summary*
sidebar_positionproperty in frontmatter, to order them_category_.jsonfiles to order folderssidebars.json