Enforce version protection for static docs

Previously, it was possible to access static documentation files for any version. This merge replaces direct access to static documentation files with a special page that does permission checks.