From d15e3d4c36018180cfbff20d6fd6a2295afb1f59 Mon Sep 17 00:00:00 2001 From: Faruk AYDIN Date: Mon, 7 Nov 2022 18:58:45 +0100 Subject: [PATCH] docs: Add actions and connection pages for DeepL --- packages/docs/pages/.vitepress/config.js | 10 ++++- packages/docs/pages/apps/deepl/actions.md | 12 ++++++ packages/docs/pages/apps/deepl/connection.md | 8 ++++ packages/docs/pages/guide/available-apps.md | 1 + packages/docs/pages/public/favicons/deepl.svg | 39 +++++++++++++++++++ 5 files changed, 69 insertions(+), 1 deletion(-) create mode 100644 packages/docs/pages/apps/deepl/actions.md create mode 100644 packages/docs/pages/apps/deepl/connection.md create mode 100644 packages/docs/pages/public/favicons/deepl.svg diff --git a/packages/docs/pages/.vitepress/config.js b/packages/docs/pages/.vitepress/config.js index 36ca409b..92ec8bf0 100644 --- a/packages/docs/pages/.vitepress/config.js +++ b/packages/docs/pages/.vitepress/config.js @@ -26,12 +26,20 @@ export default defineConfig({ }, { text: 'Apps', - link: '/apps/discord/actions', + link: '/apps/deepl/actions', activeMatch: '/apps/', }, ], sidebar: { '/apps/': [ + { + text: 'DeepL', + collapsible: true, + items: [ + { text: 'Actions', link: '/apps/deepl/actions' }, + { text: 'Connection', link: '/apps/deepl/connection' }, + ], + }, { text: 'Discord', collapsible: true, diff --git a/packages/docs/pages/apps/deepl/actions.md b/packages/docs/pages/apps/deepl/actions.md new file mode 100644 index 00000000..4db1ed95 --- /dev/null +++ b/packages/docs/pages/apps/deepl/actions.md @@ -0,0 +1,12 @@ +--- +favicon: /favicons/deepl.svg +items: + - name: Translate Text + desc: Translates text from one language to another. +--- + + + + diff --git a/packages/docs/pages/apps/deepl/connection.md b/packages/docs/pages/apps/deepl/connection.md new file mode 100644 index 00000000..e644fe58 --- /dev/null +++ b/packages/docs/pages/apps/deepl/connection.md @@ -0,0 +1,8 @@ +# DeepL + +1. Go to [your account page](https://www.deepl.com/account/summary) on DeepL. +2. Scroll down and copy `Authentication Key for DeepL API`. +3. Paste the key into the `Authentication Key` field in Automatisch. +4. Write any screen name to be displayed in Automatisch. +5. Click `Save`. +6. Start using DeepL integration with Automatisch! diff --git a/packages/docs/pages/guide/available-apps.md b/packages/docs/pages/guide/available-apps.md index 23cff942..854d92e7 100644 --- a/packages/docs/pages/guide/available-apps.md +++ b/packages/docs/pages/guide/available-apps.md @@ -6,6 +6,7 @@ We just have a few available integrations at the moment and we also know that wo Following integrations are currently supported by Automatisch. +- [DeepL](/apps/deepl/actions) - [Discord](/apps/discord/actions) - [Flickr](/apps/flickr/triggers) - [Github](/apps/github/triggers) diff --git a/packages/docs/pages/public/favicons/deepl.svg b/packages/docs/pages/public/favicons/deepl.svg new file mode 100644 index 00000000..7b96b43e --- /dev/null +++ b/packages/docs/pages/public/favicons/deepl.svg @@ -0,0 +1,39 @@ + + image/svg+xml + + + + + + + background + + + + Layer 1 + + + + + + + + + + + + + + + + + + + + + + + + + +