This is the source of the official Chrome Multi-Device documentation on developer.chrome.com (aka "DCC").
- In the root of the project, start a server on port 8000
- See this script for Python server.
- It's easier if your server can also do a directory listing.
- Open http://localhost:8000/_preview.html
- You will see the boilerplate with the index.html file already included
- To preview another document, add a url paramater with the filename
- Something like: http://localhost:8000/_preview.html?data-compression.html
- Or: http://localhost:8888/_preview.html?webview/gettingstarted.html
- Things mostly work but is not exactly the same as viewing through DCC.
Once pushed to master, updates will go live to the DCC site within a few minutes or so.
- If you can't find the content with the devtools-docs repo, it might be part of the Chromium repo
- CSS, JavaScript, and navigation bugs related to developer.chrome.com can be logged to the Chromium issue tracker
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.