UNPKG

chrome-devtools-frontend

Version:
86 lines (64 loc) 3.46 kB
# Chromium DevTools docs This directory contains [Chrome DevTools] project documentation in [Gitiles-flavored Markdown]. It is automatically [rendered by Gitiles]. [Chrome DevTools]: https://developer.chrome.com/docs/devtools/ [Gitiles-flavored Markdown]: https://gerrit.googlesource.com/gitiles/+/master/Documentation/markdown.md [rendered by Gitiles]: https://chromium.googlesource.com/devtools/devtools-frontend/+/main/docs/ **If you add new documents, please also add a link to them in the Document Index below.** [TOC] ## Creating Documentation ### Guidelines * See the [Chromium Documentation Guidelines](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/documentation_guidelines.md) and the [Chromium Documentation Best Practices](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/documentation_best_practices.md). * Markdown documents must follow the [style guide](https://github.com/google/styleguide/tree/gh-pages/docguide). ### Previewing changes #### Locally using [md_browser](https://chromium.googlesource.com/chromium/src/+/refs/heads/main/tools/md_browser) Assuming that `/path/to/src` contains a chromium checkout, you can run: ```bash # in devtools-frontend checkout /path/to/src/tools/md_browser/md_browser.py --directory $PWD/docs ``` This is only an estimate. The **gitiles** view may differ. #### Online with Gerrit's links to gitiles 1. Upload a patch to gerrit, or receive a review request. e.g. https://chromium-review.googlesource.com/c/3362532 2. View a specific .md file. e.g. https://chromium-review.googlesource.com/c/3362532/2/docs/README.md 3. You will see something like <br> Base [preview](https://chromium.googlesource.com/chromium/src/+/ad44f6081ccc6b92479b12f1eb7e9482f474859d/docs/README.md) -> Patchset 3 [preview](https://chromium.googlesource.com/chromium/src/+/refs/changes/32/3362532/3/docs/README.md) | DOWNLOAD <br> at the top left of the page. Click on the second "[preview](https://chromium.googlesource.com/chromium/src/+/refs/changes/32/3362532/3/docs/README.md)" link to open the preview for the current patch set. This **gitiles** view is the authoritative view, exactly the same as will be used when committed. ## Document Index ### Design Documents * See the shared [Design Documents](https://drive.google.com/drive/folders/1JbUthATfybvMQR3yAHC4J0P7n6oftYNq) folder in the Chromium drive. ### General Development * [Workflows](workflows.md) * [Chrome DevTools Design Review Guidelines](design_guidelines.md) * [Release Management](release_management.md) * [Third-party Guidelines](third_party_guidelines.md) * [Localization](l10n.md) * [V8 debugger support checklist for new language features](https://goo.gle/v8-checklist) * [Chrome DevTools Protocol](devtools-protocol.md) * [UMA metrics in DevTools](uma_metrics.md) * [How to add UMA metrics in DevTools frontend](add_uma_metrics.md) ### Testing * [E2E test guide](../test/e2e/README.md) * [Unit test guide](../test/unittests/README.md) * [Web tests in the DevTools repo guide](../test/webtests/README) ### Architectural Documentation * [Architecture of DevTools](architecture_of_devtools.md) * [Resource management in DevTools](resource_management.md) ### Chromium * [Chromium Docs](https://chromium.googlesource.com/chromium/src/+/master/docs/README.md) * [V8 Documention](https://v8.dev/docs)