-
Notifications
You must be signed in to change notification settings - Fork 11
/
albert-extensions.jsonc
32 lines (30 loc) · 1.26 KB
/
albert-extensions.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
// albert-extensions file that specifies what extensions can be found and at
// which locations inside this (git) repository.
{
// [REQUIRED] Version of the albert-extensions specification in use.
"version": 0.1,
// [OPTIONAL]
// If there's an overlap ,then the "extensions" section takes precedence
"extensions": {
// extension-name: path/to/extension/directory
// [OPTIONAL] root_dir: evaluate the extension paths based on this root
// directory. The root_dir itself is evaluated relative to the parent
// directory of albert-extensions.json[c]
//
// root_dir: plugins
},
// [OPTIONAL] automatically discover extensions
"autodiscovery": {
// [OPTIONAL] If the autodiscovery section exists, and there's no "enabled"
// subkey, we'll just use it nonetheless
"enabled": true,
// [REQUIRED] directory under which we'll look for extensions
// Each extension should be either a `.py` file or a python package (i.e.,
// directory containing at least a `__init__.py` file.). If we encounter a
// directory without a `__init__.py` file in it, we'll just ignore it.
"root_dir": "plugins",
// [OPTIONAL] A list of globs to use to ignore packages and/or python files
// under root_dir
"ignore_glob": [""]
}
}