Commit 24ff886
authored
chore: moving ordering to category jsons and frontmatters (#3777)
# 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\*
- Renames all the folders and pages to remove the prefixes
- Adds `sidebar_position` property in frontmatter, to order them
- Adds `_category_.json` files to order folders
- Removes ordering of top level folders in `sidebars.json`1 parent 4718606 commit 24ff886
68 files changed
Lines changed: 274 additions & 72 deletions
File tree
- docs
- docs
- explanations
- modules_packages_crates
- noir
- data_types
- standard_library
- cryptographic_primitives
- getting_started
- installation
- tooling
- how_to
- reference
- NoirJS/noir_js/classes
- tutorials
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
Lines changed: 1 addition & 0 deletions
0 commit comments