示例#1
0
        public DocumentationParser(ParserOptions options, IProvideGitFileInformation repoAnalyzer)
        {
            _options = options;

            var parser = new Markdown
                             {
                                 AutoHeadingIDs = true,
                                 ExtraMode = true,
                                 NoFollowLinks = false,
                                 SafeMode = false,
                                 HtmlClassTitledImages = "figure text-center",
                                 UrlRootLocation = options.RootUrl
                             };

            var documentCompiler = new DocumentCompiler(parser, options, repoAnalyzer);
            _directoryCompiler = new DirectoryCompiler(documentCompiler, options);
        }
示例#2
0
        public DocumentationParser(ParserOptions options, IProvideGitFileInformation repoAnalyzer)
        {
            _options = options;

            var parser = new Markdown
            {
                AutoHeadingIDs        = true,
                ExtraMode             = true,
                NoFollowLinks         = false,
                SafeMode              = false,
                HtmlClassTitledImages = "figure text-center",
                UrlRootLocation       = options.RootUrl
            };

            var documentCompiler = new DocumentCompiler(parser, options, repoAnalyzer);

            _directoryCompiler = new DirectoryCompiler(documentCompiler, options);
        }