code: function (baseUrl) {
      var fullUrl = url.parse(String(baseUrl || '/'));
      fullUrl.pathname = normalizePath(this.path, fullUrl.pathname);
      fullUrl = url.format(fullUrl);
  
      var routes = {};
      Object.keys(this.children).forEach(function (child) {
        routes[child.replace(/^\//, '')] = nodepath.join(fullUrl, child);
      });
      return routes;
    }
docs: Build index routes.