openebs-docs is the repository for the official OpenEBS documentation. This is using Docusaurus as a documentation framework. It's easy to use and write documentation using Docusaurus, which uses markdown markup language. Additional details on the Docusaurus project can be found here.
sudo apt-get install software-properties-common
curl -sL https://deb.nodesource.com/setup_9.x | sudo -E bash -
sudo apt-get install -y nodejs
npm install -g yarn
git clone https://github.com/openebs/openebs-docs.git
cd openebs-docs
cd openebs-docs/website
npm start
The above step will start a server on the localhost:3000
The following procedure lists the tasks from the time you select an issue to publish the document:
-
Go through the issues, and select an issue you want to work on.
-
Go to
openebs-docs/website
, and executenpm start
. You can then preview the document athttp://localhost:3000/docs/next/overview.html
. -
Work on your issue and create and submit your pull request(PR) for the members to review. Do perform the DCO signoff. DCO stands for Developer Certificate of Origin. It requires the commit message to have a
Signed-off-by:
statement along with the email address of the author of that commit. You can do this using the following commandgit commit -s -m 'Commit message related to the issue'
. You can read more about it here. -
Make changes to your pull request as suggested by the members. In order to keep the pull request clean, you can use
git commit --amend -s -m 'Commit message related to the issue'
along withgit push -f
. This will prevent multiple commits. -
After you submit your pull request, and after it is approved by at least one member, it goes through
Travis CI
integration. Your pull request is checked, and if it exits withcode 0
for all the cases, then it's considered as passed and good for merging. If it fails, identify and fix the errors and resubmit it. You can use the commands mentioned in point 4. -
The maintainers can then merge your pull request. Congrats on your contribution to the OpenEBS-docs code-base.
The project is licensed under the Apache 2.0 License. See LICENSE for the full license text.