public static bool Start(RootDoc root) { System.Console.Out.WriteLine(typeof(IncludePublicAnnotationsStandardDoclet).Name); RootDocProcessor.treatUnannotatedClassesAsPrivate = true; return(Com.Sun.Tools.Doclets.Standard.Standard.Start(RootDocProcessor.Process(root ))); }
private static void PickRemoteData(RootDoc requiredServices) { foreach (var item in requiredServices.items) { if (!item.href.Contains("http")) { item.href = PickUrl + item.href.Replace("..", ""); } var InnerHtml = PickData(item.href); //数据保存 SaveData(new ReqModel() { title = item.toc_title, content = InnerHtml, cover = item.href, }); if (item.children != null && item.children.Any()) { GenerateTreeData(item.children); } if (!string.IsNullOrEmpty(item.tocHref)) { string str = HttpUtil.HttpGetMath(PickUrl + item.tocHref.Replace("..", ""), ""); var jsonData = JsonConvert.DeserializeObject <RootDoc>(str); PickRemoteData(jsonData); } } }
public static bool Start(RootDoc root) { System.Console.Out.WriteLine(typeof(ExcludePrivateAnnotationsStandardDoclet).Name ); return(Com.Sun.Tools.Doclets.Standard.Standard.Start(RootDocProcessor.Process(root ))); }
public static bool Start(RootDoc root) { System.Console.Out.WriteLine(typeof(ExcludePrivateAnnotationsJDiffDoclet).Name); return(JDiff.Start(RootDocProcessor.Process(root))); }
public static RootDoc Process(RootDoc root) { return((RootDoc)Process(root, typeof(RootDoc))); }