0

docs: explain how to preview changes

Your own changes or someone else's.

R=jyasskin@chromium.org,
BUG=571125

Review URL: https://codereview.chromium.org/1535273002

Cr-Commit-Position: refs/heads/master@{#366287}
This commit is contained in:
nodir
2015-12-19 16:54:33 -08:00
committed by Commit bot
parent b988466841
commit 6efa499a12

@ -8,5 +8,23 @@ It is automatically
Markdown documents must follow the [style guide].
## Previewing changes
You can preview your local changes using [md_browser]:
```bash
# in chromium checkout
python tools/md_browser/md_browser.py
```
To review someone else's changes, apply them locally first:
```bash
# in chromium checkout
git cl patch <CL number or URL>
python tools/md_browser/md_browser.py
```
[Markdown]: https://gerrit.googlesource.com/gitiles/+/master/Documentation/markdown.md
[style guide]: https://github.com/google/styleguide/tree/gh-pages/docguide
[md_browser]: ../tools/md_browser/