anchor.diff:      Files   = ensure_docsrc(App),
       AppName = bname(App),
       log("Building ~s (~p files)~n", [AppName, length(Files)]),
  -    Fun = fun(X, Acc) -> build_files(Conf, Tpl, AppName, X, Acc) end,
  -    lists:foldl(Fun, Index, Files).
  -
  -build_files(Conf, Tpl, AppName, File, Index) ->
  +    Map = fun (F) -> build_file_map(Conf, Tpl, AppName, F) end,
  +    pmapreduce(Map, fun lists:append/2, [], Files) ++ Index.
  +
  +build_file_map(Conf, Tpl, AppName, File) ->
   
       log("  + ~p~n", [bname(File)]),
       {Type, _Attr, Content} = read_xml(Conf, File),
   
       case lists:member(Type, buildable()) of
  -        false -> Index;
  +        false -> [];
           true  ->
   
               Module = bname(File, ".xml"),
  
positive.code: -module(erldocs).
  -export([ copy_static_files/1, build/1 ]).
  -include_lib("kernel/include/file.hrl").
  
  %% @doc Copy static files
  
negative.code:     Opts  = [{fetch_path, [kf(root, Conf) ++ "/priv/dtd/"]},
               {encoding,   "latin1"}],
  
      {Xml, _}  = xmerl_scan:file(XmlFile, Opts),
      xmerl_lib:simplify_element(Xml).
  
  %% Quick and dirty templating functions (replaces #KEY# in html with
  %% {key, "Some text"}
  