- Android: correct version header 0.5.x→0.4.x, add sdk-license to module table, update artifact versions to 0.4.10 - iOS: correct min version iOS 14→16, bump version to 0.2.0, update SPM ref to from: "0.2.0" - RN: fix version 0.3.x→0.2.x, standardize npm registry URL, add @xuqm/rn-license to module table - Flutter: update git ref to v0.2.2, add xuqm_flutter_license to module tables - Add new docs: ios/license, rn/push, rn/license, flutter/push, flutter/update, flutter/license - tenant-platform: make appKey a computed ref in Push/VersionManagementView to fix service gating reactivity on route change - tenant-platform: add requestActivation API endpoint - tenant-platform: add IM service gating UI (checkServiceEnabled + activation dialog) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
120 行
4.2 KiB
TypeScript
120 行
4.2 KiB
TypeScript
import { defineConfig } from 'vitepress'
|
|
|
|
export default defineConfig({
|
|
title: 'XuqmGroup 开发者文档',
|
|
description: 'XuqmGroup 多端 SDK 接入指南',
|
|
base: '/docs/',
|
|
lang: 'zh-CN',
|
|
ignoreDeadLinks: true,
|
|
|
|
themeConfig: {
|
|
logo: '/logo.svg',
|
|
siteTitle: 'XuqmGroup Dev Docs',
|
|
|
|
nav: [
|
|
{ text: '快速开始', link: '/guide/quickstart' },
|
|
{ text: '演示项目', link: '/demo/' },
|
|
{
|
|
text: 'SDK',
|
|
items: [
|
|
{ text: 'Android', link: '/android/' },
|
|
{ text: 'iOS', link: '/ios/' },
|
|
{ text: 'React Native', link: '/rn/' },
|
|
{ text: 'Vue3', link: '/vue3/' },
|
|
{ text: 'Flutter', link: '/flutter/' },
|
|
{ text: 'HarmonyOS', link: '/harmony/' },
|
|
{ text: '微信小程序', link: '/miniprogram/' },
|
|
{ text: 'H5', link: '/h5/' },
|
|
],
|
|
},
|
|
{ text: 'API 速查', link: '/server/api' },
|
|
{ text: '平台控制台', link: 'https://dev.xuqinmin.com', target: '_blank' },
|
|
],
|
|
|
|
sidebar: {
|
|
'/guide/': [
|
|
{ text: '快速开始', link: '/guide/quickstart' },
|
|
{ text: '平台概念', link: '/guide/concepts' },
|
|
{ text: '接入流程', link: '/guide/flow' },
|
|
],
|
|
'/demo/': [
|
|
{ text: '演示项目', link: '/demo/' },
|
|
],
|
|
'/android/': [
|
|
{ text: '概览', link: '/android/' },
|
|
{ text: '安装配置', link: '/android/setup' },
|
|
{ text: 'IM 接入', link: '/android/im' },
|
|
{ text: '推送接入', link: '/android/push' },
|
|
{ text: '版本管理', link: '/android/update' },
|
|
{ text: '授权管理', link: '/android/license' },
|
|
],
|
|
'/ios/': [
|
|
{ text: '概览', link: '/ios/' },
|
|
{ text: '安装配置', link: '/ios/setup' },
|
|
{ text: 'IM 接入', link: '/ios/im' },
|
|
{ text: '推送接入', link: '/ios/push' },
|
|
{ text: '版本管理', link: '/ios/update' },
|
|
{ text: '授权管理', link: '/ios/license' },
|
|
],
|
|
'/rn/': [
|
|
{ text: '概览', link: '/rn/' },
|
|
{ text: '安装配置', link: '/rn/setup' },
|
|
{ text: 'IM 接入', link: '/rn/im' },
|
|
{ text: '群聊', link: '/rn/group' },
|
|
{ text: '推送接入', link: '/rn/push' },
|
|
{ text: '版本管理', link: '/rn/update' },
|
|
{ text: '授权管理', link: '/rn/license' },
|
|
],
|
|
'/vue3/': [
|
|
{ text: '概览', link: '/vue3/' },
|
|
{ text: '安装配置', link: '/vue3/setup' },
|
|
{ text: 'IM 接入', link: '/vue3/im' },
|
|
],
|
|
'/flutter/': [
|
|
{ text: '概览', link: '/flutter/' },
|
|
{ text: '安装配置', link: '/flutter/setup' },
|
|
{ text: 'IM 接入', link: '/flutter/im' },
|
|
{ text: '推送接入', link: '/flutter/push' },
|
|
{ text: '版本管理', link: '/flutter/update' },
|
|
{ text: '授权管理', link: '/flutter/license' },
|
|
],
|
|
'/harmony/': [
|
|
{ text: '概览', link: '/harmony/' },
|
|
{ text: '安装配置', link: '/harmony/setup' },
|
|
{ text: 'IM 接入', link: '/harmony/im' },
|
|
{ text: '推送接入', link: '/harmony/#push-接入' },
|
|
{ text: '版本管理', link: '/harmony/#update-接入' },
|
|
],
|
|
'/miniprogram/': [
|
|
{ text: '概览', link: '/miniprogram/' },
|
|
{ text: '安装配置', link: '/miniprogram/setup' },
|
|
{ text: 'IM 接入', link: '/miniprogram/im' },
|
|
],
|
|
'/h5/': [
|
|
{ text: '概览', link: '/h5/' },
|
|
{ text: '安装配置', link: '/h5/setup' },
|
|
{ text: 'IM 接入', link: '/h5/im' },
|
|
],
|
|
'/server/': [
|
|
{ text: 'API 速查', link: '/server/api' },
|
|
{ text: 'Go Server SDK', link: '/server/go-sdk' },
|
|
{ text: 'Java Server SDK', link: '/server/java-sdk' },
|
|
{ text: 'Python Server SDK', link: '/server/python-sdk' },
|
|
{ text: 'WebSocket 协议', link: '/server/websocket' },
|
|
{ text: '错误码', link: '/server/errors' },
|
|
],
|
|
},
|
|
|
|
socialLinks: [
|
|
{ icon: 'github', link: 'https://xuqinmin.com/xuqinmin12' },
|
|
],
|
|
|
|
footer: {
|
|
message: 'XuqmGroup 开放平台',
|
|
copyright: 'Copyright © 2026 XuqmGroup',
|
|
},
|
|
|
|
search: { provider: 'local' },
|
|
},
|
|
})
|