Open
Description
I recently discovered this in #138574, when I fixed the bug for the main page, but the erroneous items were still in the sidebar.
If we simply collected a list of sidebar items during rendering of the main page, almost the entirety of sidebar.rs
could be removed. This could even be done incrementally, with each sidebar_*
function being replaced with a field on Context
.