/devtools-docs

The documentation for Chrome DevTools

Primary LanguageJavaScript

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.

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] (https://github.com/paulirish/dotfiles/blob/3fa2e7dc1f1ea5eaf7f6a2531b937ff8bd8833f9/.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
  • 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
  • check git status and p4 status
  • g4 change, imgsquish, g4 mail

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.