Skip to content

Commit

Permalink
Merge pull request loco-rs#502 from AndreiOrmanji/fix-docs
Browse files Browse the repository at this point in the history
docs: typo and formatting mistakes fixes
  • Loading branch information
jondot authored Mar 18, 2024
2 parents 687b9cc + 671e66f commit 956b4f7
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 8 deletions.
6 changes: 1 addition & 5 deletions docs-site/content/docs/features/authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,7 @@ This endpoint is protected by auth middleware.
```sh
curl --location --request GET '127.0.0.1:3000/user/current' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer TOKEN' \
--data-raw '{
"email": "[email protected]",
"password": "new-password"
}'
--header 'Authorization: Bearer TOKEN'
```

### Creating an Authenticated Endpoint
Expand Down
2 changes: 1 addition & 1 deletion docs-site/content/docs/getting-started/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ top = false
flair =[]
+++

Deployment is super simple in Loco, and this is why this guide is super short. Although **most of the time in developemnt you are using `cargo`** when deploying, you use the **binary that was compiled**, there is no need for `cargo` or Rust on the target server.
Deployment is super simple in Loco, and this is why this guide is super short. Although **most of the time in development you are using `cargo`** when deploying, you use the **binary that was compiled**, there is no need for `cargo` or Rust on the target server.

To deploy, build your production binary for your relevant server architecture:

Expand Down
1 change: 1 addition & 0 deletions docs-site/content/docs/help/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ flair =[]

<details>
<summary>How can I automatically reload code?</summary>

Try [cargo watch](https://crates.io/crates/cargo-watch):

```
Expand Down
2 changes: 1 addition & 1 deletion docs-site/content/docs/testing/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ In some cases, you may want to run tests with a clean dataset, ensuring that eac

> ⚠️ Caution: Be cautious when using this feature to avoid unintentional data loss, especially in a production environment.
- When doing it recommended to run all the relevant task in with (serial)[https://crates.io/crates/rstest] crate.
- When doing it recommended to run all the relevant task in with [serial](https://crates.io/crates/rstest) crate.
- To decide which tables you want to truncate, add the entity model to the App hook:

```rust
Expand Down
2 changes: 1 addition & 1 deletion docs-site/content/docs/the-app/mailers.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ This will enqueue a mail delivery job. The action is instant because the deliver

## Mailer Configuration

Configuration for mailers is done in the `config/[stage].toml` file. Here is the default configuration:
Configuration for mailers is done in the `config/[stage].yaml` file. Here is the default configuration:

```yaml
# Mailer Configuration.
Expand Down

0 comments on commit 956b4f7

Please sign in to comment.