Skip to content

Commit

Permalink
Fixes typo on sources.md
Browse files Browse the repository at this point in the history
Replaced many AddSoruce by AddSource
  • Loading branch information
bhrousseau authored and grahamboree committed Nov 14, 2023
1 parent fd8c261 commit 226b824
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Docs/sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ var configsDir = Path.Combine(Directory.GetCurrentDirectory(), "Configs");
Configs.AddSource(new FileSource(configsDir));

// load all files with the ".conf" extension from the given path.
Configs.AddSoruce(new FileSource(configsDir, "conf"))
Configs.AddSource(new FileSource(configsDir, "conf"))

// load all files with either the ".yml" or ".yaml" extension from the given path.
Configs.AddSoruce(new FileSource(configsDir, new[]{"yml", "yaml"}))
Configs.AddSource(new FileSource(configsDir, new[]{"yml", "yaml"}))

// same as above but also enable file hotloading (disabled by default)
Configs.AddSoruce(new FileSource(configsDir, new[]{"yml", "yaml"}, hotload:true))
Configs.AddSource(new FileSource(configsDir, new[]{"yml", "yaml"}, hotload:true))


// ResourcesSource (Unity only)
Expand Down

0 comments on commit 226b824

Please sign in to comment.