JaBa/dashboard/public/bower_components/zero-md/docs/contributing/readme.md
2022-01-04 02:18:28 +05:00

2.6 KiB

Contributing

Noticed a bug? Have a feature request?

Open a new issue in the Github repo, or raise a PR! I'd be stoked to accept any contributions!

Develop locally

Install

Fork and clone the project, then install dependencies.

$ cd zero-md
$ npm install

Run the dev server

$ npm run dev

Open your browser to http://localhost:5000. You should see the test suite running.

Testing

Tests are browser-based and run on Mocha with Chai asserts. If you're adding a new feature or bugfixing, please add the corresponding regression test into test/index.spec.js accordingly.

Tests can be run by pointing your browser to http://localhost:5000.

Linting

Code should be in Standardjs format. Run the linter with:

$ npm run lint

Making changes to source

If you're adding a new feature or bugfixing, please commit your changes into a new branch and raise a pull-request into the main branch upstream, and reference the related issues.

Running the docs

The docs (as seen in https://zerodevx.github.io/zero-md/) can be accessed by pointing your browser to http://localhost:5000/docs/ (note the trailing slash).

Making changes to docs

Documentation is stored in the /docs folder, published with Github Pages and based on zero-md-docs. The markdown for each section is located in readme.md in its corresponding pretty URL.

In general, just raising a PR on readme.md files should suffice.

Version history

Check out the releases page.

License

ISC License

Copyright (c) 2021, Jason Lee <jason@zerodevx.com>

Permission to use, copy, modify, and/or distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.