Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/SELF-HOSTED.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Each page names the exact settings, quotes where they came from, and states the

## What is not here

Portainer are in the same position and are not covered yet. They are missing because nobody has read their documentation carefully enough to name the settings without guessing, not because they do not fit.
Portainer is in the same position and is not covered yet. It is missing because nobody has read their documentation carefully enough to name the settings without guessing, not because they do not fit.

[Tell us which one you run](https://github.com/msgwing/ZeroSMTP/issues/new/choose) and it moves up the list.

Expand Down
2 changes: 1 addition & 1 deletion docs/llms-full.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ Each page names the exact settings, quotes where they came from, and states the

## What is not here

Portainer are in the same position and are not covered yet. They are missing because nobody has read their documentation carefully enough to name the settings without guessing, not because they do not fit.
Portainer is in the same position and is not covered yet. It is missing because nobody has read their documentation carefully enough to name the settings without guessing, not because they do not fit.

[Tell us which one you run](https://github.com/msgwing/ZeroSMTP/issues/new/choose) and it moves up the list.

Expand Down
23 changes: 18 additions & 5 deletions tools/build-app-pages.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,23 @@ def przecinki(nazwy):
return ", ".join(nazwy[:-1]) + " and " + nazwy[-1]


def zdanie_nieobjete(nieobjete):
"""Zdanie o niepokrytych aplikacjach z czasownikiem odmienionym przez liczbe.

Dla jednego elementu potrzebne jest "is"/"It", nie "are"/"They" -
przecinki() sam zwraca pojedyncza nazwe, ale zdanie wokol niej
zakladalo mnoga liczbe.
"""
nazwy = [n["name"] for n in nieobjete]
byc, zaimek = ("is", "It") if len(nazwy) == 1 else ("are", "They")
return (
f"{przecinki(nazwy)} {byc} in the same position and {byc} not "
f"covered yet. {zaimek} {byc} missing because nobody has read their "
"documentation carefully enough to name the settings without "
"guessing, not because they do not fit."
)


def zbuduj_indeks(wpisy, aktualizacja, nieobjete=()):
w = [
"---",
Expand Down Expand Up @@ -198,11 +215,7 @@ def zbuduj_indeks(wpisy, aktualizacja, nieobjete=()):
"",
"## What is not here",
"",
(przecinki([n["name"] for n in nieobjete]) +
" are in the same position and are not covered yet. They "
"are missing because nobody has read their documentation carefully "
"enough to name the settings without guessing, not because they do "
"not fit.") if nieobjete else
zdanie_nieobjete(nieobjete) if nieobjete else
"Every application measured as a candidate now has a page. Tell us "
"which one you run and it goes on the list.",
"",
Expand Down
Loading