Update launcher documentation#350
Conversation
|
@LiborBatek 2025-03-06.22-55-09.mp4 |
|
|
||
| ::: | ||
|
|
||
| ## Tray Menu |
There was a problem hiding this comment.
Don't know if is relevant, but tray and all tools in tray are NOT defined by AYON launcher, but by ayon-core. AYON launcher only cares about server, login and distribution of addons, dep. package and other versions of AYON launcher.
Anything that happens afterwards is based on ayon-core logic.
|
When migrtating docs to feature base, I've included the changes in the PR to featurebase. Any comments here will be addressed there. |
|
Like I've mentioned here #350 (comment) . You're combining AYON launcher and ayon-core functionality in the documentation. AYON launcher does take care only about this:
All the tools browser, report viewer, scripting console, tray etc. is NOT related to AYON launcher, but to ayon-core functionality. I don't know if that is the intention, but the documentation in current state may be actually confusing/misleading.
I don't know what that is? |
| | **AYON_SERVER_URL** | URL for the logged-in AYON Server. | | ||
| | **AYON_API_KEY** | API key for the logged-in AYON Server. | | ||
| | **AYON_DEFAULT_SETTINGS_VARIANT** | Variant used for settings. | | ||
|
|
There was a problem hiding this comment.
| | **AYON_USERNAME** | Set it to override system created username. | | |
| | **AYON_TMPDIR** | Set it to override default system temp directory. It supports `root` and `project` template keys, e.g. `{root[work]}/{project[name]}/temp`. | | |
There was a problem hiding this comment.
AYON_USERNAME can be used only for service API key and is used only for farm publishing. I don't think it is related to AYON launcher environments, AYON launcher does not use it in any way, and does not set it.
AYON_TMPDIR is ayon-core related, AYON launcher does not use it in any way, and does not set it.
|
For information, Any changes related to artist and admin docs will be reverted as these pages will be removed #370 making this PR updates only the dev docs. Changes of artist and admin docs will be moved to our new help center https://help.ayon.app/en/help |
| | **AYON_ADDONS_DIR** | Path to AYON add-ons directory—considered deprecated. Use `AYON_LAUNCHER_STORAGE_DIR` instead. | | ||
| | **AYON_DEPENDENCIES_DIR** | Path to AYON dependencies directory—considered deprecated. Use `AYON_LAUNCHER_STORAGE_DIR` instead. | | ||
| | **AYON_MENU_LABEL** | Label for AYON menu. | | ||
| | **PYBLISH_GUI** | Default Pyblish UI for use in Pyblish. | |
There was a problem hiding this comment.
Not used anymore.
| | **PYBLISH_GUI** | Default Pyblish UI for use in Pyblish. | |
| :::caution | ||
|
|
||
| Environment variables set for backward compatibility with the openpype add-on. | ||
|
|
||
| | Environment Variable | Description | | ||
| |--|--| | ||
| | **OPENPYPE_VERSION** | Alias for **AYON_VERSION**. | | ||
| | **OPENPYPE_LOG_LEVEL** | Alias for **AYON_LOG_LEVEL**. | | ||
| | **OPENPYPE_DEBUG** | Alias for **AYON_DEBUG**. | | ||
| | **OPENPYPE_USE_STAGING** | Alias for **AYON_USE_STAGING**. | | ||
| | **OPENPYPE_HEADLESS_MODE** | Alias for **AYON_HEADLESS_MODE**. | | ||
| | **OPENPYPE_EXECUTABLE** | Alias for **AYON_EXECUTABLE**. | | ||
| | **OPENPYPE_ROOT** | Alias for **AYON_ROOT**. | | ||
| | **OPENPYPE_REPOS_ROOT** | Alias for **AYON_ROOT**. | | ||
| | **AVALON_LABEL** | Alias for **AYON_MENU_LABEL**. | | ||
|
|
||
| ::: |
There was a problem hiding this comment.
| :::caution | |
| Environment variables set for backward compatibility with the openpype add-on. | |
| | Environment Variable | Description | | |
| |--|--| | |
| | **OPENPYPE_VERSION** | Alias for **AYON_VERSION**. | | |
| | **OPENPYPE_LOG_LEVEL** | Alias for **AYON_LOG_LEVEL**. | | |
| | **OPENPYPE_DEBUG** | Alias for **AYON_DEBUG**. | | |
| | **OPENPYPE_USE_STAGING** | Alias for **AYON_USE_STAGING**. | | |
| | **OPENPYPE_HEADLESS_MODE** | Alias for **AYON_HEADLESS_MODE**. | | |
| | **OPENPYPE_EXECUTABLE** | Alias for **AYON_EXECUTABLE**. | | |
| | **OPENPYPE_ROOT** | Alias for **AYON_ROOT**. | | |
| | **OPENPYPE_REPOS_ROOT** | Alias for **AYON_ROOT**. | | |
| | **AVALON_LABEL** | Alias for **AYON_MENU_LABEL**. | | |
| ::: |
| :::tip | ||
| Environment variables **AYON_ADDONS_DIR** and **AYON_DEPENDENCIES_DIR** by default are relative to **AYON_LAUNCHER_STORAGE_DIR**. | ||
|
|
||
| Environment variables **AYON_ADDONS_DIR** and **AYON_DEPENDENCIES_DIR** default to being relative to **AYON_LAUNCHER_STORAGE_DIR**. |
There was a problem hiding this comment.
We probably should rather mark thenm as deprecated than giving hints?
|
|
||
| <TabItem value='frozen'> | ||
|
|
||
| First, build AYON. This will produce executables: `ayon.exe` and `ayon_console.exe` on Windows, `ayon` on Linux, and `AYON {version}.app` for macOS. For more info, check [AYON Executables](ayon_launcher_artist_advanced.md#ayon-executables). |
There was a problem hiding this comment.
I would recommend to download the installer from releases instead of building it on own.
|
Closing this PR in favor of #371 |
|
NOTE: AYON launcher does not care about distribution of |


Changelog Description
resolve #324
Testing notes: