The legacy documentation for Chrome DevTools.
Перейти к файлу
Paul Irish dfd489427a Merge pull request #87 from Garbee/mobile-emulation
Mobile emulation table
2014-05-19 09:53:23 -07:00
css better image sizing and consistent too. 2014-02-11 15:40:11 -08:00
docs Removed empty paragraph element. Originally had the table caption for mobile network emualtion but was forgotten. 2014-05-17 07:27:25 -04:00
images optmized images 2014-03-31 12:00:43 -07:00
pillar-images changing around pillage page quite a bit, adding files, making 2:1 ratio standard for images 2014-01-10 15:18:25 -08:00
.gitignore gitignore 2013-06-24 11:15:19 -07:00
_book.yaml workspaces in TOC 2014-03-31 12:00:34 -07:00
_redirects.yaml redirect for elements-styles as well. 2014-04-21 15:56:00 -07:00
index.html Mega-merge. Manual merge of DCC tags into latest devtools-docs repo. 2014-04-14 11:48:52 -07:00
pillar.html updating screenshots on devtools index page 2014-02-13 14:27:46 -08:00
readme.md merge in devsite latest. 2014-05-15 21:42:48 -07:00
redirects.json adding redirects.json 2014-02-20 15:59:18 -08:00

readme.md

The Chrome DevTools documentation

This is the source of the official DevTools documentation.

Contributing

We regularly update the docs and welcome any contributions or bug-fixes.

Before submitting a pull request, please open a new issue to let us know you're working on.

This will allow us to provide feedback and coordinate contribution efforts.

FYI The extension docs live in the chromium repo: chromium/src/chrome/common/extensions/docs

Orientation

./docs
Contains all the working files.
./index.html
Contains the project overview page.
./images
Contains images for index.html.
./_book.yaml
Contains the titles and paths of individual docs.
./_redirect.yaml
Contains redirects from one location to another.

Additional DevTools docs

Covered in the DevTools Content Inventory

Running the site

  1. In the root of the project, start a [server] (3fa2e7dc1f/.functions (L25-L32)).
  • It's easier if your server can also do a directory listing.
  1. Open http://localhost:8000/docs/_preview.html
  2. You will see the boilerplate along with a directory listing image
  3. Click one of them.
  4. It should bring you to a url like http://localhost:8000/docs/_preview.html?settings.html
  • you can navigate to this directly if you like
  • it looks like this image
  • Things mostly work.

Deployment

Paul or Addy does the work of pushing this stuff live.

  • check last commit in google3 via git log, get the SHA
  • pull in latest from GH
  • g4 add/edit changed things
    • look for changed items by find . -type f -perm 0640
    • compare URL from last commit to master: github.com/GoogleChrome/devtools-docs/compare/<SHA>...master, Files Changed, Show Diff Stats
  • check git status and p4 status
  • g4 change, imgsquish, g4 mail
  • commit any changed images back to GH

Troublshooting

  • Make sure you've created CLs with any imported GH changes.
  • devsite publish all relevant files.

License

Except as otherwise noted, the content of the DevTools documentation is licensed under the Creative Commons Attribution 3.0 License, and code samples are licensed under the Apache 2.0 License.