docs: fix typos (#1665)

* docs: fix typos

* typos: fix typos found by `codespell` across the codebase

* docs: fix `macOS` spelling

* docs: fix `authentification` terminology

"Authentification" is not a thing.

* docs: fix `localhost` typo in example link

* typos: fix in-code typos

These are potentially higher risk, but no other mentions of these typos
show up in the codebase.
This commit is contained in:
Ben Boeckel
2022-09-25 23:17:27 +00:00
committed by GitHub
parent 33dad80eff
commit 2e6b877ba9
46 changed files with 66 additions and 66 deletions

View File

@@ -8,7 +8,7 @@ Recipes can be imported in bulk from a file containing a list of URLs. This can
```bash
#!/bin/bash
function authentification () {
function authentication () {
auth=$(curl -X 'POST' \
"$3/api/auth/token" \
-H 'accept: application/json' \
@@ -38,7 +38,7 @@ password="MyPassword"
mealie_url=http://localhost:9000
token=$(authentification $mail $password $mealie_url)
token=$(authentication $mail $password $mealie_url)
import_from_file $input $token $mealie_url
```
@@ -51,7 +51,7 @@ See <a href="https://github.com/Jleagle/mealie-importer" target="_blank">Jleagle
import requests
import re
def authentification(mail, password, mealie_url):
def authentication(mail, password, mealie_url):
headers = {
'accept': 'application/json',
'Content-Type': 'application/x-www-form-urlencoded',
@@ -90,7 +90,7 @@ password="MyPassword"
mealie_url="http://localhost:9000"
token = authentification(mail, password, mealie_url)
token = authentication(mail, password, mealie_url)
import_from_file(input_file, token, mealie_url)
```