Internally (same code), it probably shouldn't be documented. Most of the people should be smart enough to navigate and learn the features backwards from it. If they can't, AI is already smart enough to help.
The cost of keeping docs up to date is higher than navigating it, and as IDEs, paradigms, and AI improves, the cost of understanding code goes down. This also forces people to write cleaner code.
The more docs you have, the harder it is to read it! So minimalism helps.
Some say we should document APIs at least, but even as front end, we figure out what the API does by reading the code. It's easier to read and search the json file with the APIs than Swagger.
However, one thing you should document is common mistakes. Why is it crashing on prod build but not dev? (A: minification) Why does this link not work on chrome (A: chrome isn't supported).
These are the things that work as intended, so you can't just make a ticket and fix the build.
And as others have said, tests are the best kind of doc.