This is the source for the documentation hosted here:
👇👇👇👇👇👇👇👇👇👇
👆👆👆👆👆👆👆👆👆👆
alternatively here: https://0lnetworkcommunity.github.io/documentation/
This website is built using Docusaurus 2, a modern static website generator.
There's an automated build which happens on Pull Requests. For every current (not "closed") PR a preview link will be created with the following pattern:
https://0lnetworkcommunity.github.io/documentation/pr-preview/pr-[YOUR PR ID]/
Open Libra core prefers Bun over NPM and Yarn (https://bun.sh/), but you can use any.
$ bun install
$ bun run start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ bun run build
This command generates static content into the build
directory and can be
served using any static contents hosting service.
build
will intentionally throw errors if links cannot be resolved. Note that
on mac/windows/linux, paths may resolve differently, so you may get no errors on
a MacOs but it will on CI (linux).