From 34050ee6b76dd8c8a7b78a1ca19c48912b79b484 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Tue, 2 May 2017 10:19:56 -0700 Subject: [PATCH 1/3] simplify html --- _layouts/default.html | 66 ++----------------------------------------- 1 file changed, 2 insertions(+), 64 deletions(-) diff --git a/_layouts/default.html b/_layouts/default.html index 4c85372f6a..e4435740b8 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,77 +3,15 @@ - Chrome Debugging Protocol Viewer{% if page.title %} - {{ page.title }}{% endif %} + Redirecting... {% if page.title %} - {{ page.title }}{% endif %} - - - - - - - - - - - - - - - - - - - - - {% include navigation.html %} - - - - - -
- Chrome Debugging Protocol Viewer - {% if page.version %} - - {{ page.version }} - {% endif %} -
- {% if page.category %} - - {% endif %} -
+Brb. -
- {% if page.idx %} - {% assign domain = site.data[page.category].protocol.domains[page.idx] %} - {% include domain.html domain=domain %} - {% else %} - - {% include github-badge.html %} - {{ content }} - - {% endif %} -
-
-
- From b7d0016eb4d796e732d99aae0df28a3bd3f77206 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Tue, 2 May 2017 10:22:42 -0700 Subject: [PATCH 2/3] upgrade gh-pages gem --- Gemfile.lock | 179 +++++++++++++++++++++++++++++++++++---------------- 1 file changed, 122 insertions(+), 57 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 25cbe1315f..52ffa71f77 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -7,53 +7,75 @@ GEM minitest (~> 5.1) thread_safe (~> 0.3, >= 0.3.4) tzinfo (~> 1.1) - addressable (2.4.0) + addressable (2.5.1) + public_suffix (~> 2.0, >= 2.0.2) coffee-script (2.4.1) coffee-script-source execjs - coffee-script-source (1.10.0) + coffee-script-source (1.12.2) colorator (1.1.0) - ethon (0.9.0) + ethon (0.10.1) ffi (>= 1.3.0) execjs (2.7.0) - faraday (0.9.2) + faraday (0.12.1) multipart-post (>= 1.2, < 3) - ffi (1.9.14) + ffi (1.9.18) forwardable-extended (2.6.0) - gemoji (2.1.0) - github-pages (93) + gemoji (3.0.0) + github-pages (136) activesupport (= 4.2.7) - github-pages-health-check (= 1.2.0) - jekyll (= 3.2.1) + github-pages-health-check (= 1.3.3) + jekyll (= 3.4.3) + jekyll-avatar (= 0.4.2) jekyll-coffeescript (= 1.0.1) - jekyll-feed (= 0.5.1) + jekyll-default-layout (= 0.1.4) + jekyll-feed (= 0.9.2) jekyll-gist (= 1.4.0) - jekyll-github-metadata (= 2.0.2) - jekyll-mentions (= 1.1.3) + jekyll-github-metadata (= 2.3.1) + jekyll-mentions (= 1.2.0) + jekyll-optional-front-matter (= 0.1.2) jekyll-paginate (= 1.1.0) - jekyll-redirect-from (= 0.11.0) - jekyll-sass-converter (= 1.3.0) - jekyll-seo-tag (= 2.0.0) - jekyll-sitemap (= 0.10.0) - jemoji (= 0.7.0) - kramdown (= 1.11.1) + jekyll-readme-index (= 0.1.0) + jekyll-redirect-from (= 0.12.1) + jekyll-relative-links (= 0.4.0) + jekyll-sass-converter (= 1.5.0) + jekyll-seo-tag (= 2.2.2) + jekyll-sitemap (= 1.0.0) + jekyll-swiss (= 0.4.0) + jekyll-theme-architect (= 0.0.4) + jekyll-theme-cayman (= 0.0.4) + jekyll-theme-dinky (= 0.0.4) + jekyll-theme-hacker (= 0.0.4) + jekyll-theme-leap-day (= 0.0.4) + jekyll-theme-merlot (= 0.0.4) + jekyll-theme-midnight (= 0.0.4) + jekyll-theme-minimal (= 0.0.4) + jekyll-theme-modernist (= 0.0.4) + jekyll-theme-primer (= 0.1.8) + jekyll-theme-slate (= 0.0.4) + jekyll-theme-tactile (= 0.0.4) + jekyll-theme-time-machine (= 0.0.4) + jekyll-titles-from-headings (= 0.1.5) + jemoji (= 0.8.0) + kramdown (= 1.13.2) liquid (= 3.0.6) listen (= 3.0.6) mercenary (~> 0.3) - minima (= 1.0.1) + minima (= 2.1.1) rouge (= 1.11.1) terminal-table (~> 1.4) - github-pages-health-check (1.2.0) + github-pages-health-check (1.3.3) addressable (~> 2.3) net-dns (~> 0.8) octokit (~> 4.0) - public_suffix (~> 1.4) + public_suffix (~> 2.0) typhoeus (~> 0.7) - html-pipeline (2.4.2) + html-pipeline (2.5.0) activesupport (>= 2) nokogiri (>= 1.4) - i18n (0.7.0) - jekyll (3.2.1) + i18n (0.8.1) + jekyll (3.4.3) + addressable (~> 2.4) colorator (~> 1.0) jekyll-sass-converter (~> 1.0) jekyll-watch (~> 1.1) @@ -63,68 +85,111 @@ GEM pathutil (~> 0.9) rouge (~> 1.7) safe_yaml (~> 1.0) + jekyll-avatar (0.4.2) + jekyll (~> 3.0) jekyll-coffeescript (1.0.1) coffee-script (~> 2.2) - jekyll-feed (0.5.1) + jekyll-default-layout (0.1.4) + jekyll (~> 3.0) + jekyll-feed (0.9.2) + jekyll (~> 3.3) jekyll-gist (1.4.0) octokit (~> 4.2) - jekyll-github-metadata (2.0.2) + jekyll-github-metadata (2.3.1) jekyll (~> 3.1) - octokit (~> 4.0) - jekyll-mentions (1.1.3) + octokit (~> 4.0, != 4.4.0) + jekyll-mentions (1.2.0) + activesupport (~> 4.0) html-pipeline (~> 2.3) jekyll (~> 3.0) + jekyll-optional-front-matter (0.1.2) + jekyll (~> 3.0) jekyll-paginate (1.1.0) - jekyll-redirect-from (0.11.0) - jekyll (>= 2.0) - jekyll-sass-converter (1.3.0) - sass (~> 3.2) - jekyll-seo-tag (2.0.0) - jekyll (~> 3.1) - jekyll-sitemap (0.10.0) + jekyll-readme-index (0.1.0) + jekyll (~> 3.0) + jekyll-redirect-from (0.12.1) + jekyll (~> 3.3) + jekyll-relative-links (0.4.0) + jekyll (~> 3.3) + jekyll-sass-converter (1.5.0) + sass (~> 3.4) + jekyll-seo-tag (2.2.2) + jekyll (~> 3.3) + jekyll-sitemap (1.0.0) + jekyll (~> 3.3) + jekyll-swiss (0.4.0) + jekyll-theme-architect (0.0.4) + jekyll (~> 3.3) + jekyll-theme-cayman (0.0.4) + jekyll (~> 3.3) + jekyll-theme-dinky (0.0.4) + jekyll (~> 3.3) + jekyll-theme-hacker (0.0.4) + jekyll (~> 3.3) + jekyll-theme-leap-day (0.0.4) + jekyll (~> 3.3) + jekyll-theme-merlot (0.0.4) + jekyll (~> 3.3) + jekyll-theme-midnight (0.0.4) + jekyll (~> 3.3) + jekyll-theme-minimal (0.0.4) + jekyll (~> 3.3) + jekyll-theme-modernist (0.0.4) + jekyll (~> 3.3) + jekyll-theme-primer (0.1.8) + jekyll (~> 3.3) + jekyll-theme-slate (0.0.4) + jekyll (~> 3.3) + jekyll-theme-tactile (0.0.4) + jekyll (~> 3.3) + jekyll-theme-time-machine (0.0.4) + jekyll (~> 3.3) + jekyll-titles-from-headings (0.1.5) + jekyll (~> 3.3) jekyll-watch (1.5.0) listen (~> 3.0, < 3.1) - jemoji (0.7.0) + jemoji (0.8.0) activesupport (~> 4.0) - gemoji (~> 2.0) + gemoji (~> 3.0) html-pipeline (~> 2.2) jekyll (>= 3.0) - json (1.8.3) - kramdown (1.11.1) + json (1.8.6) + kramdown (1.13.2) liquid (3.0.6) listen (3.0.6) rb-fsevent (>= 0.9.3) rb-inotify (>= 0.9.7) mercenary (0.3.6) mini_portile2 (2.1.0) - minima (1.0.1) - minitest (5.9.0) + minima (2.1.1) + jekyll (~> 3.3) + minitest (5.10.1) multipart-post (2.0.0) net-dns (0.8.0) - nokogiri (1.6.8) + nokogiri (1.7.1) mini_portile2 (~> 2.1.0) - pkg-config (~> 1.1.7) - octokit (4.3.0) - sawyer (~> 0.7.0, >= 0.5.3) + octokit (4.7.0) + sawyer (~> 0.8.0, >= 0.5.3) pathutil (0.14.0) forwardable-extended (~> 2.6) - pkg-config (1.1.7) - public_suffix (1.5.3) - rb-fsevent (0.9.7) - rb-inotify (0.9.7) + public_suffix (2.0.5) + rb-fsevent (0.9.8) + rb-inotify (0.9.8) ffi (>= 0.5.0) rouge (1.11.1) safe_yaml (1.0.4) - sass (3.4.22) - sawyer (0.7.0) - addressable (>= 2.3.5, < 2.5) - faraday (~> 0.8, < 0.10) - terminal-table (1.6.0) - thread_safe (0.3.5) + sass (3.4.23) + sawyer (0.8.1) + addressable (>= 2.3.5, < 2.6) + faraday (~> 0.8, < 1.0) + terminal-table (1.7.3) + unicode-display_width (~> 1.1.1) + thread_safe (0.3.6) typhoeus (0.8.0) ethon (>= 0.8.0) - tzinfo (1.2.2) + tzinfo (1.2.3) thread_safe (~> 0.1) + unicode-display_width (1.1.3) PLATFORMS ruby @@ -133,4 +198,4 @@ DEPENDENCIES github-pages BUNDLED WITH - 1.12.5 + 1.14.6 From fcd02147f543d3e3b244a86902ff936b6117b518 Mon Sep 17 00:00:00 2001 From: Paul Irish Date: Tue, 2 May 2017 10:22:56 -0700 Subject: [PATCH 3/3] setup redirects --- _config.yml | 7 +-- _domains/1-2/DOM.html | 2 + _domains/1-2/DOMDebugger.html | 2 + _domains/1-2/Debugger.html | 2 + _domains/1-2/Emulation.html | 2 + _domains/1-2/Input.html | 2 + _domains/1-2/Network.html | 2 + _domains/1-2/Page.html | 2 + _domains/1-2/Profiler.html | 2 + _domains/1-2/Runtime.html | 2 + _domains/1-2/Schema.html | 2 + _domains/tot/Accessibility.html | 2 + _domains/tot/Animation.html | 2 + _domains/tot/ApplicationCache.html | 2 + _domains/tot/Browser.html | 2 + _domains/tot/CSS.html | 2 + _domains/tot/CacheStorage.html | 2 + _domains/tot/Console.html | 2 + _domains/tot/DOM.html | 2 + _domains/tot/DOMDebugger.html | 2 + _domains/tot/DOMStorage.html | 2 + _domains/tot/Database.html | 2 + _domains/tot/Debugger.html | 2 + _domains/tot/DeviceOrientation.html | 2 + _domains/tot/Emulation.html | 2 + _domains/tot/HeapProfiler.html | 2 + _domains/tot/IO.html | 2 + _domains/tot/IndexedDB.html | 2 + _domains/tot/Input.html | 2 + _domains/tot/Inspector.html | 2 + _domains/tot/LayerTree.html | 2 + _domains/tot/Log.html | 2 + _domains/tot/Memory.html | 2 + _domains/tot/Network.html | 2 + _domains/tot/Overlay.html | 2 + _domains/tot/Page.html | 2 + _domains/tot/Profiler.html | 2 + _domains/tot/Runtime.html | 2 + _domains/tot/Schema.html | 2 + _domains/tot/Security.html | 2 + _domains/tot/ServiceWorker.html | 2 + _domains/tot/Storage.html | 2 + _domains/tot/SystemInfo.html | 2 + _domains/tot/Target.html | 2 + _domains/tot/Tethering.html | 2 + _domains/tot/Tracing.html | 2 + _domains/v8/Console.html | 2 + _domains/v8/Debugger.html | 2 + _domains/v8/HeapProfiler.html | 2 + _domains/v8/Profiler.html | 2 + _domains/v8/Runtime.html | 2 + _domains/v8/Schema.html | 2 + _layouts/default.html | 66 ++++++++++++++++++++++++++++- create-domain-files.js | 2 + index.html | 2 + 55 files changed, 174 insertions(+), 5 deletions(-) diff --git a/_config.yml b/_config.yml index d7eb29c635..2a2d63cda1 100644 --- a/_config.yml +++ b/_config.yml @@ -1,9 +1,7 @@ # Site settings -title: Chrome Debugging Protocol Viewer +title: Redirecting baseurl: "/debugger-protocol-viewer" url: "https://chromedevtools.github.io" -twitter_username: ChromeDevTools -github_username: chromedevtools collections: versions: @@ -24,3 +22,6 @@ defaults: type: domains values: layout: default + +gems: + - jekyll-redirect-from diff --git a/_domains/1-2/DOM.html b/_domains/1-2/DOM.html index 9c10afa047..ddc8ab40e2 100644 --- a/_domains/1-2/DOM.html +++ b/_domains/1-2/DOM.html @@ -1,5 +1,7 @@ --- title: DOM +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/1-2/DOM/ category: 1-2 version: stable (1.2) idx: 3 diff --git a/_domains/1-2/DOMDebugger.html b/_domains/1-2/DOMDebugger.html index 811ec43367..8183e88fdc 100644 --- a/_domains/1-2/DOMDebugger.html +++ b/_domains/1-2/DOMDebugger.html @@ -1,5 +1,7 @@ --- title: DOMDebugger +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/1-2/DOMDebugger/ category: 1-2 version: stable (1.2) idx: 4 diff --git a/_domains/1-2/Debugger.html b/_domains/1-2/Debugger.html index bb6732a5f0..06facad050 100644 --- a/_domains/1-2/Debugger.html +++ b/_domains/1-2/Debugger.html @@ -1,5 +1,7 @@ --- title: Debugger +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/1-2/Debugger/ category: 1-2 version: stable (1.2) idx: 8 diff --git a/_domains/1-2/Emulation.html b/_domains/1-2/Emulation.html index a00bc90d30..8b7ee7cde2 100644 --- a/_domains/1-2/Emulation.html +++ b/_domains/1-2/Emulation.html @@ -1,5 +1,7 @@ --- title: Emulation +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/1-2/Emulation/ category: 1-2 version: stable (1.2) idx: 1 diff --git a/_domains/1-2/Input.html b/_domains/1-2/Input.html index 48a7fd7559..7d4f4e47dd 100644 --- a/_domains/1-2/Input.html +++ b/_domains/1-2/Input.html @@ -1,5 +1,7 @@ --- title: Input +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/1-2/Input/ category: 1-2 version: stable (1.2) idx: 5 diff --git a/_domains/1-2/Network.html b/_domains/1-2/Network.html index ddd53b0055..4d6594c2f1 100644 --- a/_domains/1-2/Network.html +++ b/_domains/1-2/Network.html @@ -1,5 +1,7 @@ --- title: Network +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/1-2/Network/ category: 1-2 version: stable (1.2) idx: 2 diff --git a/_domains/1-2/Page.html b/_domains/1-2/Page.html index e9d8bba8be..7835c12496 100644 --- a/_domains/1-2/Page.html +++ b/_domains/1-2/Page.html @@ -1,5 +1,7 @@ --- title: Page +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/1-2/Page/ category: 1-2 version: stable (1.2) idx: 0 diff --git a/_domains/1-2/Profiler.html b/_domains/1-2/Profiler.html index e3a5c1b3e2..3976ba3bcd 100644 --- a/_domains/1-2/Profiler.html +++ b/_domains/1-2/Profiler.html @@ -1,5 +1,7 @@ --- title: Profiler +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/1-2/Profiler/ category: 1-2 version: stable (1.2) idx: 9 diff --git a/_domains/1-2/Runtime.html b/_domains/1-2/Runtime.html index b8c39c3822..3f2b55d52d 100644 --- a/_domains/1-2/Runtime.html +++ b/_domains/1-2/Runtime.html @@ -1,5 +1,7 @@ --- title: Runtime +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/1-2/Runtime/ category: 1-2 version: stable (1.2) idx: 7 diff --git a/_domains/1-2/Schema.html b/_domains/1-2/Schema.html index 3ba5554f3a..ea0eedb519 100644 --- a/_domains/1-2/Schema.html +++ b/_domains/1-2/Schema.html @@ -1,5 +1,7 @@ --- title: Schema +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/1-2/Schema/ category: 1-2 version: stable (1.2) idx: 6 diff --git a/_domains/tot/Accessibility.html b/_domains/tot/Accessibility.html index 4244edf35e..ad62f05d34 100644 --- a/_domains/tot/Accessibility.html +++ b/_domains/tot/Accessibility.html @@ -1,5 +1,7 @@ --- title: Accessibility +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Accessibility/ category: tot version: latest (tip-of-tree) idx: 23 diff --git a/_domains/tot/Animation.html b/_domains/tot/Animation.html index 512ec2f887..c04ce49646 100644 --- a/_domains/tot/Animation.html +++ b/_domains/tot/Animation.html @@ -1,5 +1,7 @@ --- title: Animation +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Animation/ category: tot version: latest (tip-of-tree) idx: 22 diff --git a/_domains/tot/ApplicationCache.html b/_domains/tot/ApplicationCache.html index ac03745ef3..741d277465 100644 --- a/_domains/tot/ApplicationCache.html +++ b/_domains/tot/ApplicationCache.html @@ -1,5 +1,7 @@ --- title: ApplicationCache +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/ApplicationCache/ category: tot version: latest (tip-of-tree) idx: 11 diff --git a/_domains/tot/Browser.html b/_domains/tot/Browser.html index aacf9aa62e..c347d843a4 100644 --- a/_domains/tot/Browser.html +++ b/_domains/tot/Browser.html @@ -1,5 +1,7 @@ --- title: Browser +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Browser/ category: tot version: latest (tip-of-tree) idx: 28 diff --git a/_domains/tot/CSS.html b/_domains/tot/CSS.html index 140b6c33fa..fdfa6fd23d 100644 --- a/_domains/tot/CSS.html +++ b/_domains/tot/CSS.html @@ -1,5 +1,7 @@ --- title: CSS +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/CSS/ category: tot version: latest (tip-of-tree) idx: 13 diff --git a/_domains/tot/CacheStorage.html b/_domains/tot/CacheStorage.html index 4acce76672..75c2d12627 100644 --- a/_domains/tot/CacheStorage.html +++ b/_domains/tot/CacheStorage.html @@ -1,5 +1,7 @@ --- title: CacheStorage +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/CacheStorage/ category: tot version: latest (tip-of-tree) idx: 9 diff --git a/_domains/tot/Console.html b/_domains/tot/Console.html index 0ac9d732e2..35f13e0dad 100644 --- a/_domains/tot/Console.html +++ b/_domains/tot/Console.html @@ -1,5 +1,7 @@ --- title: Console +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Console/ category: tot version: latest (tip-of-tree) idx: 32 diff --git a/_domains/tot/DOM.html b/_domains/tot/DOM.html index 67b8e36807..f5756aa76c 100644 --- a/_domains/tot/DOM.html +++ b/_domains/tot/DOM.html @@ -1,5 +1,7 @@ --- title: DOM +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/DOM/ category: tot version: latest (tip-of-tree) idx: 12 diff --git a/_domains/tot/DOMDebugger.html b/_domains/tot/DOMDebugger.html index cbc75f4a89..5f12ecdd0d 100644 --- a/_domains/tot/DOMDebugger.html +++ b/_domains/tot/DOMDebugger.html @@ -1,5 +1,7 @@ --- title: DOMDebugger +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/DOMDebugger/ category: tot version: latest (tip-of-tree) idx: 15 diff --git a/_domains/tot/DOMStorage.html b/_domains/tot/DOMStorage.html index 72a8a55d36..32de55ed2c 100644 --- a/_domains/tot/DOMStorage.html +++ b/_domains/tot/DOMStorage.html @@ -1,5 +1,7 @@ --- title: DOMStorage +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/DOMStorage/ category: tot version: latest (tip-of-tree) idx: 10 diff --git a/_domains/tot/Database.html b/_domains/tot/Database.html index a6c2330883..bae8307e16 100644 --- a/_domains/tot/Database.html +++ b/_domains/tot/Database.html @@ -1,5 +1,7 @@ --- title: Database +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Database/ category: tot version: latest (tip-of-tree) idx: 7 diff --git a/_domains/tot/Debugger.html b/_domains/tot/Debugger.html index 8913aa8c36..c83ac21677 100644 --- a/_domains/tot/Debugger.html +++ b/_domains/tot/Debugger.html @@ -1,5 +1,7 @@ --- title: Debugger +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Debugger/ category: tot version: latest (tip-of-tree) idx: 31 diff --git a/_domains/tot/DeviceOrientation.html b/_domains/tot/DeviceOrientation.html index b35ed06889..64d37d97ad 100644 --- a/_domains/tot/DeviceOrientation.html +++ b/_domains/tot/DeviceOrientation.html @@ -1,5 +1,7 @@ --- title: DeviceOrientation +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/DeviceOrientation/ category: tot version: latest (tip-of-tree) idx: 20 diff --git a/_domains/tot/Emulation.html b/_domains/tot/Emulation.html index 053f976190..140d47f0ad 100644 --- a/_domains/tot/Emulation.html +++ b/_domains/tot/Emulation.html @@ -1,5 +1,7 @@ --- title: Emulation +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Emulation/ category: tot version: latest (tip-of-tree) idx: 4 diff --git a/_domains/tot/HeapProfiler.html b/_domains/tot/HeapProfiler.html index 2b3ad1dd38..840b0ea594 100644 --- a/_domains/tot/HeapProfiler.html +++ b/_domains/tot/HeapProfiler.html @@ -1,5 +1,7 @@ --- title: HeapProfiler +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/HeapProfiler/ category: tot version: latest (tip-of-tree) idx: 34 diff --git a/_domains/tot/IO.html b/_domains/tot/IO.html index fe4cc4ccce..32ab9fc628 100644 --- a/_domains/tot/IO.html +++ b/_domains/tot/IO.html @@ -1,5 +1,7 @@ --- title: IO +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/IO/ category: tot version: latest (tip-of-tree) idx: 14 diff --git a/_domains/tot/IndexedDB.html b/_domains/tot/IndexedDB.html index 248524cc22..e88b0eefff 100644 --- a/_domains/tot/IndexedDB.html +++ b/_domains/tot/IndexedDB.html @@ -1,5 +1,7 @@ --- title: IndexedDB +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/IndexedDB/ category: tot version: latest (tip-of-tree) idx: 8 diff --git a/_domains/tot/Input.html b/_domains/tot/Input.html index 06df24c46f..58526454db 100644 --- a/_domains/tot/Input.html +++ b/_domains/tot/Input.html @@ -1,5 +1,7 @@ --- title: Input +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Input/ category: tot version: latest (tip-of-tree) idx: 18 diff --git a/_domains/tot/Inspector.html b/_domains/tot/Inspector.html index 7c73d3d588..53a0c62264 100644 --- a/_domains/tot/Inspector.html +++ b/_domains/tot/Inspector.html @@ -1,5 +1,7 @@ --- title: Inspector +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Inspector/ category: tot version: latest (tip-of-tree) idx: 0 diff --git a/_domains/tot/LayerTree.html b/_domains/tot/LayerTree.html index b8f3a0a715..468a8e1d01 100644 --- a/_domains/tot/LayerTree.html +++ b/_domains/tot/LayerTree.html @@ -1,5 +1,7 @@ --- title: LayerTree +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/LayerTree/ category: tot version: latest (tip-of-tree) idx: 19 diff --git a/_domains/tot/Log.html b/_domains/tot/Log.html index a08feda821..83c3056a3d 100644 --- a/_domains/tot/Log.html +++ b/_domains/tot/Log.html @@ -1,5 +1,7 @@ --- title: Log +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Log/ category: tot version: latest (tip-of-tree) idx: 25 diff --git a/_domains/tot/Memory.html b/_domains/tot/Memory.html index dc8907ab57..bcdff85899 100644 --- a/_domains/tot/Memory.html +++ b/_domains/tot/Memory.html @@ -1,5 +1,7 @@ --- title: Memory +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Memory/ category: tot version: latest (tip-of-tree) idx: 1 diff --git a/_domains/tot/Network.html b/_domains/tot/Network.html index ce876c0b72..b11ada2864 100644 --- a/_domains/tot/Network.html +++ b/_domains/tot/Network.html @@ -1,5 +1,7 @@ --- title: Network +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Network/ category: tot version: latest (tip-of-tree) idx: 6 diff --git a/_domains/tot/Overlay.html b/_domains/tot/Overlay.html index dd1229eee4..dcfe8ddfe5 100644 --- a/_domains/tot/Overlay.html +++ b/_domains/tot/Overlay.html @@ -1,5 +1,7 @@ --- title: Overlay +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Overlay/ category: tot version: latest (tip-of-tree) idx: 3 diff --git a/_domains/tot/Page.html b/_domains/tot/Page.html index 5842b59b6e..1538657578 100644 --- a/_domains/tot/Page.html +++ b/_domains/tot/Page.html @@ -1,5 +1,7 @@ --- title: Page +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Page/ category: tot version: latest (tip-of-tree) idx: 2 diff --git a/_domains/tot/Profiler.html b/_domains/tot/Profiler.html index 9127332b58..6677cf373b 100644 --- a/_domains/tot/Profiler.html +++ b/_domains/tot/Profiler.html @@ -1,5 +1,7 @@ --- title: Profiler +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Profiler/ category: tot version: latest (tip-of-tree) idx: 33 diff --git a/_domains/tot/Runtime.html b/_domains/tot/Runtime.html index 03e2f797e9..42a32f03f8 100644 --- a/_domains/tot/Runtime.html +++ b/_domains/tot/Runtime.html @@ -1,5 +1,7 @@ --- title: Runtime +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Runtime/ category: tot version: latest (tip-of-tree) idx: 30 diff --git a/_domains/tot/Schema.html b/_domains/tot/Schema.html index 729bd1072c..1ca8214f8a 100644 --- a/_domains/tot/Schema.html +++ b/_domains/tot/Schema.html @@ -1,5 +1,7 @@ --- title: Schema +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Schema/ category: tot version: latest (tip-of-tree) idx: 29 diff --git a/_domains/tot/Security.html b/_domains/tot/Security.html index 284054ab8e..7198e365bd 100644 --- a/_domains/tot/Security.html +++ b/_domains/tot/Security.html @@ -1,5 +1,7 @@ --- title: Security +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Security/ category: tot version: latest (tip-of-tree) idx: 5 diff --git a/_domains/tot/ServiceWorker.html b/_domains/tot/ServiceWorker.html index 7e4e0aef50..0d83132f67 100644 --- a/_domains/tot/ServiceWorker.html +++ b/_domains/tot/ServiceWorker.html @@ -1,5 +1,7 @@ --- title: ServiceWorker +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/ServiceWorker/ category: tot version: latest (tip-of-tree) idx: 17 diff --git a/_domains/tot/Storage.html b/_domains/tot/Storage.html index cb66b78354..da2d2fffff 100644 --- a/_domains/tot/Storage.html +++ b/_domains/tot/Storage.html @@ -1,5 +1,7 @@ --- title: Storage +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Storage/ category: tot version: latest (tip-of-tree) idx: 24 diff --git a/_domains/tot/SystemInfo.html b/_domains/tot/SystemInfo.html index f058e4fca8..d43d67a4aa 100644 --- a/_domains/tot/SystemInfo.html +++ b/_domains/tot/SystemInfo.html @@ -1,5 +1,7 @@ --- title: SystemInfo +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/SystemInfo/ category: tot version: latest (tip-of-tree) idx: 26 diff --git a/_domains/tot/Target.html b/_domains/tot/Target.html index 953e1ba420..35aec8a7fc 100644 --- a/_domains/tot/Target.html +++ b/_domains/tot/Target.html @@ -1,5 +1,7 @@ --- title: Target +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Target/ category: tot version: latest (tip-of-tree) idx: 16 diff --git a/_domains/tot/Tethering.html b/_domains/tot/Tethering.html index 7b3bf4fc73..cc4362e6e3 100644 --- a/_domains/tot/Tethering.html +++ b/_domains/tot/Tethering.html @@ -1,5 +1,7 @@ --- title: Tethering +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Tethering/ category: tot version: latest (tip-of-tree) idx: 27 diff --git a/_domains/tot/Tracing.html b/_domains/tot/Tracing.html index 3ee28ee033..7b06eb4ca6 100644 --- a/_domains/tot/Tracing.html +++ b/_domains/tot/Tracing.html @@ -1,5 +1,7 @@ --- title: Tracing +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/tot/Tracing/ category: tot version: latest (tip-of-tree) idx: 21 diff --git a/_domains/v8/Console.html b/_domains/v8/Console.html index d078d6b032..ab424a5d8e 100644 --- a/_domains/v8/Console.html +++ b/_domains/v8/Console.html @@ -1,5 +1,7 @@ --- title: Console +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/v8/Console/ category: v8 version: v8-inspector (node) idx: 3 diff --git a/_domains/v8/Debugger.html b/_domains/v8/Debugger.html index 0389e4860c..bac0ff6add 100644 --- a/_domains/v8/Debugger.html +++ b/_domains/v8/Debugger.html @@ -1,5 +1,7 @@ --- title: Debugger +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/v8/Debugger/ category: v8 version: v8-inspector (node) idx: 2 diff --git a/_domains/v8/HeapProfiler.html b/_domains/v8/HeapProfiler.html index c54306a6a9..8551ed7ccd 100644 --- a/_domains/v8/HeapProfiler.html +++ b/_domains/v8/HeapProfiler.html @@ -1,5 +1,7 @@ --- title: HeapProfiler +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/v8/HeapProfiler/ category: v8 version: v8-inspector (node) idx: 5 diff --git a/_domains/v8/Profiler.html b/_domains/v8/Profiler.html index 2c26fbb45d..8428f3817a 100644 --- a/_domains/v8/Profiler.html +++ b/_domains/v8/Profiler.html @@ -1,5 +1,7 @@ --- title: Profiler +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/v8/Profiler/ category: v8 version: v8-inspector (node) idx: 4 diff --git a/_domains/v8/Runtime.html b/_domains/v8/Runtime.html index b71e1aaacb..4ce4e105d6 100644 --- a/_domains/v8/Runtime.html +++ b/_domains/v8/Runtime.html @@ -1,5 +1,7 @@ --- title: Runtime +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/v8/Runtime/ category: v8 version: v8-inspector (node) idx: 1 diff --git a/_domains/v8/Schema.html b/_domains/v8/Schema.html index e75ebd4ffb..33b5e1fa49 100644 --- a/_domains/v8/Schema.html +++ b/_domains/v8/Schema.html @@ -1,5 +1,7 @@ --- title: Schema +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/v8/Schema/ category: v8 version: v8-inspector (node) idx: 0 diff --git a/_layouts/default.html b/_layouts/default.html index e4435740b8..4c85372f6a 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -3,15 +3,77 @@ - Redirecting... {% if page.title %} - {{ page.title }}{% endif %} + Chrome Debugging Protocol Viewer{% if page.title %} - {{ page.title }}{% endif %} + + + + + + + + + + + + + + + + + + -Brb. + + + {% include navigation.html %} + + + + + +
+ Chrome Debugging Protocol Viewer + {% if page.version %} + - {{ page.version }} + {% endif %} +
+ {% if page.category %} + + {% endif %} +
+
+ {% if page.idx %} + {% assign domain = site.data[page.category].protocol.domains[page.idx] %} + {% include domain.html domain=domain %} + {% else %} + + {% include github-badge.html %} + {{ content }} + + {% endif %} +
+
+
+ diff --git a/create-domain-files.js b/create-domain-files.js index e0fac322b3..7fdb54cb2a 100644 --- a/create-domain-files.js +++ b/create-domain-files.js @@ -31,6 +31,8 @@ function generateDomainFiles(version) { const fileName = `${DOMAINS_FOLDER}/${version.slug}/${name}.html`; const content = `--- title: ${name} +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/${version.slug}/${name}/ category: ${version.slug} version: ${version.name} idx: ${idx} diff --git a/index.html b/index.html index bd27bb5bad..0c90faa92d 100644 --- a/index.html +++ b/index.html @@ -1,6 +1,8 @@ --- layout: default category: tot +redirect_to: + - https://chromedevtools.github.io/devtools-protocol/ ---

The Chrome debugging protocol allows for tools to instrument, inspect, debug and profile Chromium, Chrome and other Blink-based browsers. Many existing projects currently use the protocol. The Chrome DevTools uses this protocol and the team maintains its API.