<!-- 🚀 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. -->
---------
Co-authored-by: Zsolt Váradi <1783465+vzsg@users.noreply.github.com>
### Line break for options:
Added a visual line break to separate the header "Some text options:"
from the list items. This ensures proper Markdown rendering and improves
readability.
---
### Before:
Some text options:
- Example 1
- Example 2
**Rendered as:**
Some text options: - Example 1 - Example 2
---
### After:
Some text options:
(line break added)
- Example 1
- Example 2
**Rendered as:**
Some text options:
- Example 1
- Example 2
---
### Consistent visual rendering across other Markdown elements:
This change introduces a similar visual line break strategy for
informational blocks.
These adjustments ensure uniformity, improve Markdown rendering, and
maintain a cleaner visual structure across various platforms.
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
Add EventLoopFuture.get() description:
try await EventLoopFuture.get()
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
---------
Co-authored-by: Przemysław Wrzesiński <p.wrzesinski@vatio.eu>
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
* Added a small brief of the asyncDriver to allow people know you can
use that for testing
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
---------
Co-authored-by: Gwynne Raskind <gwynne@darkrainfall.org>
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
I translated the "Fluent > Overview" page into Japanese.
<!-- When this PR is merged, the title and body will be -->
<!-- used to generate a release automatically. -->
translation of the whole document
<!-- 🚀 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. -->
---------
Co-authored-by: Tim Condon <0xTim@users.noreply.github.com>
Co-authored-by: Paul Toffoloni <69189821+ptoffy@users.noreply.github.com>
<!-- 🚀 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. -->
---------
Co-authored-by: Paul Toffoloni <69189821+ptoffy@users.noreply.github.com>
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
Update Leaf docs to accept time zone IDs as argument in `#date` tag
<!-- 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. -->
supervisord uses the Python string expression syntax in its
configuration files, like this `%(ENV_X)s `
It's described here:
http://supervisord.org/configuration.html#environment-variables
In the "Deploy->Supervisor->Configure" section of the documentation the
final "s" were omitted:
https://docs.vapor.codes/deploy/supervisor/#configure
so copy-pasting this example was leading to wrong file names of the
logs.
For example, instead of the expected file name `hello-stdout.log` I had
the wrong `hellotdout.log`.
<!-- 🚀 Thank you for contributing! -->
<!-- Describe your changes clearly and use examples if possible. -->
Added spanish translation for advanced/middleware.md file
<!-- When this PR is merged, the title and body will be -->
Spanish translation for advanced/middleware.es.md
<!-- 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. -->
<!-- 🚀 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. -->
As in title
<!-- 🚀 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>
issue included are:
#861#836#818#812
Some issues have been fully translated as well:
closes#791closes#788closes#811
---------
Co-authored-by: Joannis Orlandos <joannis@orlandos.nl>