From 872d613a7ca6e80d22dd24f6f3106742f3b8adee Mon Sep 17 00:00:00 2001 From: Reinier Kaper Date: Wed, 28 Feb 2018 22:51:32 -0500 Subject: [PATCH 1/3] Added doctype for valid HTML As pointed out in Issue #1866, this should be added for valid HTML. --- src/content/guides/getting-started.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/content/guides/getting-started.md b/src/content/guides/getting-started.md index 955b55123d98..33e74ba9c33b 100644 --- a/src/content/guides/getting-started.md +++ b/src/content/guides/getting-started.md @@ -58,6 +58,7 @@ document.body.appendChild(component()); __index.html__ ``` html + Getting Started @@ -127,6 +128,7 @@ Now, since we'll be bundling our scripts, we have to update our `index.html` fil __dist/index.html__ ``` diff + Getting Started From 6f8ab97a79853b6d33b11481b23bdb6bf6099fd5 Mon Sep 17 00:00:00 2001 From: Reinier Kaper Date: Thu, 1 Mar 2018 07:07:01 -0500 Subject: [PATCH 2/3] Added more doctypes --- src/content/guides/asset-management.md | 1 + src/content/guides/author-libraries.md | 21 +++++++++++---------- src/content/guides/development-vagrant.md | 2 +- src/content/guides/output-management.md | 1 + src/content/guides/shimming.md | 1 + 5 files changed, 15 insertions(+), 11 deletions(-) diff --git a/src/content/guides/asset-management.md b/src/content/guides/asset-management.md index 907c9b40eda1..c78d4ad35e88 100644 --- a/src/content/guides/asset-management.md +++ b/src/content/guides/asset-management.md @@ -21,6 +21,7 @@ Let's make a minor change to our project before we get started: __dist/index.html__ ``` diff + - Getting Started diff --git a/src/content/guides/author-libraries.md b/src/content/guides/author-libraries.md index d466032c3730..e683a4d3da87 100644 --- a/src/content/guides/author-libraries.md +++ b/src/content/guides/author-libraries.md @@ -101,17 +101,18 @@ require(['webpackNumbers'], function ( webpackNumbers) { The consumer also can use the library by loading it via a script tag: ``` html + -... - - + ... + + ``` diff --git a/src/content/guides/development-vagrant.md b/src/content/guides/development-vagrant.md index 7520e4210d32..9bf98873972d 100644 --- a/src/content/guides/development-vagrant.md +++ b/src/content/guides/development-vagrant.md @@ -36,7 +36,7 @@ module.exports = { And create a `index.html` file. The script tag should point to your bundle. If `output.filename` is not specified in the config, this will be `bundle.js`. ```html - + diff --git a/src/content/guides/output-management.md b/src/content/guides/output-management.md index bcc951f01c27..055f1af25e3d 100644 --- a/src/content/guides/output-management.md +++ b/src/content/guides/output-management.md @@ -69,6 +69,7 @@ Let's also update our `dist/index.html` file, in preparation for webpack to spli __dist/index.html__ ``` diff + - Asset Management diff --git a/src/content/guides/shimming.md b/src/content/guides/shimming.md index 51c478037835..b0ec5b117464 100644 --- a/src/content/guides/shimming.md +++ b/src/content/guides/shimming.md @@ -374,6 +374,7 @@ With that in place, we can add the logic to conditionally load our new `polyfill __dist/index.html__ ``` diff + Getting Started From fcc22eb8454309bf4e1b9964445c6d166235c1ce Mon Sep 17 00:00:00 2001 From: Fernando Montoya Date: Thu, 1 Mar 2018 14:53:28 +0100 Subject: [PATCH 3/3] docs(content) Add doctype to HTML example --- src/content/index.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/content/index.md b/src/content/index.md index 4c7f59b3e639..767ea8189d51 100644 --- a/src/content/index.md +++ b/src/content/index.md @@ -45,6 +45,7 @@ module.exports = { __page.html__ ```html + ...