Fix sidebar: flatten wrapper nodes before grouping, copy sidebar.json to _site
The sidebar JS now flattens single-child wrapper nodes (e.g. "OCaml package
documentation" > "reference") before applying package grouping, so it works
correctly with both 2-level and 3-level sidebar structures. Also copies
sidebar.json to _site/ in the deploy script, and removes unused
groupSidebarData function.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>