Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Physton committed Jun 26, 2023
1 parent 97637b3 commit 2e60ff8
Show file tree
Hide file tree
Showing 232 changed files with 393 additions and 360 deletions.
10 changes: 6 additions & 4 deletions docs-src/src/.vuepress/component/Translators.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<th>{{ getLang('name') }}</th>
<th>{{ getLang('concurrent') }}</th>
<th>{{ getLang('free_quota') }}</th>
<th></th>
<th>{{ getLang('help') }}</th>
<th>{{ getLang('support_languages') }}</th>
</tr>
</thead>
<tbody>
Expand All @@ -17,7 +18,10 @@
<td style="text-align: right">{{ apiItem.concurrent }} / s</td>
<td>{{ getLang('free.' + apiItem.key) || '-' }}</td>
<td style="text-align: center">
<a href="javascript:" @click="toApi(apiItem)">{{ getLang('help') }} / {{ getLang('support_languages') }}</a>
<a href="javascript:" @click="toApi(apiItem)">{{ getLang('help') }}</a>
</td>
<td style="text-align: center">
<a href="javascript:" @click="toApi(apiItem)">{{ Object.keys(apiItem.support).length }}</a>
</td>
</tr>
</tbody>
Expand Down Expand Up @@ -208,9 +212,7 @@ export default {
item.category = api.type
item.nameFilter = this.getItemName(item, true)
item.nameReplace = this.getItemName(item, false)
console.log(item.nameAchors)
item.nameAchors = item.nameReplace.replace(/ /g, '-')
console.log(item.nameReplace)
this.translate_apis_parse.push(item)
})
Expand Down
11 changes: 11 additions & 0 deletions docs-src/src/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {defineUserConfig} from 'vuepress'
import {viteBundler} from '@vuepress/bundler-vite'
import {defaultTheme} from '@vuepress/theme-default'
import {searchPlugin} from '@vuepress/plugin-search'
import {copyCodePlugin} from "vuepress-plugin-copy-code2"
Expand All @@ -12,6 +13,16 @@ export default {
base: '/sd-webui-prompt-all-in-one-assets/',
lang: 'en',
dest: '../docs/',
bundler: viteBundler({
viteOptions: {
build: {
rollupOptions: {
cache: true,
}
}
},
vuePluginOptions: {},
}),
plugins: [
searchPlugin(),
copyCodePlugin(),
Expand Down
4 changes: 4 additions & 0 deletions docs-src/src/.vuepress/translate_apis.json
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -3324,6 +3324,10 @@
"title": "[Hugging Face] mBART-50 many to one multilingual machine translation",
"url": "https://huggingface.co/facebook/mbart-large-50-many-to-one-mmt"
},
{
"title": "[prompt-all-in-one Wiki] documentation / offline download / 说明文档 / 离线下载",
"url": "https://physton.github.io/sd-webui-prompt-all-in-one-assets/OfflineTranslation.html#facebook-mbart-large-50-many-to-one-mmt"
},
{
"title": "[prompt-all-in-one Wiki] Translation API Description / 翻译接口说明",
"url": "https://physton.github.io/sd-webui-prompt-all-in-one-assets/TranslationApiConfiguration.html#translation-api-description"
Expand Down
3 changes: 2 additions & 1 deletion docs-src/src/DonateList.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,5 @@
| 2023-06-20 | ** | 谢谢 | 20 |
| 2023-06-20 |** | | 30 |
| 2023-06-21 |** | 蛮好用的 | 5 |
| 2023-06-21 | ** | 很好 | 1 |
| 2023-06-21 | ** | 很好 | 1 |
| 2023-06-25 |** | 牛哇 | 5 |
6 changes: 3 additions & 3 deletions docs/404.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/About.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/AutomaticTranslation.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/BatchOperation.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/BatchTranslation.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/Contributing.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/Donate.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/DonateList.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/DonateMethod.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/ExtensionUpdateDescription.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/FAQ.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/Favorite.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/FormatOfPrompts.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/History.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/Installation.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/InstallationPackages.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/KeywordInputBox.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/LanguageSelection.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/ListOfKeywords.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/OfflineTranslation.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/OtherFeatures.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/Theme.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/ThemeStyle.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/Tooltip.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/TranslationAPIDescription.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/TranslationApiConfiguration.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/UsingChatgptToGeneratePrompts.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/WritingInWebUIInputBox.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1 +1 @@
import{_ as e,o as c,c as t}from"./app-bc7c9a1e.js";const _={};function o(r,n){return c(),t("div")}const a=e(_,[["render",o],["__file","404.html.vue"]]);export{a as default};
import{_ as e,o as c,c as t}from"./app-0685ef84.js";const _={};function o(r,n){return c(),t("div")}const a=e(_,[["render",o],["__file","404.html.vue"]]);export{a as default};

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2e60ff8

Please sign in to comment.