Skip to content

Update launcher documentation#350

Closed
MustafaJafar wants to merge 20 commits into
mainfrom
324-update-launcher-docs-for-admins-and-users
Closed

Update launcher documentation#350
MustafaJafar wants to merge 20 commits into
mainfrom
324-update-launcher-docs-for-admins-and-users

Conversation

@MustafaJafar
Copy link
Copy Markdown
Member

@MustafaJafar MustafaJafar commented Mar 1, 2025

Changelog Description

resolve #324

  • Launcher User Docs
  • Launcher Admin Docs
  • Launcher Dev Docs
  • Fill in missing parts of the launcher docs
  • Refine Docs and check them again

Testing notes:

  1. Go through changes and approve if they make sense.

Comment thread website/docs/ayon_launcher_admin.md Outdated
@LiborBatek
Copy link
Copy Markdown
Member

LiborBatek commented Mar 6, 2025

I have spotted broken links on the Getting start page

Basic usage and Advanced usage links both been broken

image

Edited: also Admin Section link been broken too

@LiborBatek
Copy link
Copy Markdown
Member

also on docs/ayon_launcher_artist_basic is broken link

Screenshot 2025-03-06 151821

@MustafaJafar
Copy link
Copy Markdown
Member Author

@LiborBatek
Sorry, I couldn't replicate that.

2025-03-06.22-55-09.mp4

@MustafaJafar MustafaJafar changed the title Update launcher documentation for users Update launcher documentation Mar 11, 2025
@MustafaJafar MustafaJafar requested a review from iLLiCiTiT March 11, 2025 11:33
Comment thread website/docs/ayon_launcher_admin.md Outdated
Comment thread website/docs/ayon_launcher_admin.md Outdated
Comment thread website/docs/ayon_launcher_admin.md Outdated
@MustafaJafar MustafaJafar requested a review from iLLiCiTiT March 19, 2025 15:41

:::

## Tray Menu
Copy link
Copy Markdown
Member

@iLLiCiTiT iLLiCiTiT Mar 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@MustafaJafar
Copy link
Copy Markdown
Member Author

@iLLiCiTiT

When migrtating docs to feature base, I've included the changes in the PR to featurebase.
Feel free to check it there.

Any comments here will be addressed there.

@iLLiCiTiT
Copy link
Copy Markdown
Member

iLLiCiTiT commented Apr 4, 2025

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:

  • connect to server and user login
  • distribute addons, dependency packages and different version of AYON launcher
  • deploy and setup shim, inluding handling of ayon-launcher:// uri scheme (related to shim)
  • import ayon-core and start it's main function

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've included the changes in the PR to featurebase.

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. |

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
| **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`. |

Copy link
Copy Markdown
Member

@iLLiCiTiT iLLiCiTiT May 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@MustafaJafar
Copy link
Copy Markdown
Member Author

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. |
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not used anymore.

Suggested change
| **PYBLISH_GUI** | Default Pyblish UI for use in Pyblish. |

Comment thread website/docs/dev_launcher.md
Comment on lines +146 to +162
:::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**. |

:::
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
:::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**.
Copy link
Copy Markdown
Member

@iLLiCiTiT iLLiCiTiT May 29, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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).
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would recommend to download the installer from releases instead of building it on own.

@MustafaJafar
Copy link
Copy Markdown
Member Author

Closing this PR in favor of #371
Artist and admin docs in this PR are moved to our new help center, Check:

@iLLiCiTiT
Copy link
Copy Markdown
Member

NOTE: AYON launcher does not care about distribution of "third-party binaries like ffmpeg and OIIO and different versions". ayon-third-party addon cares about it.

@MustafaJafar MustafaJafar deleted the 324-update-launcher-docs-for-admins-and-users branch October 27, 2025 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update Launcher Docs for admins and users

3 participants