The repository containing the documentation for the MultiversX Network protocol.
The documentation is built over a custom docusaurus solution and relies on Markdown files.
This repository also has GitHub actions that will trigger the real-time updating of the official documentation website by merging into the master
branch.
In order to ensure that the new added content is correctly aligned and every Markdown feature is working as intended, one can run the project on a local machine.
- a
git
client installed nodejs
andnpm
installed- optional, but useful: an IDE (Visual Code for example)
- clone the repository
- run
npm install
(only for the first usage) - run
npm start
- access
http://localhost:3000
to view your local version of the docs
Live reloading is supported, so you can view the changes in real time by saving the file and going back to the browser.
Once a proposal to update the documentation is submitted, it will be subject to an internal review process for merging into the core repository.
Anyone can contribute to the docs. Any help is appreciated. Here are some ways in which you can contribute:
- update parts of the documentation that no longer match the actual behaviour.
- document features that aren't documented yet.
- add additional information about a component.
- fix grammar issues.
- and so on...
- external contributions will be made to the
external
branch. - you can contribute from GitHub directly (not recommended) or by working locally and pushing the changes (recommended).
- the documentation pages are to be found inside the
docs
directory at the corresponding category. - please follow
docs/utils.md
for Markdown examples.
A web version of the Markdown examples is available here.
- create a new branch starting from
external
. - push the changes to the new branch.
- open a
pull request
from your branch toexternal
branch. - wait for MultiversX members to review your pull request.
Once approved, the pull request will be merged into the external
branch. From time to time (and depending on the emergency of the changes) we will merge the external
branch into development
or master
branches.