build/doctool.js
function loadIncludes(data, current_file) {
  return data.replace(includeExpr, function(src, name, ext) {
    try {
      var include_path =
          path.join(current_file, "../", name+"."+(ext || "markdown"))
      return loadIncludes(fs.readFileSync(include_path, "utf8"), current_file);
    } catch(e) {
      return "";
    }
  });
}
function loadIncludes(data, current_file) {
  return data.replace(includeExpr, function(src, name, ext) {
    try {
      var include_path =
          path.join(current_file, "../", name+"."+(ext || "markdown"))
      return loadIncludes(fs.readFileSync(include_path, "utf8"), current_file);
    } catch(e) {
      return "";
    }
  });
}
function loadIncludes ( data , current_file ) { return data . replace ( includeExpr , function ( src , name , ext ) { try { var include_path = path . join ( current_file , "../" , name + "." + ( ext || "markdown" ) ) return loadIncludes ( fs . readFileSync ( include_path , "utf8" ) , current_file ) ; } catch ( e ) { return "" ; } } ) ; }
Allow including other pages in the data.
Allow including other pages in the data .