Explore the Chrome DevTools Protocol, its methods, events and basic documentation.
More: DevTools Protocol repo and published devtools protocol viewer
# 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.
yarn deploy
To add a new protocol version:
- Modify
_data/versions.json
- Create
_data/VERSION_SLUG
folder and putprotocol.json
file there - Create
_versions/VERSION_SLUG.html
file with protocol version description - Update the
<paper-dropdown-menu id="versions">
tag inindex.html
. - Build project
Run node generate-sidenav-html.js
and add into <div id="drawerToolbar" class="paper-font-title">Domains</div>
in index.html
.
- v0.1 original Eric Guzman app.
- v0.2 irish's "upgrades".
- v0.8 guzman's polymer 0.8 refactor
- v1.0 konrad's polymer 1.0 + jekyll refactor
- v2.0 tim's polymer 2.0 - jekyll refactor
- which brings us to… now.
Apache
Pull requests very welcome!