Skip to content

Conversation

@novusnota
Copy link
Collaborator

@novusnota novusnota commented Nov 4, 2025

Closes #123 by adding four kinds of redirect checks:

  • all sources must be unique
  • all destinations must exist (if they are local)
  • changes against upstream docs.json structure links must be accounted for
  • changes against previous TON Docs links must be accounted for

Out of them, two are expected to fail — we don't have redirect files for all declared routes AND we don't cover all links from the previous TON Docs. Yet.

All checks pass, see this message for details.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

No documentation issues detected.

@novusnota novusnota marked this pull request as draft November 4, 2025 15:47
Copy link
Collaborator Author

@novusnota novusnota left a comment

Choose a reason for hiding this comment

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

Let's add all missing redirects and/or add TODO stubs for destinations and resolve those in #39.

@novusnota
Copy link
Collaborator Author

novusnota commented Nov 5, 2025

Let's add all missing redirects and/or add TODO stubs for destinations and resolve those in #39.

Done!

Instead of explicit "TODO" redirects, which would've led to 404 pages, I've opened new issues and linked to them. And also linked to existing issues when there's no corresponding page stub.

Besides, the "upstream docs.json" check is commented out — it shall be enabled only right before the release. There's a note for that in #39.

@novusnota novusnota marked this pull request as ready for review November 5, 2025 13:15
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

No documentation issues detected.

@novusnota novusnota changed the title feat(ci): add redirect checks feat(ci): add redirect checks and reconstruct redirects array for all links from the previous TON Docs Nov 5, 2025
verytactical
verytactical previously approved these changes Nov 6, 2025
@novusnota novusnota marked this pull request as draft November 6, 2025 09:25
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

No documentation issues detected.

@verytactical verytactical merged commit d3d3aa1 into main Nov 6, 2025
7 checks passed
@verytactical verytactical deleted the closes-123/pr-not-found branch November 6, 2025 10:39
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.

Check redirects on CI

3 participants