Docs: Ensure navigation links are properly selected. (#22057)
Docs: Ensure navigation links are properly selected. (#22057)

* Docs: Ensure navigation links are properly selected.

* Docs: Simplify code.
aardgoose/three.js,gero3/three.js,aardgoose/three.js,WestLangley/three.js,fyoudine/three.js,looeee/three.js,jpweeks/three.js,greggman/three.js,fyoudine/three.js,jpweeks/three.js,looeee/three.js,WestLangley/three.js,gero3/three.js,06wj/three.js,makc/three.js.fork,greggman/three.js,mrdoob/three.js,Liuer/three.js,06wj/three.js,Liuer/three.js,mrdoob/three.js,makc/three.js.fork,donmccurdy/three.js,donmccurdy/three.js