commit | 631ad338db048ba61c31ff56458e092dd092d604 | [log] [tgz] |
---|---|---|
author | Kalvin Lee <kdlee@chromium.org> | Wed May 15 16:42:34 2019 |
committer | chrome-bot <chrome-bot@chromium.org> | Tue May 21 20:28:18 2019 |
tree | 480f45940bf192b35eeb102b97e4584b455c076a | |
parent | 3d7cbff0be260fd212a73dfaf1f5c63c79512d91 [diff] |
docs: add "Getting started with platform2" guide This markdown document was migrated from the Chromium site: https://www.chromium.org/chromium-os/getting-started-with-platform2 and aims to replace the same. BUG=chromium:813194 TEST=N/A Change-Id: I76d4861a4f0c862c13baee1056d3d4d1805e9d5a Reviewed-on: https://chromium-review.googlesource.com/1611031 Commit-Ready: Jorge Lucangeli Obes <jorgelo@chromium.org> Tested-by: Kalvin Lee <kdlee@chromium.org> Legacy-Commit-Queue: Commit Bot <commit-bot@chromium.org> Reviewed-by: Jorge Lucangeli Obes <jorgelo@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
which utilizes Gerrit sandbox branches:
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 ./src/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.