This repo contains the documentation for the Empty Set Dollar (ESD) project.
The live URL of the site is https://docs.emptyset.finance
The repo uses the Docsify static site generator to create a documentation website from a series of markdown files. These files follow a file tree structure to segment sections and keep the repo maintainable.
The following tree structure is applied:
├── home.md // Top level content
├── protocol // Section folder
└── overview.md // Section content
└── zh-cn // Localised folder
├── home.md // Localised top level content
└── protocol // Localised section folder
└── overview.md // Localised content
The repo should follow this structure, so keep this in mind when making contributions to the project.
The sidebar of the site is governed by the _sidebar.md
file. This file is structured in a way to show headings:
<!-- _navbar.md -->
* Getting started // Section Header
* [Quick start](quickstart.md) // Section Link
* [FAQs](faqs.md) // Section Link
* Protocol // Section Header
....
The sidebar should follow this structure, so keep this in mind when making contributions to the project.
In order to preview the site locally you need to do the following things:
npm i docsify-cli -g
git clone https://github.com/emptysetsquad/dollar-docs
cd dollar-docs
docsify serve
This repo is open for public contributions so if you see an area in the documentation that is missing, incomplete, or incorrect follow the below steps have your contributions added.
Note: your contribution should have exactly one concern (for example one article or one section). If a PR address more than one area, it should be split into two or more PRs.
The following is a typical workflow for submitting new content is as follows:
- Fork this repository
- Create a new branch based on your fork
- Commit changes and push them to your fork
- Create a pull request against the
staging
branch
If all status checks pass, and the maintainer approves the PR, it will be merged. Somethimes reviewers may ask you to complete additional fixes or other changes before your pull request can be approved and merged.
A pull request should have exactly one concern (for example one feature or one bug). If a PR address more than one concern, it should be split into two or more PRs.
If you have any questions please raise and issue or visit us in the Discord