Esempio n. 1
0
        void ProcessPages()
        {
            _pageModel         = new PageModel();
            _razorProcessor    = new RazorProcessor(_context);
            _markdownProcessor = new MarkdownProcessor(_context);
            _markdownProcessor.StartScan();

            Console.WriteLine("Scanning");
            string root = _context.ProjectDir;

            Walk(root, _siteDirName, root, _htmlDirName, false, 0);

            _pageModel = new PageModel(_context);
            _markdownProcessor.StartBuild();

            _pluginManager.PreBuild(_pageModel);

            Console.WriteLine("Building");
            Walk(root, _siteDirName, root, _htmlDirName, true, 0);

            _pluginManager.PostBuild(_pageModel);
        }
Esempio n. 2
0
        void ProcessPages()
        {
            _pageModel = new PageModel();
            _razorProcessor = new RazorProcessor(_context);
            _markdownProcessor = new MarkdownProcessor(_context);
            _markdownProcessor.StartScan();

            Console.WriteLine("Scanning");
            string root = _context.ProjectDir;
            Walk(root, _siteDirName, root, _htmlDirName, false, 0);

            _pageModel = new PageModel(_context);
            _markdownProcessor.StartBuild();

            _pluginManager.PreBuild(_pageModel);

            Console.WriteLine("Building");
            Walk(root, _siteDirName, root, _htmlDirName, true, 0);

            _pluginManager.PostBuild(_pageModel);
        }