blob: 41f0254a6cb5fe83d3dc470211771111c227d9fb [file] [log] [blame] [view]
nodir469b2a12015-09-14 16:20:211# Chromium docs
2
pwnall3f918382016-11-16 17:22:123This directory contains chromium project documentation in
Vincent Scheibde853a02017-07-13 23:31:184[Gitiles-flavored Markdown]. It is automatically [rendered by Gitiles].
5
6[Gitiles-flavored Markdown]: https://gerrit.googlesource.com/gitiles/+/master/Documentation/markdown.md
7[rendered by Gitiles]: https://chromium.googlesource.com/chromium/src/+/master/docs/
nodir469b2a12015-09-14 16:20:218
justincarlson90a1c8c2017-04-14 00:34:259If you add new documents, please also add a link to them in the Document Index
10below.
11
12[TOC]
13
Vincent Scheib394b907a2017-07-14 22:30:0614## Creating Documentation
nodir469b2a12015-09-14 16:20:2115
Vincent Scheibde853a02017-07-13 23:31:1816Markdown documents must follow the
17[style guide](https://github.com/google/styleguide/tree/gh-pages/docguide).
nodir469b2a12015-09-14 16:20:2118
Vincent Scheib394b907a2017-07-14 22:30:0619### Preview local changes using [md_browser](../tools/md_browser/):
nodir6efa4992015-12-20 00:54:3320
21```bash
22# in chromium checkout
agabled40b9542016-05-11 01:15:0623./tools/md_browser/md_browser.py
nodir6efa4992015-12-20 00:54:3324```
25
Vincent Scheib394b907a2017-07-14 22:30:0626This is only an estimate. The **gitiles** view may differ.
nodir6efa4992015-12-20 00:54:3327
Vincent Scheib394b907a2017-07-14 22:30:0628### Review changes online with gerrit's links to gitiles:
29
Mathieu Perreault339625382017-07-29 00:32:58301. Upload a patch to gerrit, or receive a review request.
Vincent Scheib394b907a2017-07-14 22:30:0631 e.g. https://chromium-review.googlesource.com/c/572236
Mathieu Perreault339625382017-07-29 00:32:58322. View a specific .md file.
Vincent Scheib394b907a2017-07-14 22:30:0633 e.g. https://chromium-review.googlesource.com/c/572236/2/docs/README.md
343. Click on **gitiles** link at top of page.
35
36This **gitiles** view is the authoritative view, exactly the same as will be
37used when committed.
nodir6efa4992015-12-20 00:54:3338
justincarlson90a1c8c2017-04-14 00:34:2539## Document Index