mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 19:45:46 +00:00
[plugin] Auto issue orders (#9565)
* Add builtin plugin for auto-issuing orders * Add plugin to auto-issue orders * Add placeholder documentation * Fix typo * Adds image macro - To replace img.html - includes checking if file exists * Fix tooltips * More docs * Adjust plugin settings filters * docs * More docs * More docs * Updates * Less restrictive URL checking * Refactor build order page * Fix typo * Allow 429 * Debug output * More debug * Construct assets dir * Cleanup * Update docs README * Refactoring more pages * Fix image link * Fix SSO settings * Add hook to check for missing settings - Ensure that all settings are documented! * Add missing user settings * Update docstring * Tweak SSO.md * Image updates * More updates * Tweaks * Exclude orders without a target_date * Fix for issuing build orders * Further refactoring * Fixes * Image refactoring * More refactoring * More refactoring * Refactor app images * Fix pathing issues * Suppress some openapidocs warnings in logs (much easier to debug docs build issues) * Fix image reference * Reduce error messages * Fix image links * Fix image links * Reduce docs log output * Ensure settings are loaded before displaying them * Fix for UI test * Fix unit test * Test tweaks
This commit is contained in:
@ -59,18 +59,24 @@ Click [here](/part/views)
|
||||
|
||||
### Images
|
||||
|
||||
Images are served from the `./docs/assets/images` folder and can be added as follow:
|
||||
Images are served from the `./docs/assets/images` folder and can be added as follows:
|
||||
|
||||
```
|
||||
{% with id="image_id", url="folder/image_name.png", description="Text shown if image is not loaded properly" %}
|
||||
{% include 'img.html' %}
|
||||
{% endwith %}
|
||||
{{ image("image_name.png", base="subfolder", title="Image title") }}
|
||||
```
|
||||
|
||||
Replace:
|
||||
* `image_id` with a short unique identifier for the image (most commonly, `image_id` is same as `image_name`)
|
||||
* `folder` with the folder in `docs/assets/images` in which the image is stored
|
||||
* `image_name` with the name of the image
|
||||
* `.png` with the image extension (PNG or JPEG are preferred formats)
|
||||
See the `image` macro in `./docs/main.py` for more information.
|
||||
|
||||
### Icons
|
||||
|
||||
Icons can be rendered (using the [tabler icon set](https://tabler.io/icons)) as follows:
|
||||
|
||||
```
|
||||
{{ icon("brand-github", color="red")}}
|
||||
```
|
||||
|
||||
See the `icon` macro in `./docs/main.py` for more information.
|
||||
|
||||
|
||||
### Global variables
|
||||
|
||||
|
Reference in New Issue
Block a user