Docs: Improve docs, fix doc script
This commit is contained in:
parent
d036350893
commit
124cfad8f8
142 changed files with 9404 additions and 908 deletions
|
@ -1,5 +1,4 @@
|
|||
import TagRenderingConfig from "./TagRenderingConfig"
|
||||
import SharedTagRenderings from "../../Customizations/SharedTagRenderings"
|
||||
import { TagRenderingConfigJson } from "./Json/TagRenderingConfigJson"
|
||||
|
||||
export default class WithContextLoader {
|
||||
|
@ -26,12 +25,6 @@ export default class WithContextLoader {
|
|||
`${translationContext ?? this._context}.${key}.default value`
|
||||
)
|
||||
}
|
||||
if (typeof v === "string") {
|
||||
const shared = SharedTagRenderings.SharedTagRendering.get(v)
|
||||
if (shared) {
|
||||
return shared
|
||||
}
|
||||
}
|
||||
if (Object.keys(v).length === 1 && typeof v["render"] === "string") {
|
||||
throw `At ${
|
||||
translationContext ?? "<unknown>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue