commit | 1792b43fc9fd32b4e9e4aa03ad20a6c24f511d84 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@chromium.org> | Wed Nov 28 21:28:34 2018 |
committer | chrome-bot <chrome-bot@chromium.org> | Wed Nov 28 23:55:24 2018 |
tree | c4e4cc7d4d8de99c8d47926734fc0a848a31fb93 | |
parent | 8a0efd92777c74033bc68f39fda3523e2611e6e4 [diff] |
containers_and_vms: add an automated copy & paste FAQ Change-Id: I831f0369f485186da5c1f2c4eb9f57770c6d9907 Reviewed-on: https://chromium-review.googlesource.com/1352537 Commit-Ready: Mike Frysinger <vapier@chromium.org> Tested-by: Mike Frysinger <vapier@chromium.org> Reviewed-by: Zach Reizner <zachr@chromium.org>
This directory contains public Chromium OS project documentation that is automatically rendered by Gitiles. The docs are written in Gitiles-flavored Markdown.
See the Chromium documentation guidelines and Chromium documentation best practices.
Markdown documents must follow the style guide.
This repository is managed by the repo tool, so you can make changes to it using the same techniques that you'd use for any other repositories in the project.
See the Contributing guide for more details.
You can also make changes to this repository without using the repo tool. This comes in handy when you don't have a Chromium OS checkout:
git clone https://chromium.googlesource.com/chromiumos/docs curl -Lo .git/hooks/commit-msg https://gerrit-review.googlesource.com/tools/hooks/commit-msg chmod +x .git/hooks/commit-msg cd docs git checkout -b changes (make some changes) git commit -a git push origin HEAD:refs/for/master
The above steps will upload a patch to chromium-review.googlesource.com where you can get your patch reviewed, and submit.
You can preview your local changes using scripts/preview_docs
:
scripts/preview_docs README.md
You can also use md_browser, which is entirely local and does not require refs/sandbox/ push permission, but has somewhat inaccurate rendering:
# at top of Chromium OS checkout ./chromium/src/tools/md_browser/md_browser.py -d docs
Then browse to e.g. http://localhost:8080/README.md.
To review someone else's changes, apply them locally first, or just click the gitiles
link near the top of a Gerrit file diff page.