mirror of
https://github.com/langgenius/dify-docs.git
synced 2026-03-27 13:28:32 +07:00
Feat: update docs url
This commit is contained in:
@@ -1201,14 +1201,14 @@ It will be automatically generated by the script.
|
||||
<Card
|
||||
title="Edit this page"
|
||||
icon="pen-to-square"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/agent.en.mdx"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/agent.mdx"
|
||||
>
|
||||
Help improve our documentation by contributing directly
|
||||
</Card>
|
||||
<Card
|
||||
title="Report an issue"
|
||||
icon="github"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fagent.en.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fagent.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
>
|
||||
Found an error or have suggestions? Let us know
|
||||
</Card>
|
||||
|
||||
@@ -1034,14 +1034,14 @@ It will be automatically generated by the script.
|
||||
<Card
|
||||
title="Edit this page"
|
||||
icon="pen-to-square"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/agent.zh.mdx"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/agent.mdx"
|
||||
>
|
||||
Help improve our documentation by contributing directly
|
||||
</Card>
|
||||
<Card
|
||||
title="Report an issue"
|
||||
icon="github"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fagent.zh.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fagent.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
>
|
||||
Found an error or have suggestions? Let us know
|
||||
</Card>
|
||||
|
||||
@@ -1201,14 +1201,14 @@ It will be automatically generated by the script.
|
||||
<Card
|
||||
title="Edit this page"
|
||||
icon="pen-to-square"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/chat.en.mdx"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/chat.mdx"
|
||||
>
|
||||
Help improve our documentation by contributing directly
|
||||
</Card>
|
||||
<Card
|
||||
title="Report an issue"
|
||||
icon="github"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fchat.en.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fchat.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
>
|
||||
Found an error or have suggestions? Let us know
|
||||
</Card>
|
||||
|
||||
@@ -1034,14 +1034,14 @@ It will be automatically generated by the script.
|
||||
<Card
|
||||
title="Edit this page"
|
||||
icon="pen-to-square"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/chat.zh.mdx"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/chat.mdx"
|
||||
>
|
||||
Help improve our documentation by contributing directly
|
||||
</Card>
|
||||
<Card
|
||||
title="Report an issue"
|
||||
icon="github"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fchat.zh.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fchat.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
>
|
||||
Found an error or have suggestions? Let us know
|
||||
</Card>
|
||||
|
||||
@@ -1156,14 +1156,14 @@ It will be automatically generated by the script.
|
||||
<Card
|
||||
title="Edit this page"
|
||||
icon="pen-to-square"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/chatflow.en.mdx"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/chatflow.mdx"
|
||||
>
|
||||
Help improve our documentation by contributing directly
|
||||
</Card>
|
||||
<Card
|
||||
title="Report an issue"
|
||||
icon="github"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20low&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fchatflow.en.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20low&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fchatflow.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
>
|
||||
Found an error or have suggestions? Let us know
|
||||
</Card>
|
||||
|
||||
@@ -1163,14 +1163,14 @@ It will be automatically generated by the script.
|
||||
<Card
|
||||
title="Edit this page"
|
||||
icon="pen-to-square"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/chatflow.zh.mdx"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/chatflow.mdx"
|
||||
>
|
||||
Help improve our documentation by contributing directly
|
||||
</Card>
|
||||
<Card
|
||||
title="Report an issue"
|
||||
icon="github"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20low&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fchatflow.zh.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20low&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fchatflow.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
>
|
||||
Found an error or have suggestions? Let us know
|
||||
</Card>
|
||||
|
||||
@@ -504,14 +504,14 @@ It will be automatically generated by the script.
|
||||
<Card
|
||||
title="Edit this page"
|
||||
icon="pen-to-square"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/completion.en.mdx"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/completion.mdx"
|
||||
>
|
||||
Help improve our documentation by contributing directly
|
||||
</Card>
|
||||
<Card
|
||||
title="Report an issue"
|
||||
icon="github"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20etion&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fcompletion.en.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20etion&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fcompletion.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
>
|
||||
Found an error or have suggestions? Let us know
|
||||
</Card>
|
||||
|
||||
@@ -667,14 +667,14 @@ It will be automatically generated by the script.
|
||||
<Card
|
||||
title="Edit this page"
|
||||
icon="pen-to-square"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/completion.zh.mdx"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/completion.mdx"
|
||||
>
|
||||
Help improve our documentation by contributing directly
|
||||
</Card>
|
||||
<Card
|
||||
title="Report an issue"
|
||||
icon="github"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20etion&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fcompletion.zh.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20etion&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fcompletion.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
>
|
||||
Found an error or have suggestions? Let us know
|
||||
</Card>
|
||||
|
||||
@@ -677,14 +677,14 @@ It will be automatically generated by the script.
|
||||
<Card
|
||||
title="Edit this page"
|
||||
icon="pen-to-square"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/workflow.en.mdx"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/workflow.mdx"
|
||||
>
|
||||
Help improve our documentation by contributing directly
|
||||
</Card>
|
||||
<Card
|
||||
title="Report an issue"
|
||||
icon="github"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20low&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fworkflow.en.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20low&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fworkflow.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
>
|
||||
Found an error or have suggestions? Let us know
|
||||
</Card>
|
||||
|
||||
@@ -660,14 +660,14 @@ It will be automatically generated by the script.
|
||||
<Card
|
||||
title="Edit this page"
|
||||
icon="pen-to-square"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/workflow.zh.mdx"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/edit/main/api_access/workflow.mdx"
|
||||
>
|
||||
Help improve our documentation by contributing directly
|
||||
</Card>
|
||||
<Card
|
||||
title="Report an issue"
|
||||
icon="github"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20low&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fworkflow.zh.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
href="https://github.com/langgenius/dify-docs-mintlify/issues/new?title=Documentation%20Issue%3A%20low&body=%23%23%20Issue%20Description%0A%3C%21--%20Please%20briefly%20describe%20the%20issue%20you%20found%20--%3E%0A%0A%23%23%20Page%20Link%0Ahttps%3A%2F%2Fgithub.com%2Flanggenius%2Fdify-docs-mintlify%2Fblob%2Fmain%2Fapi_access%2Fworkflow.mdx%0A%0A%23%23%20Suggested%20Changes%0A%3C%21--%20If%20you%20have%20specific%20suggestions%20for%20changes%2C%20please%20describe%20them%20here%20--%3E%0A%0A%3C%21--%20Thank%20you%20for%20helping%20improve%20our%20documentation%21%20--%3E"
|
||||
>
|
||||
Found an error or have suggestions? Let us know
|
||||
</Card>
|
||||
|
||||
@@ -117,7 +117,7 @@ If you are learning plugin development, it is recommended to first read the [Get
|
||||
* [General Specifications Definition](/plugin-dev-en/0411-general-specifications.mdx) - Understand common structures like ProviderConfig.
|
||||
* [Develop a Slack Bot Plugin Example](/plugin-dev-en/0432-develop-a-slack-bot-plugin.mdx) - Another plugin development example.
|
||||
* [Getting Started with Plugin Development](/plugin-dev-en/0211-getting-started-dify-tool.mdx) - Develop a plugin from scratch.
|
||||
* [Reverse Invocation of Dify Services](/plugin-dev-en/9241-reverse-invocation-app.en.mdx) - Learn how to use the reverse invocation feature. (Note: Link updated to closest available English document)
|
||||
* [Reverse Invocation of Dify Services](/plugin-dev-en/9241-reverse-invocation-app.mdx) - Learn how to use the reverse invocation feature. (Note: Link updated to closest available English document)
|
||||
|
||||
{/*
|
||||
Contributing Section
|
||||
|
||||
@@ -12,163 +12,163 @@
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/develop-plugins/README.mdx",
|
||||
"dev_path": "plugin-dev-en/0111-getting-started-dify-plugin.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0111-getting-started-dify-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": null,
|
||||
"dev_path": "plugin-dev-en/0211-getting-started-new-model.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0211-getting-started-new-model.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/faq.mdx",
|
||||
"dev_path": "plugin-dev-en/0331-faq.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0331-faq.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/develop-plugins/tool-plugin.mdx",
|
||||
"dev_path": "plugin-dev-en/0222-tool-plugin.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0222-tool-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/develop-plugins/model-plugin/README.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-model-plugin-introduction.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-model-plugin-introduction.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/develop-plugins/initialize-development-tools.mdx",
|
||||
"dev_path": "plugin-dev-en/0221-initialize-development-tools.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0221-initialize-development-tools.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/develop-plugins/model-plugin/create-model-providers.mdx",
|
||||
"dev_path": "plugin-dev-en/0222-creating-new-model-provider.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0222-creating-new-model-provider.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/publish-plugins/README.mdx",
|
||||
"dev_path": "plugin-dev-en/0321-release-overview.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0321-release-overview.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/publish-plugins/package-plugin-file-and-publish.mdx",
|
||||
"dev_path": "plugin-dev-en/0322-release-by-file.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0322-release-by-file.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/publish-plugins/publish-to-dify-marketplace/README.mdx",
|
||||
"dev_path": "plugin-dev-en/0322-release-to-dify-marketplace.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0322-release-to-dify-marketplace.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/publish-plugins/publish-plugin-on-personal-github-repo.mdx",
|
||||
"dev_path": "plugin-dev-en/0322-release-to-individual-github-repo.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0322-release-to-individual-github-repo.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/publish-plugins/publish-to-dify-marketplace/plugin-developer-guidelines.mdx",
|
||||
"dev_path": "plugin-dev-en/0312-contributor-covenant-code-of-conduct.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0312-contributor-covenant-code-of-conduct.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/publish-plugins/publish-to-dify-marketplace/plugin-privacy-protection-guidelines.mdx",
|
||||
"dev_path": "plugin-dev-en/0312-privacy-protection-guidelines.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0312-privacy-protection-guidelines.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/general-specifications.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-general-specifications.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-general-specifications.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/model/model-designing-rules.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-model-designing-rules.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-model-designing-rules.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/persistent-storage.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-persistent-storage-kv.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-persistent-storage-kv.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/manifest.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-plugin-info-by-manifest.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-plugin-info-by-manifest.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/debug-plugin.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-remote-debug-a-plugin.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-remote-debug-a-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/tool.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-tool.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0411-tool.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/model/model-schema.mdx",
|
||||
"dev_path": "plugin-dev-en/0412-model-schema.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0412-model-schema.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/best-practice/develop-a-slack-bot-plugin.mdx",
|
||||
"dev_path": "plugin-dev-en/0432-develop-a-slack-bot-plugin.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0432-develop-a-slack-bot-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/endpoint.mdx",
|
||||
"dev_path": "plugin-dev-en/0432-endpoint.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0432-endpoint.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/develop-plugins/extension-plugin.mdx",
|
||||
"dev_path": "plugin-dev-en/9231-extension-plugin.en.mdx",
|
||||
"dev_path": "plugin-dev-en/9231-extension-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/agent.mdx",
|
||||
"dev_path": "plugin-dev-en/9232-agent.en.mdx",
|
||||
"dev_path": "plugin-dev-en/9232-agent.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/develop-plugins/bundle.mdx",
|
||||
"dev_path": "plugin-dev-en/9241-bundle.en.mdx",
|
||||
"dev_path": "plugin-dev-en/9241-bundle.mdx",
|
||||
"verified": true,
|
||||
"sync": "内容高度相同,已确认同步。"
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/reverse-invocation-of-the-dify-service/README.mdx",
|
||||
"dev_path": "plugin-dev-en/9241-reverse-invocation.en.mdx",
|
||||
"dev_path": "plugin-dev-en/9241-reverse-invocation.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/reverse-invocation-of-the-dify-service/app.mdx",
|
||||
"dev_path": "plugin-dev-en/9242-reverse-invocation-app.en.mdx",
|
||||
"dev_path": "plugin-dev-en/9242-reverse-invocation-app.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/reverse-invocation-of-the-dify-service/model.mdx",
|
||||
"dev_path": "plugin-dev-en/9242-reverse-invocation-model.en.mdx",
|
||||
"dev_path": "plugin-dev-en/9242-reverse-invocation-model.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/reverse-invocation-of-the-dify-service/tool.mdx",
|
||||
"dev_path": "plugin-dev-en/9242-reverse-invocation-tool.en.mdx",
|
||||
"dev_path": "plugin-dev-en/9242-reverse-invocation-tool.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/develop-plugins/model-plugin/customizable-model.mdx",
|
||||
"dev_path": "plugin-dev-en/9243-customizable-model.en.mdx",
|
||||
"dev_path": "plugin-dev-en/9243-customizable-model.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/schema-definition/reverse-invocation-of-the-dify-service/node.mdx",
|
||||
"dev_path": "plugin-dev-en/9243-reverse-invocation-node.en.mdx",
|
||||
"dev_path": "plugin-dev-en/9243-reverse-invocation-node.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/develop-plugins/agent-strategy-plugin.mdx",
|
||||
"dev_path": "plugin-dev-en/9433-agent-strategy-plugin.en.mdx",
|
||||
"dev_path": "plugin-dev-en/9433-agent-strategy-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
@@ -178,7 +178,7 @@
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/best-practice/how-to-print-strings-to-logs-for-debugging.mdx",
|
||||
"dev_path": "plugin-dev-en/0222-debugging-logs.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0222-debugging-logs.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
@@ -188,17 +188,17 @@
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/quick-start/develop-plugins/model-plugin/predefined-model.mdx",
|
||||
"dev_path": "plugin-dev-en/0222-creating-new-model-provider-extra.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0222-creating-new-model-provider-extra.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/publish-plugins/plugin-auto-publish-pr.mdx",
|
||||
"dev_path": "plugin-dev-en/0321-plugin-auto-publish-pr.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0321-plugin-auto-publish-pr.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/publish-plugins/signing-plugins-for-third-party-signature-verification.mdx",
|
||||
"dev_path": "plugin-dev-en/0312-third-party-signature-verification.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0312-third-party-signature-verification.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
@@ -209,7 +209,7 @@
|
||||
},
|
||||
{
|
||||
"plugin_path": "en/plugins/best-practice/README.mdx",
|
||||
"dev_path": "plugin-dev-en/0431-example-overview-and-index.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0431-example-overview-and-index.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
@@ -226,17 +226,17 @@
|
||||
},
|
||||
{
|
||||
"plugin_path": null,
|
||||
"dev_path": "plugin-dev-en/0131-cheatsheet.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0131-cheatsheet.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": null,
|
||||
"dev_path": "plugin-dev-en/0211-getting-started-dify-tool.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0211-getting-started-dify-tool.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": null,
|
||||
"dev_path": "plugin-dev-en/0211-getting-started-by-prompt.en.mdx",
|
||||
"dev_path": "plugin-dev-en/0211-getting-started-by-prompt.mdx",
|
||||
"verified": true
|
||||
}
|
||||
]
|
||||
|
||||
@@ -66,10 +66,10 @@ class MdxSyncManager:
|
||||
def get_base_filename(self, filepath: str) -> str:
|
||||
"""从文件路径中提取基本名称,移除扩展名和常见的语言代码。"""
|
||||
name = os.path.basename(filepath)
|
||||
# 顺序很重要:先匹配更具体的(如 .en.mdx),再匹配通用的(如 .mdx)
|
||||
if name.endswith('.en.mdx'):
|
||||
# 顺序很重要:先匹配更具体的(如 .mdx),再匹配通用的(如 .mdx)
|
||||
if name.endswith('.mdx'):
|
||||
return name[:-7]
|
||||
elif name.endswith('.zh.mdx'): # 保留以处理多语言情况
|
||||
elif name.endswith('.mdx'): # 保留以处理多语言情况
|
||||
return name[:-7]
|
||||
elif name.endswith('.ja.mdx'): # 保留以处理多语言情况
|
||||
return name[:-7]
|
||||
|
||||
@@ -66,10 +66,10 @@ class MdxSyncManager:
|
||||
def get_base_filename(self, filepath: str) -> str:
|
||||
"""从文件路径中提取基本名称,移除扩展名和常见的语言代码。"""
|
||||
name = os.path.basename(filepath)
|
||||
# 顺序很重要:先匹配更具体的(如 .en.mdx),再匹配通用的(如 .mdx)
|
||||
if name.endswith('.en.mdx'):
|
||||
# 顺序很重要:先匹配更具体的(如 .mdx),再匹配通用的(如 .mdx)
|
||||
if name.endswith('.mdx'):
|
||||
return name[:-7]
|
||||
elif name.endswith('.zh.mdx'): # 保留以处理多语言情况
|
||||
elif name.endswith('.mdx'): # 保留以处理多语言情况
|
||||
return name[:-7]
|
||||
elif name.endswith('.ja.mdx'): # 保留以处理多语言情况
|
||||
return name[:-7]
|
||||
|
||||
@@ -23,7 +23,7 @@ Bundle 插件包是多个插件的集合。它可以将多个插件打包在一
|
||||
* Dify 插件脚手架工具
|
||||
* Python 环境,版本号 ≥ 3.10
|
||||
|
||||
关于如何准备插件开发的脚手架工具,详细说明请参考[初始化开发工具](initialize-development-tools.zh.mdx)。
|
||||
关于如何准备插件开发的脚手架工具,详细说明请参考[初始化开发工具](initialize-development-tools.mdx)。
|
||||
|
||||
### 创建 Bundle 项目
|
||||
|
||||
|
||||
@@ -13,163 +13,163 @@
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/develop-plugins/README.mdx",
|
||||
"dev_path": "plugin-dev-zh/0111-getting-started-dify-plugin.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0111-getting-started-dify-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": null,
|
||||
"dev_path": "plugin-dev-zh/0211-getting-started-new-model.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0211-getting-started-new-model.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/faq.mdx",
|
||||
"dev_path": "plugin-dev-zh/0331-faq.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0331-faq.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/develop-plugins/tool-plugin.mdx",
|
||||
"dev_path": "plugin-dev-zh/0222-tool-plugin.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0222-tool-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/develop-plugins/model-plugin/README.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-model-plugin-introduction.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-model-plugin-introduction.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/develop-plugins/initialize-development-tools.mdx",
|
||||
"dev_path": "plugin-dev-zh/0221-initialize-development-tools.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0221-initialize-development-tools.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/develop-plugins/model-plugin/create-model-providers.mdx",
|
||||
"dev_path": "plugin-dev-zh/0222-creating-new-model-provider.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0222-creating-new-model-provider.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/publish-plugins/README.mdx",
|
||||
"dev_path": "plugin-dev-zh/0321-release-overview.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0321-release-overview.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/publish-plugins/package-plugin-file-and-publish.mdx",
|
||||
"dev_path": "plugin-dev-zh/0322-release-by-file.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0322-release-by-file.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/publish-plugins/publish-to-dify-marketplace/README.mdx",
|
||||
"dev_path": "plugin-dev-zh/0322-release-to-dify-marketplace.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0322-release-to-dify-marketplace.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/publish-plugins/publish-plugin-on-personal-github-repo.mdx",
|
||||
"dev_path": "plugin-dev-zh/0322-release-to-individual-github-repo.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0322-release-to-individual-github-repo.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/publish-plugins/publish-to-dify-marketplace/plugin-developer-guidelines.mdx",
|
||||
"dev_path": "plugin-dev-zh/0312-contributor-covenant-code-of-conduct.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0312-contributor-covenant-code-of-conduct.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/publish-plugins/publish-to-dify-marketplace/plugin-privacy-protection-guidelines.mdx",
|
||||
"dev_path": "plugin-dev-zh/0312-privacy-protection-guidelines.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0312-privacy-protection-guidelines.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/general-specifications.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-general-specifications.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-general-specifications.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/model/model-designing-rules.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-model-designing-rules.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-model-designing-rules.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/persistent-storage.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-persistent-storage-kv.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-persistent-storage-kv.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/manifest.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-plugin-info-by-manifest.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-plugin-info-by-manifest.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/debug-plugin.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-remote-debug-a-plugin.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-remote-debug-a-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/tool.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-tool.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0411-tool.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/model/model-schema.mdx",
|
||||
"dev_path": "plugin-dev-zh/0412-model-schema.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0412-model-schema.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/best-practice/develop-a-slack-bot-plugin.mdx",
|
||||
"dev_path": "plugin-dev-zh/0432-develop-a-slack-bot-plugin.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0432-develop-a-slack-bot-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/endpoint.mdx",
|
||||
"dev_path": "plugin-dev-zh/0432-endpoint.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0432-endpoint.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/develop-plugins/extension-plugin.mdx",
|
||||
"dev_path": "plugin-dev-zh/9231-extension-plugin.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/9231-extension-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/agent.mdx",
|
||||
"dev_path": "plugin-dev-zh/9232-agent.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/9232-agent.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/develop-plugins/bundle.mdx",
|
||||
"dev_path": "plugin-dev-zh/9241-bundle.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/9241-bundle.mdx",
|
||||
"verified": true,
|
||||
"sync": "内容高度相同,已确认同步。"
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/reverse-invocation-of-the-dify-service/README.mdx",
|
||||
"dev_path": "plugin-dev-zh/9241-reverse-invocation.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/9241-reverse-invocation.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/reverse-invocation-of-the-dify-service/app.mdx",
|
||||
"dev_path": "plugin-dev-zh/9242-reverse-invocation-app.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/9242-reverse-invocation-app.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/reverse-invocation-of-the-dify-service/model.mdx",
|
||||
"dev_path": "plugin-dev-zh/9242-reverse-invocation-model.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/9242-reverse-invocation-model.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/reverse-invocation-of-the-dify-service/tool.mdx",
|
||||
"dev_path": "plugin-dev-zh/9242-reverse-invocation-tool.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/9242-reverse-invocation-tool.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/develop-plugins/model-plugin/customizable-model.mdx",
|
||||
"dev_path": "plugin-dev-zh/9243-customizable-model.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/9243-customizable-model.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/schema-definition/reverse-invocation-of-the-dify-service/node.mdx",
|
||||
"dev_path": "plugin-dev-zh/9243-reverse-invocation-node.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/9243-reverse-invocation-node.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/develop-plugins/agent-strategy-plugin.mdx",
|
||||
"dev_path": "plugin-dev-zh/9433-agent-strategy-plugin.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/9433-agent-strategy-plugin.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
@@ -179,7 +179,7 @@
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/best-practice/how-to-print-strings-to-logs-for-debugging.mdx",
|
||||
"dev_path": "plugin-dev-zh/0222-debugging-logs.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0222-debugging-logs.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
@@ -189,17 +189,17 @@
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/quick-start/develop-plugins/model-plugin/integrate-the-predefined-model.mdx",
|
||||
"dev_path": "plugin-dev-zh/0222-creating-new-model-provider-extra.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0222-creating-new-model-provider-extra.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/publish-plugins/plugin-auto-publish-pr.mdx",
|
||||
"dev_path": "plugin-dev-zh/0321-plugin-auto-publish-pr.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0321-plugin-auto-publish-pr.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/publish-plugins/signing-plugins-for-third-party-signature-verification.mdx",
|
||||
"dev_path": "plugin-dev-zh/0312-third-party-signature-verification.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0312-third-party-signature-verification.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
@@ -210,7 +210,7 @@
|
||||
},
|
||||
{
|
||||
"plugin_path": "zh-hans/plugins/best-practice/README.mdx",
|
||||
"dev_path": "plugin-dev-zh/0431-example-overview-and-index.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0431-example-overview-and-index.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
@@ -227,17 +227,17 @@
|
||||
},
|
||||
{
|
||||
"plugin_path": null,
|
||||
"dev_path": "plugin-dev-zh/0131-cheatsheet.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0131-cheatsheet.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": null,
|
||||
"dev_path": "plugin-dev-zh/0211-getting-started-dify-tool.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0211-getting-started-dify-tool.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
"plugin_path": null,
|
||||
"dev_path": "plugin-dev-zh/0211-getting-started-by-prompt.zh.mdx",
|
||||
"dev_path": "plugin-dev-zh/0211-getting-started-by-prompt.mdx",
|
||||
"verified": true
|
||||
},
|
||||
{
|
||||
|
||||
@@ -135,8 +135,8 @@ class MdxSyncManager:
|
||||
"""尝试找到可能匹配的 plugin 文件"""
|
||||
# 提取文件名(去除路径和语言后缀)
|
||||
dev_filename = os.path.basename(dev_file)
|
||||
if dev_filename.endswith('.zh.mdx'):
|
||||
base_name = dev_filename[:-7] # 去除 .zh.mdx
|
||||
if dev_filename.endswith('.mdx'):
|
||||
base_name = dev_filename[:-7] # 去除 .mdx
|
||||
else:
|
||||
base_name = dev_filename[:-4] # 去除 .mdx
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ DOCS_JSON_PATH = "docs.json"
|
||||
plugin-dev-zh = {
|
||||
"DOCS_DIR": "plugin-dev-zh", # 插件开发文档目录
|
||||
"LANGUAGE_CODE": "简体中文", # 注意:虽然变量名是 LANGUAGE_CODE,但会部署为 docs.json 中的 'version' 值。
|
||||
"FILE_EXTENSION": ".zh.mdx",
|
||||
"FILE_EXTENSION": ".mdx",
|
||||
"TARGET_TAB_NAME": "插件开发", # 新增:目标 Tab 名称
|
||||
"FILENAME_PATTERN": re.compile(r"^(\d{4})-(.*?)\.zh\.mdx$"), # 新增:文件名匹配模式
|
||||
"PWX_TO_GROUP_MAP": {
|
||||
@@ -53,7 +53,7 @@ plugin-dev-en = {
|
||||
"DOCS_DIR": "plugin-dev-en", # Plugin development documentation directory
|
||||
# Note: Although the variable name is LANGUAGE_CODE, it will be deployed as the 'version' value in docs.json.
|
||||
"LANGUAGE_CODE": "English",
|
||||
"FILE_EXTENSION": ".en.mdx",
|
||||
"FILE_EXTENSION": ".mdx",
|
||||
"TARGET_TAB_NAME": "Plugin Development",
|
||||
"FILENAME_PATTERN": re.compile(r"^(\d{4})-(.*?)\.en\.mdx$"),
|
||||
"PWX_TO_GROUP_MAP": {
|
||||
|
||||
@@ -113,7 +113,7 @@ def get_page_path_from_filename(filename: str, docs_dir_name: str) -> str:
|
||||
"""
|
||||
Constructs the documentation page path from its filename and directory name.
|
||||
Example:
|
||||
Old: "0001-intro.en.mdx", "plugin-dev-en" -> "plugin-dev-en/0001-intro.en"
|
||||
Old: "0001-intro.mdx", "plugin-dev-en" -> "plugin-dev-en/0001-intro.en"
|
||||
New: "0001-intro.mdx", "plugin-dev-en" -> "plugin-dev-en/0001-intro"
|
||||
|
||||
Args:
|
||||
|
||||
Reference in New Issue
Block a user