Skip to content

Commit

Permalink
Merge pull request #616 from lean-ja/Seasawher/issue578
Browse files Browse the repository at this point in the history
検索で見出し語が一番上に出てこないことがある
  • Loading branch information
Seasawher authored Aug 12, 2024
2 parents 94f8dc3 + 703576a commit 722d7c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"mhutchie.git-graph",
"Tyriar.sort-lines",
"yzhang.markdown-all-in-one",
"PKief.material-icon-theme"
"PKief.material-icon-theme",
"juggernautjp.less-toml"
]
}
},
Expand Down
4 changes: 4 additions & 0 deletions book.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ edit-url-template = "https://raw.githubusercontent.com/lean-ja/lean-by-example/m
# 404 ページが正常にはたらくようにするために必要
site-url = "https://lean-ja.github.io/lean-by-example/"

[output.html.search]
# 検索したときに、クエリと見出し語が一致していれば見出し語のページがトップに出てくるようにする
boost-title = 25

[output.html.fold]
enable = true
level = 2
Expand Down

0 comments on commit 722d7c0

Please sign in to comment.