update docs

This commit is contained in:
Tiffany Bennett 2024-05-09 20:07:36 -07:00
parent c3b436e5e1
commit 2515449c88
2 changed files with 8 additions and 4 deletions

View file

@ -111,7 +111,7 @@ Files
Rink searches the following locations:
* `./rink/datepatterns.txt`
* `./datepatterns.txt`
* `__$XDG_CONFIG_DIR__/rink/datepatterns.txt`
* `/usr/share/rink/datepatterns.txt`

View file

@ -248,16 +248,20 @@ decimal point.
Files
-----
Rink searches for the definitions file in these locations:
Rink searches for definitions files in these locations:
* `./rink/definitions.units`
* `./definitions.units`
* `$XDG_CONFIG_DIR/rink/definitions.units`
* `/usr/share/rink/definitions.units`
It will load all of the files it finds. The files can reference
definitions from each other. This can be used for custom definitions
building on top of the default units database.
When live currency fetching is enabled, Rink also looks for a currency
file in these locations:
* `./rink/currency.units`
* `./currency.units`
* `$XDG_CONFIG_DIR/rink/currency.units`
* `/usr/share/rink/currency.units`