Skip to content

Conversation

@fsubal
Copy link
Member

@fsubal fsubal commented Aug 18, 2022

やったこと

ref: #14 #16 8057f7a
closes: #106

  • docsify のデフォルトの挙動ではトップ( homepage )は README.md だが、「何となく全部 /pages 以下に揃えたほうがわかりやすいかな」と思って pages/index.md に置いていた。
    • この結果、相対パスで参照している images の見に行き方が特殊になり、GitHub Pages ではちゃんと見れるが、GitHub のファイルプレビューでは画像がでない状況になっていた
    • おとなしくデフォルトの挙動に従う
  • (ついで)画像以外にも、下層のページで隣のフォルダから _sidebar.md を取得しようとして 404 になる挙動があるのでそれも直した

動作確認環境

手元で yarn website

チェックリスト

不要なチェック項目は消して構いません

  • 破壊的変更がある場合には、対象のパッケージのメジャーバージョンが上がっていることを確認した
  • 追加したコンポーネントが index.ts から再 export されている

subMaxLevel: 2,
coverpage: '_coverpage.md',
notFoundPage: '_404.md',
homepage: 'pages/index.md',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#106 (comment) の問題はここを消すことによって直る

@toshusai toshusai self-requested a review August 19, 2022 03:37
Copy link
Contributor

@toshusai toshusai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • コード
  • 動作確認

LGTM

@fsubal fsubal merged commit e640f99 into main Aug 19, 2022
@fsubal fsubal deleted the docify-404-fixed branch August 19, 2022 04:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Doc: docs中に表示されていない画像がある

3 participants