Closed alexjbest closed 1 year ago
The hiding instances if they are empty part does sound useful, the instance stuff is dynamically rendered in the JS so it should be a change there if you want to make it.
Yeah Ok, its good to know you think its doable client side, I wasn't sure. I might have a try at making that change sometime then, but probably won't get around to that this week.
Some defs such as Lean.RBTree have instances, this PR adds the "Instances For" dropdown for defs also so we can see them in docs: e.g. in this case this displays as
The downside of this PR is that many defs don't have instances for them, perhaps hiding the instances for dropdown if the list is empty somehow would be better long term