Skip to content

Feat/custom base url#65

Open
zhangxd1989 wants to merge 2 commits into
yuque:mainfrom
zhangxd1989:feat/custom-base-url
Open

Feat/custom base url#65
zhangxd1989 wants to merge 2 commits into
yuque:mainfrom
zhangxd1989:feat/custom-base-url

Conversation

@zhangxd1989
Copy link
Copy Markdown

Allow users to configure a custom API base URL via YUQUE_BASE_URL env var or --base-url CLI arg, enabling connections to privately deployed Yuque instances. Also propagates the option through the install/setup commands.

What does this PR do?

支持自定义语雀 API 基础地址,允许连接私有化部署的语雀实例。

Related Issues

Type of Change

  • 🐞 Bug fix
  • ✨ New feature
  • 📝 Documentation update
  • ♻️ Refactoring
  • ⚡️ Performance improvement

Checklist

  • Tests added / updated
  • Documentation updated (if applicable)
  • Changelog entry added (if user-facing)
  • No breaking changes (or documented in description)

Changelog Entry

Added: 支持通过 YUQUE_BASE_URL 环境变量或 --base-url CLI 参数自定义 API 基础地址,适配私有化部署场景。

zhangxd and others added 2 commits May 19, 2026 12:45
Allow users to configure a custom API base URL via YUQUE_BASE_URL env var
or --base-url CLI arg, enabling connections to privately deployed Yuque
instances. Also propagates the option through the install/setup commands.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
- Add tests for YuqueClient custom baseURL and createServer with baseURL
- Update CHANGELOG.md with unreleased feature entry
- Document YUQUE_BASE_URL usage in English and Chinese READMEs

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
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.

1 participant