From 6f280e1a6c2f59e43538f95cb7c6cd4d0a821448 Mon Sep 17 00:00:00 2001 From: MrTanoshii <47116127+MrTanoshii@users.noreply.github.com> Date: Sat, 12 Oct 2024 15:30:21 +0400 Subject: [PATCH] docs: enable copy on code blocks --- pages/self-hosting/configuration.mdx | 2 +- pages/self-hosting/hosting-guide.mdx | 2 +- pages/self-hosting/organization-hosting-modes.mdx | 4 ++-- pages/setup-dev-environment.mdx | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pages/self-hosting/configuration.mdx b/pages/self-hosting/configuration.mdx index f637ffe..4c28675 100644 --- a/pages/self-hosting/configuration.mdx +++ b/pages/self-hosting/configuration.mdx @@ -155,7 +155,7 @@ Copy this string into your .env file as NEXTAUTH_SECRET. Here is an example of the `.env` file : -```env filename="apps/web/.env" {1-2} +```env filename="apps/web/.env" {1-2} copy # Learnhouse configuration NEXT_PUBLIC_LEARNHOUSE_MULTI_ORG=false NEXT_PUBLIC_LEARNHOUSE_DEFAULT_ORG=defaultorg diff --git a/pages/self-hosting/hosting-guide.mdx b/pages/self-hosting/hosting-guide.mdx index 4ddf81f..7936654 100644 --- a/pages/self-hosting/hosting-guide.mdx +++ b/pages/self-hosting/hosting-guide.mdx @@ -50,7 +50,7 @@ To create one, either run `npx auth secret`, or on UNIX based systems (MacOS/Lin Copy this string into your .env file as NEXTAUTH_SECRET= -```env filename=".env" +```env filename=".env" copy # NextAuth Configuration NEXTAUTH_SECRET={generated_secret} NEXTAUTH_URL=http://localhost:3000/ diff --git a/pages/self-hosting/organization-hosting-modes.mdx b/pages/self-hosting/organization-hosting-modes.mdx index dab8706..ca1e81d 100644 --- a/pages/self-hosting/organization-hosting-modes.mdx +++ b/pages/self-hosting/organization-hosting-modes.mdx @@ -20,7 +20,7 @@ When using a Single Organization Setup you should refer your Organization's `slu ### Frontend Config -```bash filename="apps/web/.env" {1-2} +```bash filename="apps/web/.env" {1-2} copy NEXT_PUBLIC_LEARNHOUSE_MULTI_ORG=false NEXT_PUBLIC_LEARNHOUSE_DEFAULT_ORG=defaultorg ``` @@ -31,6 +31,6 @@ NEXT_PUBLIC_LEARNHOUSE_DEFAULT_ORG=defaultorg ### Frontend Config -```bash filename="apps/web/.env" {1-2} +```bash filename="apps/web/.env" {1-2} copy NEXT_PUBLIC_LEARNHOUSE_MULTI_ORG=true ``` diff --git a/pages/setup-dev-environment.mdx b/pages/setup-dev-environment.mdx index 5113277..3b844e1 100644 --- a/pages/setup-dev-environment.mdx +++ b/pages/setup-dev-environment.mdx @@ -98,7 +98,7 @@ pnpm i Add an .env file in the front folder with the following content -```env filename="apps/web/.env" {1-2} +```env filename="apps/web/.env" {1-2} copy NEXT_PUBLIC_LEARNHOUSE_MULTI_ORG=false NEXT_PUBLIC_LEARNHOUSE_DEFAULT_ORG=test NEXT_PUBLIC_LEARNHOUSE_API_URL=http://localhost:1338/api/v1/ @@ -122,7 +122,7 @@ pnpm run dev Copy this content to the .env file in the web folder -```env filename="apps/web/.env" {2} +```env filename="apps/web/.env" {2} copy NEXT_PUBLIC_LEARNHOUSE_MULTI_ORG=false NEXT_PUBLIC_LEARNHOUSE_DEFAULT_ORG=default NEXT_PUBLIC_LEARNHOUSE_API_URL=http://localhost:1338/api/v1/