C# Class Raven.Documentation.Parser.Helpers.CodeBlockHelper

Show file Open project: ravendb/docs

Public Methods

Method Description
GenerateCodeBlocks ( string content, string documentationVersion, ParserOptions options ) : string

Private Methods

Method Description
ConvertLanguageToCssClass ( CodeBlockLanguage language ) : object
ConvertLanguageToCssClass ( System.Language language ) : string
ConvertLanguageToDisplayName ( System.Language language ) : string
ExtractSectionFromCsharpFile ( string section, string filePath ) : string
ExtractSectionFromJavaFile ( string section, string filePath ) : string
GenerateCodeBlock ( string languageAsString, string content ) : string
GenerateCodeBlockFromFile ( string languageAsString, string value, string documentationVersion, ParserOptions options ) : string
GenerateCodeTab ( string languageAsString, string content ) : Raven.Documentation.Parser.Data.CodeTab
GenerateCodeTabFromFile ( string languageAsString, string title, string value, string documentationVersion, ParserOptions options ) : Raven.Documentation.Parser.Data.CodeTab
GenerateCodeTabsBlock ( string content, string documentationVersion, ParserOptions options ) : string
GetFirstLineSpaces ( string firstLine ) : string
NormalizeContent ( string content ) : string

Method Details

GenerateCodeBlocks() public static method

public static GenerateCodeBlocks ( string content, string documentationVersion, ParserOptions options ) : string
content string
documentationVersion string
options ParserOptions
return string