fn(language$0, names$1) =>
@html-ui.page(
language: $0,
title: @html-ui.text(language: $0, en: "Docs", ja: "ドキュメント", eo: "Dokumentoj"),
body: [
@html.element(
name: "h1",
attributes: [],
children: [
@html.text(text: @html-ui.text(language: $0, en: "Docs", ja: "ドキュメント", eo: "Dokumentoj"))
]
),
@html.element(
name: "p",
attributes: [],
children: [
@html.text(
text: @html-ui.text(
language: $0,
en: "The design notes and know-how of definy (the module docs of the project docs, in Japanese)",
ja: "definy の設計とノウハウ (プロジェクト docs のモジュール docs)",
eo: "La dezajnaj notoj kaj scioj de definy (la modulo docs de la projekto docs, japane)"
)
)
]
),
@html.element(
name: "ul",
attributes: [],
children: @core.list-map(
T: Record{id: String, name: String},
U: @html.node,
f: fn(item$2) =>
let short$3 = @core.string-slice(value: $2.name, start: 5, end: @core.string-length(value: $2.name));
@html.element(
name: "li",
attributes: [],
children: [
@html.element(
name: "a",
attributes: [{name: "href", value: @core.string-concat(left: "/docs/", right: $3)}],
children: [@html.text(text: $3)]
)
]
),
xs: $1
)
)
]
)