code: function(req, res, next) {
          req.url = _.replace(req.url, /^\/docsearch/, ''); // eslint-disable-line no-param-reassign
          next();
        }
docs: Redirect subdirectory to the root (mimicking GitHub pages)