예제 #1
0
        /// <summary>
        /// Generate the documentation
        /// </summary>
        public void Generate()
        {
            //Debugger.Launch();
            var list = new List<FrameworkDocumentationSet>();
            foreach (var folder in Directory.GetDirectories(frameworksFolder))
            {
                Console.WriteLine("Loading {0}", Path.GetFileName(folder));
                var framework = new FrameworkDocumentationSet(folder);
                framework.LoadAll();
                list.Add(framework);
            }

            Console.WriteLine("Generating docs");
            if (!Directory.Exists(outputFolder))
                Directory.CreateDirectory(outputFolder);
            var frameworks = list.OrderBy(x => x.Version).ToList();
            frameworks.Last().Generate(frameworks, outputFolder);
        }
예제 #2
0
        /// <summary>
        /// Generate the documentation
        /// </summary>
        public void Generate()
        {
            //Debugger.Launch();
            var list = new List <FrameworkDocumentationSet>();

            foreach (var folder in Directory.GetDirectories(frameworksFolder))
            {
                Console.WriteLine("Loading {0}", Path.GetFileName(folder));
                var framework = new FrameworkDocumentationSet(folder);
                framework.LoadAll();
                list.Add(framework);
            }

            Console.WriteLine("Generating docs");
            if (!Directory.Exists(outputFolder))
            {
                Directory.CreateDirectory(outputFolder);
            }
            var frameworks = list.OrderBy(x => x.Version).ToList();

            frameworks.Last().Generate(frameworks, outputFolder);
        }