GitHub - ChromeDevTools/debugger-protocol-viewer at polymer (original) (raw)

devtools-protocol

Explore the Chrome DevTools Protocol, its methods, events and basic documentation.

More: DevTools Protocol repo and published devtools protocol viewer

Building

install bower dependencies

bower install

install dependencies

yarn

regenerate the protocol files

yarn prep

build it

yarn build

serve it locally

yarn serve

Deploying:

We deploy to https://chromedevtools.github.io/devtools-protocol/ despite the source living here. The repo/branch layout is described here. Master branch of this repo is deployed every hour (on the 15 minute mark) via the devtools-protocol/scripts/update-n-publish-docs.sh script.

Adding new version

To add a new protocol version:

  1. Modify _data/versions.json
  2. Create _data/VERSION_SLUG folder and put protocol.json file there
  3. Create _versions/VERSION_SLUG.html file with protocol version description
  4. Update the <paper-dropdown-menu id="versions"> tag in index.html.
  5. Build project

Adding new domains

Run node generate-sidenav-html.js and add into <div id="drawerToolbar" class="paper-font-title">Domains</div> in index.html.

History

License

Apache

Contributing

Pull requests very welcome!