Skip to content

Commit a6af642

Browse files
committed
Update documentation
1 parent bf93768 commit a6af642

File tree

4 files changed

+20
-9
lines changed

4 files changed

+20
-9
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ See [next-auth.js.org](https://next-auth.js.org) for more information and docume
1717
### Flexible and easy to use
1818

1919
* Designed to work with any OAuth service, it supports OAuth 1.0, 1.0A and 2.0
20-
* Built-in support for [many popular sign-in services](/configuration/providers)
20+
* Built-in support for [many popular sign-in services](https://next-auth.js.org/configuration/providers)
2121
* Supports email / passwordless authentication
2222
* Supports stateless authentication with any backend (Active Directory, LDAP, etc)
2323
* Supports both JSON Web Tokens and database sessions
@@ -29,11 +29,11 @@ NextAuth.js can be used with or without a database.
2929

3030
* An open source solution that allows you to keep control of your data
3131
* Supports Bring Your Own Database (BYOD) and can be used with any database
32-
* Built-in support for [MySQL, MariaDB, Postgres, MongoDB and SQLite](/configuration/databases)
32+
* Built-in support for [MySQL, MariaDB, Postgres, MongoDB and SQLite](https://next-auth.js.org/configuration/databases)
3333
* Works great with databases from popular hosting providers
3434
* Can also be used *without a database* (e.g. OAuth + JWT)
3535

36-
### Secure
36+
### Secure by default
3737

3838
* Promotes the use of passwordless sign in mechanisms
3939
* Designed to be secure by default and encourage best practice for safeguarding user data

www/docs/getting-started/introduction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ NextAuth.js can be used with or without a database.
3232

3333
*Note: Email sign in requires a database to be configured to store single-use verification tokens.*
3434

35-
### Secure
35+
### Secure by default
3636

3737
* Promotes the use of passwordless sign in mechanisms
3838
* Designed to be secure by default and encourage best practice for safeguarding user data

www/docs/tutorials/testing-with-cypress.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ title: Testing with Cypress
55

66
To test an implementation of NextAuth.js, we encourage you to use [Cypress](https://cypress.io).
77

8-
## Setup
8+
## Setting up Crypress
99

1010
To get started, install the dependencies:
1111

@@ -63,7 +63,7 @@ Finally, you can also add the following npm scripts to your `package.json`:
6363
```
6464

6565

66-
## Testing
66+
## Writing a test
6767

6868
Once we've got all that configuration out of the way, we can begin writing tests to login using NextAuth.js.
6969

www/src/css/custom.css

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,24 +105,35 @@ html[data-theme='dark'] .main-wrapper h1 {
105105
border-radius: 2rem;
106106
}
107107

108+
/* Targets Table of Contents (right hand side sidebar) */
108109
.contents {
109110
font-size: 1rem;
110111
margin: 0 !important;
111112
padding: 0 !important;
112113
border: none !important;
113114
}
114115

116+
.contents > li > a {
117+
font-weight: 700;
118+
}
119+
115120
.contents > li:first-child {
116121
margin-top: 0;
117122
padding-top: 0;
118123
}
119124

120125
.contents li {
126+
margin-left: 0rem;
127+
padding-left: 0rem;
128+
}
129+
130+
.contents li > ul {
121131
margin-left: .5rem;
122132
}
123133

124-
.contents li > ul li {
125-
margin-left: 0rem;
134+
.contents li > ul li > a{
135+
font-weight: 500;
136+
font-size: 0.95rem;
126137
}
127138

128139
.navbar {
@@ -314,7 +325,7 @@ html[data-theme='dark'] .button.button--secondary.button--sm.menu__button {
314325
*/
315326
}
316327

317-
/* Targets docs sidebar (shown on left hand side) */
328+
/* Targets docs sidebar (left hand side) */
318329
.main-wrapper > div > div {
319330
border-right: none !important;
320331
background-color: rgb(255,255,255);

0 commit comments

Comments
 (0)