diff --git a/_includes/event.html b/_includes/event.html deleted file mode 100644 index bf02da446e..0000000000 --- a/_includes/event.html +++ /dev/null @@ -1,34 +0,0 @@ -{% assign event = include.event %} -{% assign domain = include.domain %} -{% capture permalink %}{{ page.url }}#event-{{event.name}}{% endcapture %} - -
-

- - {{domain.domain}}.{{event.name}} - - -

- -

- {{event.description}} - {% include experimental.html item=event %} -

- {% if event.parameters[0] %} -
Parameters
-
- {% for param in event.parameters %} - {% include param.html param=param %} - {% endfor %} -
- {% endif %} - - {% if event.returns[0] %} -
Return object
-
- {% for return in event.returns %} - {% include param.html param=return %} - {% endfor %} -
- {% endif %} -
diff --git a/_includes/method.html b/_includes/method.html deleted file mode 100644 index e3ed49db53..0000000000 --- a/_includes/method.html +++ /dev/null @@ -1,33 +0,0 @@ -{% assign method = include.method %} -{% assign domain = include.domain %} -{% capture permalink %}{{ page.url }}#method-{{method.name}}{% endcapture %} - -
-

- - {{domain.domain}}.{{method.name}} - - -

- -

- {{method.description}} {% include experimental.html item=method %} -

- {% if method.parameters[0] %} -
Parameters
-
- {% for param in method.parameters %} - {% include param.html param=param %} - {% endfor %} -
- {% endif %} - - {% if method.returns[0] %} -
Return object
-
- {% for return in method.returns %} - {% include param.html param=return %} - {% endfor %} -
- {% endif %} -
diff --git a/_includes/navigation.html b/_includes/navigation.html deleted file mode 100644 index 3164b2f7d1..0000000000 --- a/_includes/navigation.html +++ /dev/null @@ -1,22 +0,0 @@ - - - {% for version in site.versions %} - - {{ version.title }} - - {% endfor %} - - Home - - - -
Domains
- - {% for domain in site.domains %} - {% if domain.category == page.category %} - - {{ domain.title }} - - {% endif %} - {% endfor %} - diff --git a/_includes/type-referral.html b/_includes/type-referral.html deleted file mode 100644 index 044ca2ee7d..0000000000 --- a/_includes/type-referral.html +++ /dev/null @@ -1,13 +0,0 @@ -{% assign referral = include.referral %} - -{% comment %} -Support for links to types from the same domain (SomeType -> CurrentDomain.html#type-SomeType) and from a different -domain (OtherDomain.SomeType -> OtherDomain/#type-SomeType). -{% endcomment %} - -{% if referral contains '.' %} - {% assign url = referral | replace:'.','/#type-' %} - {{ referral }} -{% else %} - {{ referral }} -{% endif %} diff --git a/_includes/type.html b/_includes/type.html deleted file mode 100644 index 5d0734200d..0000000000 --- a/_includes/type.html +++ /dev/null @@ -1,29 +0,0 @@ -{% assign type = include.type %} -{% capture permalink %}{{ page.url }}#type-{{type.id}}{% endcapture %} - -
-

{{type.id}}

- -

- {{type.description}} - {% include experimental.html item=type %} -

-

Type: {{type.type}}

- - - {% if type.properties[0] %} -
Properties
-
- {% for property in type.properties %} - {% include param.html param=property %} - {% endfor %} -
- {% endif %} - - {% if type.enum[0] %} -
Allowed values
-

- {{ type.enum | join: ', ' }}. -

- {% endif %} -
diff --git a/_layouts/default.html b/_layouts/default.html deleted file mode 100644 index c8e8ff26bb..0000000000 --- a/_layouts/default.html +++ /dev/null @@ -1,103 +0,0 @@ - - - - - - Chrome DevTools Protocol Viewer{% if page.title %} - {{ page.title }}{% endif %} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - {% include navigation.html %} - - - - - - -
- Chrome DevTools 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-search-index.js b/create-search-index.js index 059dccf47c..57168aaeea 100644 --- a/create-search-index.js +++ b/create-search-index.js @@ -1,5 +1,3 @@ -#! /usr/bin/env node - 'use strict'; /** diff --git a/elements/cr-domain/cr-domain-details.html b/elements/cr-domain/cr-domain-details.html index 3dc4458d6b..fb938a07cb 100644 --- a/elements/cr-domain/cr-domain-details.html +++ b/elements/cr-domain/cr-domain-details.html @@ -1,3 +1,4 @@ + @@ -94,7 +95,6 @@
[[properties.name]]
param="[[item]]" version="[[version]]" domain="[[domain]]" - type="[[type]]" > @@ -108,7 +108,6 @@
Return object
param="[[item]]" version="[[version]]" domain="[[domain]]" - type="[[type]]" > diff --git a/elements/cr-domain/cr-domain-experimental.html b/elements/cr-domain/cr-domain-experimental.html index f16b4c4333..5c0dee8b0f 100644 --- a/elements/cr-domain/cr-domain-experimental.html +++ b/elements/cr-domain/cr-domain-experimental.html @@ -1,3 +1,5 @@ + +