-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add 2.9 support * add v2.10 support * Add doc for maintenance calls * force requests==2.31.0 docker/docker-py#3256 * fix paperless_ngx_conf_trash_dir occurences * fix none type trash dir variable
- Loading branch information
1 parent
2dcaca3
commit 7d55794
Showing
8 changed files
with
50 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Doc generation for vars | ||
|
||
Call | ||
|
||
`python3 maintenance/vars/transform_var.py <PAPERLESS_VAR> <default value from setttings.py> <version when introduced>` | ||
`python3 maintenance/vars/transform_var.py PAPERLESS_MODEL_FILE PAPERLESS_DATA_DIR/classification_model.pickle 2.9` | ||
|
||
Result | ||
|
||
``` | ||
paperless_ngx_conf_model_file: PAPERLESS_DATA_DIR/classification_model.pickle # <-- vars default | ||
| `paperless_ngx_conf_model_file` | PAPERLESS_DATA_DIR/classification_model.pickle | Y | Y | | 2.9 | <--- readme | ||
- pngx_var: PAPERLESS_MODEL_FILE # <-- conf yml | ||
role_var: "{{ paperless_ngx_conf_model_file }}" | ||
since_version: '2.9.0' | ||
``` | ||
|
||
Call | ||
|
||
`python3 maintenance/vars/check_vars.py --version 2.11.0` | ||
|
||
Result | ||
|
||
Shows differences between local vars in different files and the online documentation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters