<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
As I've noticed on a [discord
conversation](https://discord.com/channels/431917998102675485/684159753189982218/1152776938281250896),
the `load(on:)` method is discouraged to be used and should be replaced
with `get(on:)`, which defaults to cache if possible.
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
The code as is has a syntax error.
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
<!-- 🚀 Thank you for contributing! -->
🚀
<!-- Describe your changes clearly and use examples if possible. -->
I added polish translation for docs/leaf/getting-started.
<!-- When this PR is merged, the title and body will be -->
I don't know right now, I leave it up to you :)
<!-- used to generate a release automatically. -->
Co-authored-by: Szymon Matynia <31554149+eterxoz@users.noreply.github.com>
Updated highlightjs to 11.9.0 to include new leaf grammar. Also slimmed
it down to only include grammars likely to appear in the documentation
(html, css, json, etc). Close#637
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
Adds the correct and finished German translation for the
authentication.md file. Also fixes the index.de.md translation!
This is the complete and improved version of #827
---------
Co-authored-by: Paul Toffoloni <69189821+ptoffy@users.noreply.github.com>
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Co-authored-by: Mattes Mohr <mail@mattesmohr.de>
<!-- Describe your changes clearly and use examples if possible. -->
Add a section about Custom Validators, and a sample to create a custom
validator for zip codes. The sample is from a code that @0xTim had been
provided in an issue.
<!-- When this PR is merged, the title and body will be -->
Add 'How to create custom validators' to docs.
<!-- used to generate a release automatically. -->
---------
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Any place we say to install Swift on Linux (deploy docs, getting started
etc) should use
[Swiftly](https://github.com/swift-server/swiftly/tree/main) instead of
directing people to download them from the install pages
- Fixed some navigation components in `mkdocs.yml`.
- Minor fixes in the `getting-started` and `install` folders, as well as
in `index.it.md` and `upgrading.it.md`.
- Added `contributing.it.md`, `legacy-docs.it.md`, `release-notes.it.md`
and the `redis` folder.
- Added two out of the three `leaf` folder files:
`getting-started.it.md` and `custom-tags.it.md`.
---------
Co-authored-by: Paul Toffoloni <69189821+ptoffy@users.noreply.github.com>
I've seen this asked more than once
---------
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Co-authored-by: Gwynne Raskind <gwynne@vapor.codes>
The example we use for `ModelAuthenticatable` is a `User` identified by
an email address. Email addresses are case-insensitive, while the
`ModelAuthenticatable` that ships with `Fluent` is case sensitive. This
means that an application that follows the example naively would
consider `SomeUser@example.com` and `someuser@example.com` to be two
different users. This is easily addressed with model middleware that
converts the email address to lowercase before saving a `User`, but that
example is elsewhere in the documentation.
This change simply calls out this possibility in a tip section and links
to the model middleware section of the docs.
This is my own attempt to close#394 with a full request page. May
supersede #859 if we want a more in depth section.
---------
Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org>
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>