- Description:
This key defines globs that filter which files CloudCannon should use for Collection configuration.
Values in this array are relative to the root of your repository (i.e.,
/, not the value ofsource) and must end in the file extension.cloudcannon.snippets-imports.yml.You can use this key anywhere you would use the
_snippets_importskey in the configuration cascade.This key has no default.
- Type:
Array<_snippets_imports_from_glob[*]>- Items:
This key represents an individual glob pattern string in the
_snippets_imports_from_globarray.The value is a string that specifies a file path pattern relative to the root of your repository. The path must end in the file extension
.cloudcannon.snippets-imports.yml.Show examplesHide examples
In this example, we have several Snippet Configuration Files in the
.cloudcannon/snippets/folder. The value of the_snippets_import_from_globkey tells CloudCannon all files in that folder that match the glob*.cloudcannon.snippets-import.yml.Copied to clipboard_snippets_imports_from_glob: - /.cloudcannon/snippets/*.cloudcannon.snippets-imports.yml{ "_snippets_imports_from_glob": [ "/.cloudcannon/snippets/*.cloudcannon.snippets-imports.yml" ] }- Examples:
In this example, we have several Snippet Configuration Files in the
.cloudcannon/snippets/folder. The value of the_snippets_import_from_globkey tells CloudCannon all files in that folder that match the glob*.cloudcannon.snippets-import.yml.Copied to clipboard_snippets_imports_from_glob: - /.cloudcannon/snippets/*.cloudcannon.snippets-imports.yml{ "_snippets_imports_from_glob": [ "/.cloudcannon/snippets/*.cloudcannon.snippets-imports.yml" ] }- Copied to clipboard
mdx: true docusaurus_mdx: exclude: - docusaurus_mdx_truncate{ "mdx": true, "docusaurus_mdx": { "exclude": [ "docusaurus_mdx_truncate" ] } }