fix(docs): Update links to Trilium repo files in advanced config docs (#6662)

This commit is contained in:
Elian Doran 2025-08-15 19:07:39 +03:00 committed by GitHub
commit 577457c8ab
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,5 +1,5 @@
# Configuration (config.ini or environment variables) # Configuration (config.ini or environment variables)
Trilium supports configuration via a file named `config.ini` and environment variables. Please review the file named [config-sample.ini](https://github.com/TriliumNext/Trilium/blob/develop/apps/server/src/assets/config-sample.ini) in the [Notes](https://github.com/TriliumNext/Trilium) repository to see what values are supported. Trilium supports configuration via a file named `config.ini` and environment variables. Please review the file named [config-sample.ini](https://github.com/TriliumNext/Trilium/blob/main/apps/server/src/assets/config-sample.ini) in the [Trilium](https://github.com/TriliumNext/Trilium) repository to see what values are supported.
You can provide the same values via environment variables instead of the `config.ini` file, and these environment variables use the following format: You can provide the same values via environment variables instead of the `config.ini` file, and these environment variables use the following format:
@ -27,4 +27,4 @@ The code will:
1. First load the `config.ini` file as before 1. First load the `config.ini` file as before
2. Then scan all environment variables for ones starting with `TRILIUM_` 2. Then scan all environment variables for ones starting with `TRILIUM_`
3. Parse these variables into section/key pairs 3. Parse these variables into section/key pairs
4. Merge them with the config from the file, with environment variables taking precedence 4. Merge them with the config from the file, with environment variables taking precedence