feat: 添加多端口支持到 Mintlify CLI#7
Open
code-xpertai[bot] wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
变更描述
此 PR 为 Mintlify CLI 添加了多端口支持功能。现在用户可以在运行
mint dev命令时指定多个端口,当端口被占用时 CLI 会按顺序尝试这些端口。具体变更
新增功能:在
development.mdx文档中添加了多端口使用示例mint dev --port 3000,3001,3002文档更新:更新了 "Custom ports" 部分,包含:
使用示例
解决的问题
测试
已创建测试文件验证功能:
/workspace/docs/development_modified.mdx- 包含完整修改的文档兼容性