docs(man): plugins can read [vars] during activation - #74
Open
tanjadev wants to merge 1 commit into
Open
Conversation
Mirror the manifest.toml.md change from flox/flox#4634 into the generated man page: plugin profile.d scripts now run with the [vars] section already exported, so a plugin may be configured via [vars]; on a name collision the plugin's export wins. Generated with scripts/sync-man-pages.sh from the PR branch (tanja/env-profile-d), scoped to that PR's delta. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
|
Preview deployment for your docs. Learn more about Mintlify Previews.
💡 Tip: Enable Workflows to automatically generate PRs for you. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors the
manifest.toml.mddoc change from flox/flox#4634 into the generated man pageman/manifest.toml.mdx.The upstream PR changes activation to a three-phase order — interpreter profile.d scripts, then export
[vars], then plugin profile.d scripts — so plugin scripts can read variables from the manifest's[vars]section. The[plugins]section of the man page now documents that:[vars]already exported, so a plugin may also be configured via[vars].[vars]entry, the plugin's value wins;hook.on-activateis the way to override a plugin-set variable.The change was generated with
scripts/sync-man-pages.shfrom the upstream PR branch (tanja/env-profile-d), scoped to exactly that PR's delta, so the[plugins]section byte-matches what a future sync will produce.Timing note: flox/flox#4634 is still open, and the nightly man-page sync regenerates
man/from thelatestrelease tag. If a sync runs before 4634 merges and ships in a release, it will revert this file — merge timing should track the flox release.🤖 Generated with Claude Code