This repository contains source for Reaction Commerce documentation.
All pushed branches are published to https://docs.reactioncommerce.com
Pull requests should be made to the master
branches.
Reaction Docs uses remark-lint for linting Markdown style. You can install and use it in this repo by running:
npm install
If you're using Atom, you can install the supported plugin linter-markdown to get linting feedback as you write. If you're using a different editor, see the list of available editor integrations.
# get lint results for the whole repo in your console
npm run lint
# fix anything that can be fixed automatically
npm run lint-fix
You can view and test your branch live on https://docs.reactioncommerce.com/.
- Go to https://docs.reactioncommerce.com/
- Open browser console and run:
Meteor.call("redoc/flushDocCache")
- Find your branch in the drop-down menu. The URL should change to https://docs.reactioncommerce.com/reaction-docs/your-branch-name/intro and you should be able to see and test your changes here.