commit | 05bebd52b2615ade44037f936e2f7bc326da4cf0 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@chromium.org> | Wed Jan 27 18:48:11 2021 |
committer | Mike Frysinger <vapier@chromium.org> | Wed Jan 27 22:37:45 2021 |
tree | e88ea68d7c2e9e7f5bc2d4a00b5647cc83b27ddc | |
parent | 51293c61c9cd09e4a55b698a22eae28f4ea2d703 [diff] |
tag all docs as moved so people can find the latest correct ones Development has moved to the "main" branch now. BUG=chromium:1126855 Change-Id: I6a8642c17c6e0d5c54b1e39fe96d15292f985290 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/docs/+/2653890 Reviewed-by: Trent Begin <tbegin@chromium.org> Tested-by: Mike Frysinger <vapier@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 cd docs curl -Lo .git/hooks/commit-msg https://gerrit-review.googlesource.com/tools/hooks/commit-msg chmod +x .git/hooks/commit-msg 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.