dist | string | "" | The directory to output documentation pages |
dir | string | "" | The directory that sassdocs will parse and make pages from |
debug | boolean | false | Plugin development flag (output logs, etc) |
debugToDir | string | null | Print out plugin/sassdoc data (used for developing plugin) |
pathBase | string | "/sass/" | Path to prefix to all paths generated for sassdocs |
byType | boolean | true | Whether or not the documented items should be organized by type (variable, mixin, etc) or should display in the order they were parsed |
sassdocOptions | object | { verbose: true } | Sassdoc library options |
contentEnabled | boolean | true | Include comment blocks that are between sassdoc items |
contentInline | boolean | true | Extra content should all be displayed above items (ie. variables, mixins, etc) even if it is in between documented items |
previewEnabled | boolean | true | Output preview of html code from an example |
previewTemplate | function | (code, ctx) => <div>\n${ code }\n</div> | Template to use for html previews |
previewTitle | string | "Preview" | Title for preview |
undefinedGroupName | string | "None" | Name for undefined groups |
annotations | string[] | ["name", "description", ...] | Controls order and which annotations are printed |
showSourceCode | string[] | ["placeholder", "css", ...] | The documentation types that should display source code |
customAnnotations | function[] | [] | Provide annotation functions (see sassdoc docs for modifying or introducing your own annotations). If you make your own provide a template for output in annotationTemplates |
pageTemplates | object | {} | Provides an object of markdown template functions for any of the page level templates provided by this library (ie. group, section, item). See /lib/templates/page/ for examples. |
annotationTemplates | object | {} | Provides an object of markdown template functions for native sassdoc annotations, custom annotations provided by this library or your own custom annotations. See /lib/templates/annotations/ for examples. |
pageTitleFormatter | function | titleCase | Callback function used to format the page title (from the group name) |
itemTitle | function | (data) => ... | Function to format item titles |
compiler | function | compile | Set custom compiler for sass |
compilerOptions | object | { additionalData: null, ... } | Options passed to sass for compiled sass examples |
sort | function | (a,b) => ... | Callback used to sort (array method) the pages before adding to Vuepress |
outputFiles | boolean | true | Can be used to disable output, ie. using build end to do something manually |
outputTemplate | function | ({ frontmatter, content }) => ... | Template for markdown files |
buildEnd | function | (data) => ... | Callback when page's have been generated/sorted before output |
resolveLink | function | (item, options) => ... | Method to override how links to items are created |