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 doc = new XmlDocument ();
26 doc.LoadXml (RenderUrl (id, rawGenerator));
30 [Obsolete ("Use the RenderUrl variant accepting a generator")]
31 public string RenderUrl (string url, out Node n)
33 return RenderUrl (url, htmlGenerator, out n);
36 [Obsolete ("Use GenerateIndex")]
37 public static void MakeIndex (RootTree root)
39 root.GenerateIndex ();
42 [Obsolete ("Use GenerateSearchIndex")]
43 public static void MakeSearchIndex (RootTree root)
45 root.GenerateSearchIndex ();