Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(node): add duplicated ids and bad anchor links detection #3151

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

userquin
Copy link
Collaborator

@userquin userquin commented Oct 28, 2023

From Discrod server: https://discord.com/channels/325477692906536972/790509637598314527/1167504706407497839

Using the logic from this module: https://github.com/iconify/website/blob/main/scripts/validate-links.mjs

This PR includes duplicated pages ids, Iconify script doesn't.

Updated logic here since Iconify is using cleanURLs: false: https://github.com/iconify/website/blob/main/.vitepress/config.ts#L51C3-L51C12

closes #3133

)
)
// add public html files to the list: i.e. VP docs has public/pure.html
for await (const file of fg.stream('*.html', {
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Apply this to the public folder without deep.

@github-actions github-actions bot added the stale label Feb 2, 2024
@github-actions github-actions bot removed the stale label Apr 28, 2024
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.

H2 anchors generated incorrectly if content generated dynamically
1 participant