mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 02:16:05 +01:00 
			
		
		
		
	feat(docs): update doc references from triliumnext/notes to triliumnext/trilium
This commit is contained in:
		| @@ -1,5 +1,5 @@ | ||||
| # 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/Notes/blob/develop/apps/server/src/assets/config-sample.ini) in the [Notes](https://github.com/TriliumNext/Notes) 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/develop/apps/server/src/assets/config-sample.ini) in the [Notes](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: | ||||
|  | ||||
|   | ||||
| @@ -13,7 +13,7 @@ There are some cases in which you may want to restore the original demo notes. F | ||||
|  | ||||
| You can easily restore the demo notes by using Trilium's built-in import feature by importing them: | ||||
|  | ||||
| *   Download [this .zip archive](https://github.com/TriliumNext/Notes/raw/develop/db/demo.zip) with the latest version of the demo notes | ||||
| *   Download [this .zip archive](https://github.com/TriliumNext/Trilium/raw/develop/db/demo.zip) with the latest version of the demo notes | ||||
| *   Right click on any note in your tree under which you would like the demo notes to be imported | ||||
| *   Click "Import into note" | ||||
| *   Select the .zip archive to import it | ||||
| @@ -1,7 +1,7 @@ | ||||
| # ETAPI (REST API) | ||||
| ETAPI is Trilium's public/external REST API. It is available since Trilium v0.50. | ||||
|  | ||||
| The documentation is in OpenAPI format, available [here](https://github.com/TriliumNext/Notes/blob/master/src/etapi/etapi.openapi.yaml). | ||||
| The documentation is in OpenAPI format, available [here](https://github.com/TriliumNext/Trilium/blob/master/src/etapi/etapi.openapi.yaml). | ||||
|  | ||||
| ## API clients | ||||
|  | ||||
| @@ -11,7 +11,7 @@ As an alternative to calling the API directly, there are client libraries to sim | ||||
|  | ||||
| ## Obtaining a token | ||||
|  | ||||
| All operations with the REST API have to be authenticated using a token. You can get this token either from Options -> ETAPI or programmatically using the `/auth/login` REST call (see the [spec](https://github.com/TriliumNext/Notes/blob/master/src/etapi/etapi.openapi.yaml)). | ||||
| All operations with the REST API have to be authenticated using a token. You can get this token either from Options -> ETAPI or programmatically using the `/auth/login` REST call (see the [spec](https://github.com/TriliumNext/Trilium/blob/master/src/etapi/etapi.openapi.yaml)). | ||||
|  | ||||
| ## Authentication | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user