-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Labels
bugSomething isn't workingSomething isn't workingtranslationTranslation additions or improvementsTranslation additions or improvements
Description
対象ドキュメント
#show outline.entry: it => link(
it.element.location(),
it.indented(it.prefix(), it.inner()),
)entry is a definition under the outline scope, and it also has a few definitions (typst.app/docs), namely, outline.entry.{indented,prefix,inner}.
問題
However, definitions under outline.entry are missing in typst-jp. The last paragraph on this page is the fill parameter of outline.entry.
As shown below, our templates only handle a single level of scope, and ignore definitions in definition.
$ cd website/src
$ rg scope
utils/isPageOfKind.test.ts
51: scope: [],
121: scope: [],
183: scope: [],
227: scope: [],
types/model.ts
81: scope: Func[];
122: scope: Func[];
components/templates/TypeTemplate.tsx
53: {content.scope.length > 0 && (
60: {content.scope.map((method, index) => (
components/templates/FuncTemplate.tsx
73: {content.scope.length > 0 && (
80: {content.scope.map((method, index) => (改善案
Considering that this page have not been translated, and the official typst-docs also has a bug about it, I suggest doing nothing for the time being and dealing with it later.
typst/typst#6135
Update: The bug in typst-docs has been fixed in typst/typst#6684.
貢献意思
- このIssueを解決するPull Requestの作成を自身で希望する場合はチェックしてください。
3w36zj6
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingtranslationTranslation additions or improvementsTranslation additions or improvements

