diff --git a/src/static/css/page.css b/src/static/css/page.css index e30b4f22158..6ae2e79a1d8 100644 --- a/src/static/css/page.css +++ b/src/static/css/page.css @@ -690,23 +690,3 @@ pre { .code-block code { width: 100%; } - -.code-comment { - color: #006400; -} - -.code-keyword { - color: #4a3244; -} - -.code-function { - color: #1a2b49; -} - -.code-string { - color: #2c4a73; -} - -.code-number { - color: #00f; -} diff --git a/src/templates/en/2019/methodology.html b/src/templates/en/2019/methodology.html index 94c40a00eef..8f7d375531a 100644 --- a/src/templates/en/2019/methodology.html +++ b/src/templates/en/2019/methodology.html @@ -83,19 +83,20 @@
#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
- Le jeu de données HTTP Archive est continuellement mis à jour avec de nouvelles données mensuelles. Pour l’édition 2019 du Web Almanac, sauf indication contraire dans le chapitre, tous les paramètres ont été obtenus à partir de l’index de juillet 2019. Ces résultats sont publiquement requêtables sur BigQuery dans des tables préfixées par 2019_07_01.
+ Le jeu de données HTTP Archive est continuellement mis à jour avec de nouvelles données mensuelles. Pour l’édition 2019 du Web Almanac, sauf indication contraire dans le chapitre, tous les paramètres ont été obtenus à partir de l’index de juillet 2019. Ces résultats sont publiquement requêtables sur BigQuery dans des tables préfixées par 2019_07_01.
@@ -83,19 +83,20 @@
#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
- Le jeu de données HTTP Archive est continuellement mis à jour avec de nouvelles données mensuelles. Pour l’édition 2020 du Web Almanac, sauf indication contraire dans le chapitre, tous les paramètres ont été obtenus à partir de l’index de août 2020. Ces résultats sont publiquement requêtables sur BigQuery dans des tables préfixées par 2020_08_01.
+ Le jeu de données HTTP Archive est continuellement mis à jour avec de nouvelles données mensuelles. Pour l’édition 2020 du Web Almanac, sauf indication contraire dans le chapitre, tous les paramètres ont été obtenus à partir de l’index de août 2020. Ces résultats sont publiquement requêtables sur BigQuery dans des tables préfixées par 2020_08_01.
@@ -88,19 +88,20 @@
#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
Nous espérons réitérer ce processus à l’avenir afin de garantir que le Web Almanac soit un projet plus diversifié et inclusif avec des contributeurs et contributrices de tous horizons.
diff --git a/src/templates/hi/2019/methodology.html b/src/templates/hi/2019/methodology.html index 86d5c5e6366..610be31400d 100644 --- a/src/templates/hi/2019/methodology.html +++ b/src/templates/hi/2019/methodology.html @@ -83,19 +83,20 @@#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
#standardSQL
-# 01_01b: Distribution of JS bytes by client
-SELECT
+ {# To generate this markup temporarily add a ```sql code block to a chapter and generate that chapter and you'll get the HTML #}
+ #standardSQL
+# 01_01b: Distribution of JS bytes by client
+SELECT
percentile,
- _TABLE_SUFFIX AS client,
- APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
-FROM
- `httparchive.summary_pages.2019_07_01_*`,
- UNNEST([10, 25, 50, 75, 90]) AS percentile
-GROUP BY
+ _TABLE_SUFFIX AS client,
+ APPROX_QUANTILES(ROUND(bytesJs / 1024, 2), 1000)[OFFSET(percentile * 10)] AS js_kbytes
+FROM
+ `httparchive.summary_pages.2019_07_01_*`,
+ UNNEST([10, 25, 50, 75, 90]) AS percentile
+GROUP BY
percentile,
client
-ORDER BY
+ORDER BY
percentile,
client
- Wappalyzer为很多章节提供动力,它分析开发人员工具的流行程度,例如 WordPress,Bootstrap,和jQuery。比如 电商 和 CMS 章节非常依赖于Wappalyzer探测出的各自的 电商 和 CMS 类别。 + Wappalyzer为很多章节提供动力,它分析开发人员工具的流行程度,例如 WordPress,Bootstrap,和jQuery。比如 电商 和 CMS 章节非常依赖于Wappalyzer探测出的各自的 电商 和 CMS 类别。