5 using System.Diagnostics;
6 using System.Collections.Generic;
9 using Lucene.Net.Index;
17 public partial class RootTree
19 static IDocGenerator<string> rawGenerator = new RawGenerator ();
20 static HtmlGenerator htmlGenerator = new HtmlGenerator (null);
22 [Obsolete ("Use RawGenerator directly")]
23 public XmlDocument GetHelpXml (string id)
25 var rendered = RenderUrl (id, rawGenerator);
28 var doc = new XmlDocument ();
29 doc.LoadXml (RenderUrl (id, rawGenerator));
33 [Obsolete ("Use the RenderUrl variant accepting a generator")]
34 public string RenderUrl (string url, out Node n)
36 return RenderUrl (url, htmlGenerator, out n);
39 [Obsolete ("Use GenerateIndex")]
40 public static void MakeIndex (RootTree root)
42 root.GenerateIndex ();
45 [Obsolete ("Use GenerateSearchIndex")]
46 public static void MakeSearchIndex (RootTree root)
48 root.GenerateSearchIndex ();