Skip to content

Commit

Permalink
Merge pull request #2925 from JeffreySu/Developer
Browse files Browse the repository at this point in the history
Developer
  • Loading branch information
JeffreySu authored Oct 9, 2023
2 parents e8d6379 + 4541338 commit 22a81eb
Show file tree
Hide file tree
Showing 106 changed files with 422 additions and 143 deletions.
Original file line number Diff line number Diff line change
@@ -1,21 +1,13 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:17966",
"sslPort": 44366
}
},
{
"profiles": {
"Senparc.Weixin.Sample.Work": {
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": true,
"applicationUrl": "https://localhost:7066;http://localhost:5066",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"dotnetRunMessages": true,
"applicationUrl": "https://localhost:7066;http://localhost:5066"
},
"IIS Express": {
"commandName": "IISExpress",
Expand All @@ -24,5 +16,13 @@
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
},
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:61043/",
"sslPort": 44325
}
}
}
}
210 changes: 108 additions & 102 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,25 +1,28 @@
module.exports = {
base: "/docs/",
lang: "zh-CN",
title: '微信 .NET SDK文档',
description: "使用 Senparc.Weixin,您可以方便快速地开发微信全平台的应用(包括微信公众号、小程序、小游戏、企业号、开放平台、微信支付、JS-SDK、微信硬件/蓝牙,等等)。本项目的 Demo 同样适合初学者进行 .NET 编程学习。",
head: [
["link", { rel: "shortcut icon", type: "image/x-icon", href: "/icon.jpg" }],
["script", {}, ``],
],
locales: {
"/": {
"/en/": {
lang: "en-US",
title: "Wechat.NET SDK",
description:
"With Senparc.Weixin, you can easily and quickly develop applications for all platforms of wechat (including wechat public number, mini program, mini game, enterprise number, open platform, wechat Pay, JS-SDK, wechat hardware/Bluetooth, etc.). The Demo of this project is also suitable for beginners to learn.NET programming.",
description: "With Senparc.Weixin, you can easily and quickly develop applications for all platforms of wechat (including wechat public number, mini program, mini game, enterprise number, open platform, wechat Pay, JS-SDK, wechat hardware/Bluetooth, etc.). The Demo of this project is also suitable for beginners to learn.NET programming.",
},
"/zh/": {
lang: "zh-CN",
title: "微信 .NET SDK文档",
description:
"使用 Senparc.Weixin,您可以方便快速地开发微信全平台的应用(包括微信公众号、小程序、小游戏、企业号、开放平台、微信支付、JS-SDK、微信硬件/蓝牙,等等)。本项目的 Demo 同样适合初学者进行 .NET 编程学习。",
description: "使用 Senparc.Weixin,您可以方便快速地开发微信全平台的应用(包括微信公众号、小程序、小游戏、企业号、开放平台、微信支付、JS-SDK、微信硬件/蓝牙,等等)。本项目的 Demo 同样适合初学者进行 .NET 编程学习。",
},
},
// evergreen: true,
port: 8080,
host: "localhost",
open: true,
plugins: ["@vuepress/back-to-top"],
themeConfig: {
repo: "JeffreySu/WeiXinMPSDK",
Expand All @@ -40,22 +43,22 @@ module.exports = {
// 默认为 "Edit this page"
// editLinkText: '帮助我们改善此页面!',
locales: {
"/": {
"/en/": {
label: "English",
repoLabel: "Github",
selectText: "Languages",
ariaLabel: "Select language",
editLinkText: "Edit this page on GitHub",
lastUpdated: "Last Updated",
nav: [
{ text: "Guide", link: "/guide/" },
{ text: "Guide", link: "/en/guide/" },
{
text: "Ecosystem",
items: [
{
text: "Project",
items: [
{ text: "Dynamic WebApi", link: "/dynamic-webapi/index" },
{ text: "Dynamic WebApi", link: "/en/dynamic-webapi/index" },
],
},
{
Expand All @@ -78,95 +81,98 @@ module.exports = {
{ text: "Gitee", link: "https://gitee.com/JeffreySu/WeiXinMPSDK" },
],
sidebar: {
"/guide/": [
"/en/guide/": [
{
title: "Guide",
collapsable: false,
children: ["", "lab"],
children: ["", "lib"],
},
{
title: "MP",
collapsable: false,
children: [
"mp/source_code",
"mp/source-code",
"mp/install",
"mp/registration",
"mp/MessageHandler",
"mp/AdvancedInterface",
"mp/JSSDK",
"mp/OAuth2.0",
"mp/MenuSetup",
"mp/Advanced",
"mp/register",
"mp/messagehandler",
"mp/advanced-interface",
"mp/jssdk",
"mp/oauth2.0",
"mp/menu",
"mp/advanced",
],
},
{
title: "WXOpen",
title: "WxOpen",
collapsable: false,
children: [
"wxopen/Source_code",
"wxopen/source-code",
"wxopen/install",
"wxopen/Registration",
"wxopen/MessageHandler",
"wxopen/Advanced_Interface",
"wxopen/Client_Development",
"wxopen/Applet_Request_Service",
"wxopen/Sign_in",
"wxopen/Get_phone_number",
"wxopen/Other",
"wxopen/Advanced",
"wxopen/register",
"wxopen/messagehandler",
"wxopen/advanced-interface",
"wxopen/client-development",
"wxopen/request-service",
"wxopen/login",
"wxopen/get-phone-number",
"wxopen/other",
"wxopen/advanced",
],
},
{
title: "Work",
collapsable: false,
children: [
"work/Source_code",
"work/source-code",
"work/install",
"work/Registration",
"work/MessageHandler",
"work/Advanced_Interface",
"work/JSSDK_General",
"work/JSSDK_agentConfig",
"work/OAuth2.0",
"work/MenuSetting",
"work/Advanced",
"work/register",
"work/messagehandler",
"work/advanced-interface",
"work/jssdk-general",
"work/jssdk-agent-config",
"work/oauth2.0",
"work/menu",
"work/advanced",
],
},
{
title: "TenpayV3",
collapsable: false,
children: [
"tenpayv3/Source_code",
"tenpayv3/source-code",
"tenpayv3/install",
"tenpayv3/Registration",
"tenpayv3/JASPI",
"tenpayv3/Payment_callbacks",
"tenpayv3/Native_Payments",
"tenpayv3/Refunds",
"tenpayv3/Advanced",
"tenpayv3/register",
"tenpayv3/jssdk",
"tenpayv3/callback",
"tenpayv3/nativepay",
"tenpayv3/refund",
"tenpayv3/advanced",
],
},
{
title: "TenpayV2",
collapsable: false,
children: [
"tenpayv2/Source_code",
"tenpayv2/source-code",
"tenpayv2/install",
"tenpayv2/Registration",
"tenpayv2/JASPI_Payment",
"tenpayv2/Payment_callbacks",
"tenpayv2/Native_Payment",
"tenpayv2/Refunds",
"tenpayv2/Advanced",
"tenpayv2/register",
"tenpayv2/jssdk",
"tenpayv2/callback",
"tenpayv2/nativepay",
"tenpayv2/refund",
"tenpayv2/advanced",
],
},
{
title: "Newly Release",
collapsable: false,
children: ["/guide/release/new_function", "/guide/release/log"],
children: [
"/en/guide/release/new-function",
"/en/guide/release/log",
],
},
],
"/dynamic-webapi/": [
"/en/dynamic-webapi/": [
{
title: "Dynamic WebApi",
collapsable: false,
Expand Down Expand Up @@ -213,89 +219,89 @@ module.exports = {
{
title: "概要",
collapsable: false,
children: ["", "库和组件"],
children: ["", "lib"],
},
{
title: "公众号",
collapsable: false,
children: [
"MP/源码",
"MP/如何安装",
"MP/注册",
"MP/MessageHandler",
"MP/高级接口",
"MP/JSSDK",
"MP/OAuth2.0",
"MP/菜单设置",
"MP/进阶",
"mp/source-code",
"mp/install",
"mp/register",
"mp/messagehandler",
"mp/advanced-interface",
"mp/jssdk",
"mp/oauth2.0",
"mp/menu",
"mp/advanced",
],
},
{
title: "小程序",
collapsable: false,
children: [
"WxOpen/源码",
"WxOpen/如何安装",
"WxOpen/注册",
"WxOpen/MessageHandler",
"WxOpen/高级接口",
"WxOpen/客户端开发",
"WxOpen/小程序服务请求",
"WxOpen/登录",
"WxOpen/获取手机号",
"WxOpen/其他",
"WxOpen/进阶",
"wxopen/source-code",
"wxopen/install",
"wxopen/register",
"wxopen/messagehandler",
"wxopen/advanced-interface",
"wxopen/client-development",
"wxopen/request-service",
"wxopen/login",
"wxopen/get-phone-number",
"wxopen/other",
"wxopen/advanced",
],
},
{
title: "企业微信",
collapsable: false,
children: [
"Work/源码",
"Work/如何安装",
"Work/注册",
"Work/MessageHandler",
"Work/高级接口",
"Work/JSSDK常规",
"Work/JSSDK_agentConfig",
"Work/OAuth2.0",
"Work/菜单设置",
"Work/进阶",
"work/source-code",
"work/install",
"work/register",
"work/messagehandler",
"work/advanced-interface",
"work/jssdk-general",
"work/jssdk-agent-config",
"work/oauth2.0",
"work/menu",
"work/advanced",
],
},
{
title: "微信支付V3",
collapsable: false,
children: [
"TenPayV3/源码",
"TenPayV3/如何安装",
"TenPayV3/注册",
"TenPayV3/JASPI",
"TenPayV3/支付回调",
"TenPayV3/Native支付",
"TenPayV3/退款",
"TenPayV3/进阶",
"tenpayv3/source-code",
"tenpayv3/install",
"tenpayv3/register",
"tenpayv3/jssdk",
"tenpayv3/callback",
"tenpayv3/nativepay",
"tenpayv3/refund",
"tenpayv3/advanced",
],
},
{
title: "微信支付V2",
collapsable: false,
children: [
"TenPayV2/源码",
"TenPayV2/如何安装",
"TenPayV2/注册",
"TenPayV2/JASPI",
"TenPayV2/支付回调",
"TenPayV2/Native支付",
"TenPayV2/退款",
"TenPayV2/进阶",
"tenpayv2/source-code",
"tenpayv2/install",
"tenpayv2/register",
"tenpayv2/jssdk",
"tenpayv2/callback",
"tenpayv2/nativepay",
"tenpayv2/refund",
"tenpayv2/advanced",
],
},
{
title: "新发布",
collapsable: false,
children: [
"/zh/guide/release/new_function",
"/zh/guide/release/new-function",
"/zh/guide/release/log",
],
},
Expand Down
Loading

0 comments on commit 22a81eb

Please sign in to comment.