UNPKG

eslint-plugin-json-schema-validator

Version:
1 lines 8.22 kB
{"$schema":"http://json-schema.org/draft-07/schema","title":"Jekyll Static Site Generator config file schema","definitions":{"string-array":{"type":"array","items":{"type":"string"}},"front-matter-default":{"type":"object","title":"Front Matter Default","properties":{"scope":{"$ref":"#/definitions/scope"},"values":{"$ref":"#/definitions/values"}}},"scope":{"type":"object","required":["path"],"additionalProperties":false,"properties":{"path":{"type":"string","title":"File path for this scope"},"type":{"anyOf":[{"type":"string","enum":["pages","posts","drafts"]},{"type":"string","minLength":1}]}}},"values":{"type":"object","title":"Front Matter Default Values","properties":{"layout":{"type":"string","title":"The layout to use."},"output":{"type":"boolean"},"permalink":{"$ref":"#/definitions/permalink"}}},"permalink":{"type":"string","title":"Permalink Format","default":"date","examples":["date","pretty","ordinal","weekdate","none","/:categories/:year/:month/:day/:title:output_ext"]},"sequence-collection":{"$ref":"#/definitions/string-array"},"mapped-collection":{"type":"object","properties":{"output":{"type":"boolean","title":"Let Jekyll render the collection output"},"permalink":{"$ref":"#/definitions/permalink"},"sort_by":{"type":"string","title":"Sort documents by front matter key"},"order":{"$ref":"#/definitions/string-array","title":"Manually order documents as listed"}}},"collections":{"oneOf":[{"$ref":"#/definitions/sequence-collection"},{"$ref":"#/definitions/mapped-collection"}]}},"properties":{"source":{"type":"string","title":"Site Source","default":"."},"destination":{"type":"string","title":"Site Destination","default":"./_site"},"safe":{"type":"boolean","default":false,"title":"Safe"},"exclude":{"$ref":"#/definitions/string-array","title":"Exclude"},"include":{"$ref":"#/definitions/string-array","title":"Include"},"keep_files":{"$ref":"#/definitions/string-array","title":"Keep files"},"timezone":{"type":"string","title":"Time Zone"},"encoding":{"type":"string","title":"Encoding","default":"utf-8"},"defaults":{"type":"array","title":"Front Matter Defaults","items":{"$ref":"#/definitions/front-matter-default"}},"show_drafts":{"type":"boolean","title":"Drafts","default":false},"future":{"type":"boolean","title":"Future","default":false},"unpublished":{"type":"boolean","title":"Unpublished"},"lsi":{"type":"boolean","title":"LSI"},"limit_posts":{"type":"integer","title":"Limit Posts"},"incremental":{"type":"boolean","title":"Incremental build"},"profile":{"type":"boolean","title":"Liquid profiler"},"strict_front_matter":{"type":"boolean","title":"Strict Front Matter"},"port":{"type":"integer","title":"Local Server Port"},"host":{"type":"string","title":"Local Server Hostname"},"baseurl":{"type":"string","title":"Base URL"},"livereload":{"type":"boolean","title":"Live Reload","default":false},"detach":{"type":"boolean","title":"Detach"},"collections":{"$ref":"#/definitions/collections"},"collections_dir":{"type":"string","title":"Collections Dir","default":"."},"plugins_dir":{"type":"string","title":"Plugin Directory","default":"_plugins"},"layouts_dir":{"type":"string","title":"Layouts Directory","default":"_layouts"},"data_dir":{"type":"string","title":"Data Directory","default":"_data"},"includes_dir":{"type":"string","title":"Includes Directory","default":"_includes"},"markdown_ext":{"type":"string","title":"Markdown Extensions","default":"markdown,mkdown,mkdn,mkd,md"},"whitelist":{"$ref":"#/definitions/string-array","title":"Plugin Whitelist"},"plugins":{"$ref":"#/definitions/string-array","title":"List of plugins to use"},"markdown":{"type":"string","title":"Markdown Processor","default":"kramdown"},"highlighter":{"type":"string","title":"Syntax Highlighter","default":"rouge"},"excerpt_separator":{"type":"string","title":"Posts excerpt separator","default":"\n\n"},"show_dir_listing":{"type":"boolean","title":"Allow directory listing","default":false},"permalink":{"$ref":"#/definitions/permalink"},"paginate_path":{"default":"/page:num"},"quiet":{"type":"boolean","default":false},"verbose":{"type":"boolean","default":false},"liquid":{"oneOf":[{"type":"object","additionalProperties":false,"required":["error_mode"],"properties":{"error_mode":{"type":"string","enum":["lax","warn","strict"],"default":"warn"}}},{"type":"object","additionalProperties":false,"properties":{"strict_filters":{"type":"boolean","title":"Strict Filters","default":false},"strict_variables":{"type":"boolean","title":"Strict Variables","default":false}}}]},"rdiscount":{"type":"object","properties":{"extensions":{"$ref":"#/definitions/string-array"}}},"redcarpet":{"type":"object","properties":{"extensions":{"$ref":"#/definitions/string-array"}}},"kramdown":{"type":"object","properties":{"auto_id_prefix":{"type":"string","title":"Prefix used for automatically generated header IDs","default":""},"auto_id_stripping":{"type":"boolean","title":"Strip all formatting from header text for automatic ID generation","default":false},"auto_ids":{"type":"boolean","title":"Use automatic header ID generation","default":true},"coderay_bold_every":{"type":"integer","title":"Defines how often a line number should be made bold"},"coderay_css":{"type":"string","title":"Defines how the highlighted code gets styled"},"coderay_default_lang":{"type":"string","title":"Sets the default language for highlighting code blocks"},"coderay_line_number_start":{"type":"integer","title":"The start value for the line numbers"},"coderay_line_numbers":{"type":"string","title":"Defines how and if line numbers should be shown"},"coderay_tab_width":{"type":"integer","title":"The tab width used in highlighted code"},"coderay_wrap":{"type":"string","title":"Defines how the highlighted code should be wrapped"},"enable_coderay":{"type":"boolean","title":"Use coderay for syntax highlighting"},"entity_output":{"type":"string","title":"Defines how entities are output","enum":["as_char","as_input","numeric","symbolic"],"default":"as_char"},"footnote_backlink":{"type":"string","title":"Defines the text that should be used for the footnote backlinks","default":"↩"},"footnote_backlink_inline":{"type":"boolean","title":"Specifies whether the footnote backlink should always be inline","default":false},"footnote_nr":{"type":"integer","title":"The number of the first footnote","default":1},"gfm_quirks":{"type":"boolean","title":"Enables a set of GFM specific quirks"},"hard_wrap":{"type":"boolean","default":false},"header_offset":{"type":"integer","title":"Sets the output offset for headers","default":0},"html_to_native":{"type":"boolean","title":"Convert HTML elements to native elements","default":false},"input":{"type":"string","default":"GFM"},"line_width":{"type":"integer","title":"Defines the line width to be used when outputting a document","default":72},"link_defs":{"type":"object","title":"Pre-defines link definitions","additionalProperties":{"allOf":[{"$ref":"#/definitions/string-array"},{"minItems":2,"maxItems":2}]}},"math_engine":{"type":"string","title":"Set the math engine"},"math_engine_opts":{"type":"object","title":"Set the math engine options"},"parse_block_html":{"type":"boolean","title":"Process kramdown syntax in block HTML tags","default":false},"parse_span_html":{"type":"boolean","title":"Process kramdown syntax in span HTML tags","default":true},"smart_quotes":{"type":"string","title":"Defines the HTML entity names or code points for smart quote output","default":"lsquo,rsquo,ldquo,rdquo"},"syntax_highlighter":{"type":["string","null"],"title":"Set the syntax highlighter","default":"rouge"},"syntax_highlighter_opts":{"type":"object","title":"Set the syntax highlighter options"},"toc_levels":{"type":"string","title":"Defines the levels that are used for the table of contents","pattern":"^\\d((\\.\\.\\d)?|(,\\d)*)$"},"transliterated_header_ids":{"type":"boolean","title":"Transliterate the header text before generating the ID"},"typographic_symbols":{"type":"object","title":"Defines a mapping from typographical symbol to output characters"},"show_warnings":{"type":"boolean","default":false}}},"webrick":{"type":"object","title":"WEBrick Options","additionalProperties":false,"properties":{"headers":{"type":"object"}}}}}