Yuque
The Yuque connector brings approved Yuque knowledge-base pages and optional attachments into AIvis retrieval. It is scoped by repository path and reads only repositories explicitly entered by an administrator.
Use cases
What it indexes
The connector accepts 1 to 100 unique repositories in namespace/slug format. It does not index unlisted repositories, team membership, comments, collaboration history, drafts, trash, export packages, or space-level analytics.
Prerequisites
- Prepare a Yuque token that can read the target repositories.
- Collect repository paths such as
acme/product-handbookfrom Yuque URLs. - Confirm the token account can read document details and attachment download URLs.
- Decide whether attachments should be indexed.
- Decide the AIvis access group before indexing private content.
- Allow the AIvis backend to reach
www.yuque.com.
Where to get configuration values
Configure in AIvis
In the Admin panel, open Connectors, select Yuque, create or choose a Yuque credential, and then enter repository paths and the attachment switch.
Do not enter a full URL, profile URL, or namespace-only value. Each repository path must contain both namespace and repository slug.
Sync behavior
The standard Admin-created Yuque connector runs as a polling connector with checkpoint resume.
Attachment URLs must be safe HTTPS URLs. Documents or attachments that cannot be processed are recorded as item failures.
Permissions
The Yuque token determines what AIvis can ingest, but this connector does not synchronize Yuque organizations, teams, repository members, or per-page permissions into AIvis.
Use AIvis Private groups for internal repositories. Use Public only when every eligible AIvis user may search every indexed page and attachment. Yuque is not available as an auto permission-sync source.
Verify
- Create a connector with one test repository.
- Search known page titles, body keywords, and source links.
- If attachments are enabled, upload a small parseable attachment and confirm it is searchable.
- Search unlisted repositories or private pages and confirm they are absent.
- Test assigned and outside AIvis users.
- Modify a test page and confirm the next sync updates it.
Troubleshooting
Security and maintenance
- Use a dedicated Yuque token instead of a broad personal token.
- Review repository list, attachment switch, token owner, and AIvis groups regularly.
- Rotate or revoke the token if it may have leaked.
- Update and revalidate the connector after repository moves, renames, or permission changes.
- Disable the connector before revoking unused tokens.