404 pages now handled properly in docs both locally and when served from remote