docs: enable copy on code blocks

This commit is contained in:
MrTanoshii
2024-10-12 15:30:21 +04:00
parent fbc83af39b
commit 6f280e1a6c
4 changed files with 6 additions and 6 deletions

View File

@@ -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

View File

@@ -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=
</Callout>
```env filename=".env"
```env filename=".env" copy
# NextAuth Configuration
NEXTAUTH_SECRET={generated_secret}
NEXTAUTH_URL=http://localhost:3000/

View File

@@ -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
```

View File

@@ -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/