From b14ebeb6dd391ea339314b1febf4005fc339f844 Mon Sep 17 00:00:00 2001 From: iammohan01 Date: Mon, 4 Dec 2023 16:45:47 +0530 Subject: [PATCH 1/3] doc - Heading Position Fix in self-host docs --- src/routes/docs/advanced/self-hosting/debug/+page.markdoc | 1 + src/routes/docs/advanced/self-hosting/production/+page.markdoc | 3 +++ src/routes/docs/advanced/self-hosting/storage/+page.markdoc | 1 + 3 files changed, 5 insertions(+) diff --git a/src/routes/docs/advanced/self-hosting/debug/+page.markdoc b/src/routes/docs/advanced/self-hosting/debug/+page.markdoc index 92286bdd43..f9ac9f24b9 100644 --- a/src/routes/docs/advanced/self-hosting/debug/+page.markdoc +++ b/src/routes/docs/advanced/self-hosting/debug/+page.markdoc @@ -38,6 +38,7 @@ Appwrite uses conventional HTTP response codes to indicate the success or failur Learn more about Appwrite status codes {% /arrow_link %} +--- # Development mode {% #development-mode%} When moving to dev mode, your server will produce much more verbose error messages. Instead of getting a general 500 error, you'll be able to view the exact error that happened on the server, debug the issue further or [report it to the Appwrite team](https://github.com/appwrite/appwrite/issues/new?body=500%20Error). diff --git a/src/routes/docs/advanced/self-hosting/production/+page.markdoc b/src/routes/docs/advanced/self-hosting/production/+page.markdoc index 293db903f1..4de53a9d92 100644 --- a/src/routes/docs/advanced/self-hosting/production/+page.markdoc +++ b/src/routes/docs/advanced/self-hosting/production/+page.markdoc @@ -33,6 +33,7 @@ By default, only the first user can sign up on the Appwrite instance's dashboard Learn more about environment variables {% /arrow_link %} +--- # Scaling {% #scaling %} Appwrite is built with scalability in mind. Appwrite can scale both horizontally and vertically. @@ -53,6 +54,7 @@ Rate limits are an important mechanism to protect your app. Without rate limits, Learn more about environment variables {% /arrow_link %} +--- # Emails {% #emails %} Sending emails is hard. There are a lot of spam rules and configurations to master in order to set up a functional SMTP server. While it is okay to use a self-hosted SMTP server during development, you should use a third-party SMTP provider for production so your email doesn't get labeled as spam. @@ -86,6 +88,7 @@ In production, it is highly recommended to turn error reporting off. To do so, m Learn more about environment variables {% /arrow_link %} +--- # Security {% #security %} In addition to the security practices mentioned, it is highly recommended to do regular audits to identify and fix potential security vulnerabilities and performance issues. You can use third-party tools and services that specialize in these areas. These tools can automatically check for vulnerabilities and even offer real-time monitoring. diff --git a/src/routes/docs/advanced/self-hosting/storage/+page.markdoc b/src/routes/docs/advanced/self-hosting/storage/+page.markdoc index ee5a269040..54b0f1df66 100644 --- a/src/routes/docs/advanced/self-hosting/storage/+page.markdoc +++ b/src/routes/docs/advanced/self-hosting/storage/+page.markdoc @@ -18,6 +18,7 @@ You can select which storage adapter to use by setting the `_APP_STORAGE_DEVICE` Learn more about storage environment variables {% /arrow_link %} +--- # Maximum file size {% #adapters %} The maximum size for a single file upload is controlled by the `_APP_STORAGE_LIMIT` environment variable, which defaults to 30 MB. From c8bea5b2c9a5111230e74739d36d4d231d2892d7 Mon Sep 17 00:00:00 2001 From: tglide <26071571+TGlide@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:53:11 +0000 Subject: [PATCH 2/3] display flex to arrow link --- src/markdoc/tags/Arrow_Link.svelte | 6 ++++++ src/routes/docs/advanced/self-hosting/debug/+page.markdoc | 1 - .../docs/advanced/self-hosting/production/+page.markdoc | 5 ++--- src/routes/docs/advanced/self-hosting/storage/+page.markdoc | 2 +- 4 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/markdoc/tags/Arrow_Link.svelte b/src/markdoc/tags/Arrow_Link.svelte index 86d55f45b7..f56dca1c6e 100644 --- a/src/markdoc/tags/Arrow_Link.svelte +++ b/src/markdoc/tags/Arrow_Link.svelte @@ -13,3 +13,9 @@ + + diff --git a/src/routes/docs/advanced/self-hosting/debug/+page.markdoc b/src/routes/docs/advanced/self-hosting/debug/+page.markdoc index f9ac9f24b9..92286bdd43 100644 --- a/src/routes/docs/advanced/self-hosting/debug/+page.markdoc +++ b/src/routes/docs/advanced/self-hosting/debug/+page.markdoc @@ -38,7 +38,6 @@ Appwrite uses conventional HTTP response codes to indicate the success or failur Learn more about Appwrite status codes {% /arrow_link %} ---- # Development mode {% #development-mode%} When moving to dev mode, your server will produce much more verbose error messages. Instead of getting a general 500 error, you'll be able to view the exact error that happened on the server, debug the issue further or [report it to the Appwrite team](https://github.com/appwrite/appwrite/issues/new?body=500%20Error). diff --git a/src/routes/docs/advanced/self-hosting/production/+page.markdoc b/src/routes/docs/advanced/self-hosting/production/+page.markdoc index 4de53a9d92..0f9619f0e5 100644 --- a/src/routes/docs/advanced/self-hosting/production/+page.markdoc +++ b/src/routes/docs/advanced/self-hosting/production/+page.markdoc @@ -33,7 +33,7 @@ By default, only the first user can sign up on the Appwrite instance's dashboard Learn more about environment variables {% /arrow_link %} ---- + # Scaling {% #scaling %} Appwrite is built with scalability in mind. Appwrite can scale both horizontally and vertically. @@ -54,7 +54,6 @@ Rate limits are an important mechanism to protect your app. Without rate limits, Learn more about environment variables {% /arrow_link %} ---- # Emails {% #emails %} Sending emails is hard. There are a lot of spam rules and configurations to master in order to set up a functional SMTP server. While it is okay to use a self-hosted SMTP server during development, you should use a third-party SMTP provider for production so your email doesn't get labeled as spam. @@ -88,7 +87,7 @@ In production, it is highly recommended to turn error reporting off. To do so, m Learn more about environment variables {% /arrow_link %} ---- + # Security {% #security %} In addition to the security practices mentioned, it is highly recommended to do regular audits to identify and fix potential security vulnerabilities and performance issues. You can use third-party tools and services that specialize in these areas. These tools can automatically check for vulnerabilities and even offer real-time monitoring. diff --git a/src/routes/docs/advanced/self-hosting/storage/+page.markdoc b/src/routes/docs/advanced/self-hosting/storage/+page.markdoc index 54b0f1df66..675ede7bfd 100644 --- a/src/routes/docs/advanced/self-hosting/storage/+page.markdoc +++ b/src/routes/docs/advanced/self-hosting/storage/+page.markdoc @@ -18,7 +18,7 @@ You can select which storage adapter to use by setting the `_APP_STORAGE_DEVICE` Learn more about storage environment variables {% /arrow_link %} ---- + # Maximum file size {% #adapters %} The maximum size for a single file upload is controlled by the `_APP_STORAGE_LIMIT` environment variable, which defaults to 30 MB. From 597ccacea4fcfef5ce52634d1ae593efbfd7a1c2 Mon Sep 17 00:00:00 2001 From: tglide <26071571+TGlide@users.noreply.github.com> Date: Mon, 18 Dec 2023 11:54:00 +0000 Subject: [PATCH 3/3] remove extra spaces --- src/routes/docs/advanced/self-hosting/production/+page.markdoc | 2 -- src/routes/docs/advanced/self-hosting/storage/+page.markdoc | 1 - 2 files changed, 3 deletions(-) diff --git a/src/routes/docs/advanced/self-hosting/production/+page.markdoc b/src/routes/docs/advanced/self-hosting/production/+page.markdoc index 0f9619f0e5..293db903f1 100644 --- a/src/routes/docs/advanced/self-hosting/production/+page.markdoc +++ b/src/routes/docs/advanced/self-hosting/production/+page.markdoc @@ -33,7 +33,6 @@ By default, only the first user can sign up on the Appwrite instance's dashboard Learn more about environment variables {% /arrow_link %} - # Scaling {% #scaling %} Appwrite is built with scalability in mind. Appwrite can scale both horizontally and vertically. @@ -87,7 +86,6 @@ In production, it is highly recommended to turn error reporting off. To do so, m Learn more about environment variables {% /arrow_link %} - # Security {% #security %} In addition to the security practices mentioned, it is highly recommended to do regular audits to identify and fix potential security vulnerabilities and performance issues. You can use third-party tools and services that specialize in these areas. These tools can automatically check for vulnerabilities and even offer real-time monitoring. diff --git a/src/routes/docs/advanced/self-hosting/storage/+page.markdoc b/src/routes/docs/advanced/self-hosting/storage/+page.markdoc index 675ede7bfd..ee5a269040 100644 --- a/src/routes/docs/advanced/self-hosting/storage/+page.markdoc +++ b/src/routes/docs/advanced/self-hosting/storage/+page.markdoc @@ -18,7 +18,6 @@ You can select which storage adapter to use by setting the `_APP_STORAGE_DEVICE` Learn more about storage environment variables {% /arrow_link %} - # Maximum file size {% #adapters %} The maximum size for a single file upload is controlled by the `_APP_STORAGE_LIMIT` environment variable, which defaults to 30 MB.