T-rex
A script for inserting a new page in a number-indexed Docusaurus directory as shown here.
Installation
From crates.io:
Docs
Insert
To insert a new page:
where a new Docusaurus page will be created if a file extension is included in the path, and a directory will be made if there is no extension.
For example, t-rex insert ./docs/05-folder
will insert a new folder, while t-rex insert ./docs/05-page.md
will insert a new page.
Fix
To remove gaps and reset the indices to start at 0:
Contact
Email: sammy@stegabob.com
Twitter: @stegaBOB
Discord: @stegaBOB#0001