fixed docs to account for new patterns

This commit is contained in:
Ell 2024-08-31 13:46:30 +02:00
parent 7803628ece
commit d5640bc250
2 changed files with 11 additions and 11 deletions

View file

@ -26,10 +26,10 @@ If you want to change the way Contentless works, you can use a configuration fil
{ {
// The list of files that should be excluded. // The list of files that should be excluded.
// Can use simple glob-style patterns including "*" to match any number of any character, and "?" to match any single character. // Can use simple glob-style patterns including "*" to match any number of any character, and "?" to match any single character.
// Default: ["obj/", "bin/"] // Default: ["obj/*", "bin/*"]
"exclude": [ "exclude": [
"obj/", "obj/*",
"bin/" "bin/*"
], ],
// If any files that were skipped without errors should be logged (Files that already have entries or files that were ignored) // If any files that were skipped without errors should be logged (Files that already have entries or files that were ignored)
// Default: true // Default: true
@ -39,20 +39,20 @@ If you want to change the way Contentless works, you can use a configuration fil
// Default: {} // Default: {}
"overrides": { "overrides": {
// Example: Make all files matching ".json" use the importer "JsonImporter" // Example: Make all files matching ".json" use the importer "JsonImporter"
".json": { "*/*.json": {
"importer": "JsonImporter" "importer": "JsonImporter"
}, },
// Example: Specifying both an importer and a processor // Example: Specifying both an importer and a processor
".ogg": { "*/*.ogg": {
"importer": "OggImporter", "importer": "OggImporter",
"processor": "SongProcessor" "processor": "SongProcessor"
}, },
// Example: Only specifying a processor // Example: Only specifying a processor
".wav": { "*/*.wav": {
"processor": "SoundEffectProcessor" "processor": "SoundEffectProcessor"
}, },
// Example: Setting a file to the Copy build action // Example: Setting a file to the Copy build action
".txt": { "*/*.txt": {
"copy": true "copy": true
}, },
// Example: Adding processor parameters for files // Example: Adding processor parameters for files

View file

@ -8,17 +8,17 @@
"logSkipped": true, "logSkipped": true,
"references": ["MonoGame.Extended.Content.Pipeline"], "references": ["MonoGame.Extended.Content.Pipeline"],
"overrides": { "overrides": {
"Copy.*": { "*/Copy.*": {
"copy": true "copy": true
}, },
".json": { "*/*.json": {
"copy": true "copy": true
}, },
".ogg": { "*/*.ogg": {
"importer": "OggImporter", "importer": "OggImporter",
"processor": "SongProcessor" "processor": "SongProcessor"
}, },
".png": { "*/*.png": {
"processorParams": { "processorParams": {
"TextureFormat": "NoChange" "TextureFormat": "NoChange"
} }