docs: Docusaurusが出力したHTMLからGitHubに飛べない
KisaragiEffective opened this issue · 0 comments
KisaragiEffective commented
例えば https://modular-avatar.nadena.dev/ja/docs/reference/scale-adjuster から[Edit this page]でGitHubに飛んできた場合、https://github.com/bdunderscore/modular-avatar/tree/main/docs/docs/reference/scale-adjuster.md
に飛びます。
しかし、これは2つの問題によってうまく機能しません:
- ドキュメントのルートディレクトリは
docs~
- 翻訳されたドキュメントは
docs~/docs
がルートではなく、docs~/i18n/{lang}/docusaurus-plugin-content-docs/current
なのでいい感じに考慮する必要がある