Skip to content

Commit eb55821

Browse files
committed
Update 0.16.0 docs from current docs
Signed-off-by: Mihovil Ilakovac <mihovil@ilakovac.com>
1 parent a30e91e commit eb55821

27 files changed

+1577
-913
lines changed

web/versioned_docs/version-0.16.0/advanced/jobs.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ The Job declaration has the following fields:
233233
:::note Job executors
234234
Our jobs need job executors to handle the _scheduling, monitoring, and execution_.
235235

236-
`PgBoss` is currently our only job executor, and is recommended for low-volume production use cases. It requires that your database provider is set to `"postgresql"` in your `schema.prisma` file. Read more about setting the provider [here](../data-model/backends.md#postgresql).
236+
`PgBoss` is currently our only job executor, and is recommended for low-volume production use cases. It requires that your database provider is set to `"postgresql"` in your `schema.prisma` file. Read more about setting the provider [here](../data-model/databases.md#postgresql).
237237
:::
238238

239239
We have selected [pg-boss](https://github.com/timgit/pg-boss/) as our first job executor to handle the low-volume, basic job queue workloads many web applications have. By using PostgreSQL (and [SKIP LOCKED](https://www.2ndquadrant.com/en/blog/what-is-select-skip-locked-for-in-postgresql-9-5/)) as its storage and synchronization mechanism, it allows us to provide many job queue pros without any additional infrastructure or complex management.

web/versioned_docs/version-0.16.0/auth/AuthMethodsGrid.css

-29
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,71 +1,44 @@
1+
import { LinkGrid } from '@site/src/components/LinkGrid'
12
import React from 'react'
2-
import Link from '@docusaurus/Link'
3-
import './AuthMethodsGrid.css'
43

5-
export function AuthMethodsGrid() {
6-
const authMethods = [
7-
{
8-
title: 'Email',
9-
description: 'Email verification, password reset, etc.',
10-
linkToDocs: './email',
11-
},
12-
{
13-
title: 'Username & Password',
14-
description: 'The simplest way to get started',
15-
linkToDocs: './username-and-pass',
16-
},
17-
{
18-
title: 'Google',
19-
description: 'Users sign in with their Google account',
20-
linkToDocs: './social-auth/google',
21-
},
22-
{
23-
title: 'Github',
24-
description: 'Users sign in with their Github account',
25-
linkToDocs: './social-auth/github',
26-
},
27-
{
28-
title: 'Keycloak',
29-
description: 'Users sign in with their Keycloak account',
30-
linkToDocs: './social-auth/keycloak',
31-
},
32-
{
33-
title: 'Discord',
34-
description: 'Users sign in with their Discord account',
35-
linkToDocs: './social-auth/discord',
36-
},
37-
]
38-
return (
39-
<>
40-
<div className="auth-methods-grid">
41-
{authMethods.map((authMethod) => (
42-
<AuthMethodBox
43-
title={authMethod.title}
44-
description={authMethod.description}
45-
linkToDocs={authMethod.linkToDocs}
46-
/>
47-
))}
48-
</div>
49-
<p className="auth-methods-info">
50-
<small>Click on each auth method for more details.</small>
51-
</p>
52-
</>
53-
)
54-
}
4+
const authMethods = [
5+
{
6+
title: 'Email',
7+
description: 'Email verification, password reset, etc.',
8+
linkTo: './email',
9+
},
10+
{
11+
title: 'Username & Password',
12+
description: 'The simplest way to get started',
13+
linkTo: './username-and-pass',
14+
},
15+
{
16+
title: 'Google',
17+
description: 'Users sign in with their Google account',
18+
linkTo: './social-auth/google',
19+
},
20+
{
21+
title: 'Github',
22+
description: 'Users sign in with their Github account',
23+
linkTo: './social-auth/github',
24+
},
25+
{
26+
title: 'Keycloak',
27+
description: 'Users sign in with their Keycloak account',
28+
linkTo: './social-auth/keycloak',
29+
},
30+
{
31+
title: 'Discord',
32+
description: 'Users sign in with their Discord account',
33+
linkTo: './social-auth/discord',
34+
},
35+
]
5536

56-
function AuthMethodBox({
57-
linkToDocs,
58-
title,
59-
description,
60-
}: {
61-
linkToDocs: string
62-
title: string
63-
description: string
64-
}) {
37+
export function AuthMethodsGrid() {
6538
return (
66-
<Link to={linkToDocs} className="auth-method-box">
67-
<h3>{title} »</h3>
68-
<p>{description}</p>
69-
</Link>
39+
<LinkGrid
40+
caption="Click on each auth method for more details."
41+
links={authMethods}
42+
/>
7043
)
7144
}

0 commit comments

Comments
 (0)