- 
                Notifications
    
You must be signed in to change notification settings  - Fork 13
 
Description
対象ドキュメント
Hi! I met this issue when I was misusing your project, but I believe it also affects ordinary readers of the website. Therefore, I come here to raise an issue.
Sorry I can't understand Japanese…
問題
The typst-docs crate generates links to other pages with hash anchors. For example, $text.top-edge becomes /docs/reference/text/text/#parameters-top-edge, in which #parameters-top-edge locates the top-edge field in that page.
However, website/ in this project sets IDs in another pattern. The top-edge field in Text is actually #text-text-parameters-top-edge, making links to $text.top-edge broken.
Example
In Paragraph – Typstドキュメント日本語版:
where 上端 is https://typst-jp.github.io/docs/reference/text/text/#parameters-top-edge.
https://typst-jp.github.io/docs/reference/text/text/#text-text-parameters-top-edge
改善案
In Text – Typstドキュメント日本語版, change the id from #text-text-parameters-top-edge to #parameters-top-edge.
貢献意思
- (Done) このIssueを解決するPull Requestの作成を自身で希望する場合はチェックしてください。