Skip to content

chore: hide archived versions/ from published docs#749

Merged
RiskeyL merged 1 commit into
mainfrom
chore/hide-legacy-docs
Apr 16, 2026
Merged

chore: hide archived versions/ from published docs#749
RiskeyL merged 1 commit into
mainfrom
chore/hide-legacy-docs

Conversation

@RiskeyL
Copy link
Copy Markdown
Contributor

@RiskeyL RiskeyL commented Apr 16, 2026

Summary

  • Add /versions/ to .mintignore so archived release snapshots (2-8-x through 3-7-x, plus legacy/) are excluded from the Mintlify build and no longer surface in site search.
  • Remove two stale redirects in docs.json that pointed into versions/legacy/en/plugins/schema-definition/. Those destination files do not exist in the repo and were already broken.

Copilot AI review requested due to automatic review settings April 16, 2026 13:39
@dosubot dosubot Bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 16, 2026
@mintlify
Copy link
Copy Markdown
Contributor

mintlify Bot commented Apr 16, 2026

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
dify-core-product 🟢 Ready View Preview Apr 16, 2026, 1:42 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

@dosubot dosubot Bot added the documentation Improvements or additions to documentation label Apr 16, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Mintlify docs build configuration to prevent archived documentation snapshots under /versions/ from being published/searched, and cleans up redirects that pointed to non-existent legacy paths.

Changes:

  • Add /versions/ to .mintignore to exclude archived version snapshots (including legacy/) from the published docs build.
  • Remove two stale docs.json redirects that targeted missing paths under versions/legacy/en/plugins/schema-definition/....

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
docs.json Removes broken redirects into non-existent legacy plugin schema-definition paths.
.mintignore Excludes /versions/ from Mintlify builds to hide archived snapshots from publishing/search.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@RiskeyL RiskeyL merged commit 7b291e5 into main Apr 16, 2026
7 checks passed
@RiskeyL RiskeyL deleted the chore/hide-legacy-docs branch April 16, 2026 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants