Last updated

metadataGlobs

This configuration option defines glob patterns to locate metadata files or directories and apply additional metadata to them.

If a file contains its own metadata properties, these will take precedence and override any matching properties set through the metadataGlobs configuration option.

Examples

metadataGlobs:
  'foo/bar.md':       # Apply metadata only to the bar.md file
    property: Bar 
  'bar/**':           # Apply metadata to all files inside the bar folder
    property: Foo 
  '**':               # Apply metadata to all files
    property: Foo Bar
    owner: Redocly