Skip to content

Commit d9ca04f

Browse files
authored
Update make-docs.sh to prevent HTML errors (#771)
Fix 2 HTML errors: 1) Start tag seen without seeing a doctype first. Expected <!DOCTYPE html>. 2) Element head is missing a required instance of child element title.
1 parent 2f8de3a commit d9ca04f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

scripts/make-docs.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,11 @@ fi
3939
echo '{}' > "$1/theme-settings.json"
4040

4141
cat > "$1/index.html" <<'EOF'
42+
<!DOCTYPE html>
4243
<html lang="en-US">
4344
<head>
4445
<meta charset="utf-8">
46+
<title>Redirecting...</title>
4547
<meta http-equiv="refresh" content="0; url=./documentation/">
4648
</head>
4749
<body>

0 commit comments

Comments
 (0)