Skip to content

Commit

Permalink
Fix more broken links in ConfigFiles.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mkromberg committed Sep 8, 2024
1 parent 8b5db19 commit 1cc7390
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/Usage/ConfigFiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,14 @@ A simple example of a user configuration file would be:
},
}
```
With the above user configuration file contents, Link will display notifications when processing changes to the source (notify:1), and default to only propagating changes from the namespace to source files (watch:ns). If a call to [Link.Create](..API/Link.Create.md) includes an explicit setting of the `watch` option, that will override the default.
With the above user configuration file contents, Link will display notifications when processing changes to the source (notify:1), and default to only propagating changes from the namespace to source files (watch:ns). If a call to [Link.Create](../API/Link.Create.md) includes an explicit setting of the `watch` option, that will override the default.

Note that a configuration contains a `LinkVersion` section, which identifies the version of Link that wrote the file.

### Directory Configuration Files
Each linked directory may contain a `.linkconfig` file containing defaults that will apply when a link is created to that directory, or if the directory is imported. When [Link.Create](..API/Link.Create.md) or [Link.Export](..API/Link.Export.md) create a directory and create files in it, any non-default switch settings provided to tha API function will be recorded in a configuration file within the directory. This means that you no longer need to remember the options used to re-create the original link when continuing work, or importing the link into a runtime environment.
Each linked directory may contain a `.linkconfig` file containing defaults that will apply when a link is created to that directory, or if the directory is imported. When [Link.Create](../API/Link.Create.md) or [Link.Export](../API/Link.Export.md) create a directory and create files in it, any non-default switch settings provided to tha API function will be recorded in a configuration file within the directory. This means that you no longer need to remember the options used to re-create the original link when continuing work, or importing the link into a runtime environment.

If you already have a Link folder which was created by an earlier version of Link, you can add a `.linkconfig` file using [Link.Configure](../API/API/Link.Configure.md). For example:
If you already have a Link folder which was created by an earlier version of Link, you can add a `.linkconfig` file using [Link.Configure](../API/Link.Configure.md). For example:

```
]Link.Create linkdemo /tmp/linkdemo
Expand Down

0 comments on commit 1cc7390

Please sign in to comment.