fix(docs): don't throw exception on the 404 page

Closes #8518