close
Skip to content

Update make-docs.sh to prevent HTML errors#771

Merged
jglogan merged 1 commit intoapple:mainfrom
GenkaOk:patch-1
Oct 16, 2025
Merged

Update make-docs.sh to prevent HTML errors#771
jglogan merged 1 commit intoapple:mainfrom
GenkaOk:patch-1

Conversation

@GenkaOk
Copy link
Copy Markdown
Contributor

@GenkaOk GenkaOk commented Oct 16, 2025

Fix 2 HTML errors:

  1. Start tag seen without seeing a doctype first. Expected .
  2. Element head is missing a required instance of child element title.

Type of Change

  • Bug fix
  • New feature
  • Breaking change
  • Documentation update

Motivation and Context

Simple page contains HTML validation errors.
It's easy fix for prevent errors.

Screens from validator.w3.org

image image

Testing

  • Tested locally
  • Added/updated tests
  • Added/updated docs

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.
@GenkaOk GenkaOk changed the title Update make-docs.sh to include HTML redirection Update make-docs.sh to prevent HTML errors Oct 16, 2025
@jglogan
Copy link
Copy Markdown
Contributor

jglogan commented Oct 16, 2025

@GenkaOk Holy cow.

How did I forget DOCTYPE? 🤦

Thanks! Let's build and merge.

@jglogan
Copy link
Copy Markdown
Contributor

jglogan commented Oct 16, 2025

@GenkaOk Thanks for the contribution! Merged.

@jglogan jglogan merged commit d9ca04f into apple:main Oct 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants