Update make-docs.sh to prevent HTML errors by GenkaOk · Pull Request #771 · apple/container

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@GenkaOk

Copy link

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

Contributor

jglogan commented

Oct 16, 2025

@GenkaOk Holy cow.

How did I forget DOCTYPE? 🤦

Thanks! Let's build and merge.

@jglogan

Copy link

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

Reviewers

@jglogan jglogan jglogan approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@GenkaOk @jglogan