NicolasRoehm / docs.elrond.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elrond docs

The repository containing the documentation for the Elrond Network protocol.

About

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.

How to use locally

In order to ensure that the new added content is correctly aligned and every Mark Down feature is working as intended, one can run the project on a local machine.

Requirements:

  • a git client installed
  • nodejs and npm installed
  • optional, but useful: an IDE (Visual Code for example)

Steps:

  • clone the repository
  • go to the website directory from a terminal
  • 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.

Contributions

About

Once a proposal to update the documentation is submitted, it will be subject to an internal review process for merging into the core repository.

Audience

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...

Guidelines

  • 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 mark down examples.

A web version of the mark down examples is available here.

Opening a pull request

  • create a new branch starting from external.
  • push the changes to the new branch.
  • open a pull request from your branch to external branch.
  • wait for Elrond 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.

Thank you!

About


Languages

Language:JavaScript 51.1%Language:CSS 38.4%Language:Rust 9.6%Language:Shell 0.9%