nav: refactor util/sidebar.js? #894
Labels
type: enhancement
Something is not clear, small updates, improvement suggestions
website: eng-doc
DEPRECATED JS engine for /doc
I find it too complicated for the following reasons:
a) transform sidebar.json into a different format (used at server load time), and
b) provide helpers to find sidebar items in different situations (mainly for run-time).
Each of these purposes could have its own separate module, and I have the impression they could be implemented in a more simple, obvious way.
Furthermore, the very need for this module is questionable, per #888.
Related issues that could be resolved/eliminated by fully addressing this:
Among others?
The text was updated successfully, but these errors were encountered: