jquense / yup

Dead simple Object schema validation
MIT License
22.93k stars 934 forks source link

Fix readme link #2192

Open htoyoda18 opened 7 months ago

htoyoda18 commented 7 months ago

Update Duplicate Section Anchors in README

Overview

This PR aims to improve navigation within the README document by updating the anchor links for duplicate section titles. Specifically, it addresses the issue where multiple sections titled yup have been assigned identical anchor links, making it difficult to link to them individually.

Changes Made

Reasoning

In Markdown documents, especially in GitHub-flavored Markdown, duplicate headings result in automatically generated, incremented anchor links (e.g., #yup, #yup-1, etc.) to maintain uniqueness. However, when manually linking to these sections within the same document, it's essential to use the correct, unique anchor link to ensure the reader is directed to the intended section.

By making this change, we aim to:

Example

Here is how the updated links would be used in practice:

Thank you for considering this improvement to the README documentation. I believe these changes will make it easier for readers to navigate the document and find the information they need efficiently.