Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: reword initial program environment section in flux-environment(7) #6601

Merged
merged 1 commit into from
Feb 4, 2025

Conversation

grondo
Copy link
Contributor

@grondo grondo commented Feb 4, 2025

Problem: The section of flux-environment(7) detailing the initial program environment can be confusing to users because the set of environment variables not set is prominently listed first in a nice bulleted list, while environment variable(s) that are set appear later in paragraph form. This may lead users that are casually scanning the document to assume that the listed environment variables will be found in the initial program environment.

Swap the section so that the environment variables that are set and the suggested commands to obtain common values using Flux commands are listed first and add documentation to emphasize their importance.

De-emphasize the unset variables by listing them in paragraph form instead of a bulleted list.

Problem: The section of flux-environment(7) detailing the initial
program environment can be confusing to users because the set of
environment variables *not* set is prominently listed first in a
nice bulleted list, while environment variable(s) that *are*
set appear later in paragraph form. This may lead users that are
casually scanning the document to assume that the listed environment
variables will be found in the initial program environment.

Swap the section so that the environment variables that are set and
the suggested commands to obtain common values using Flux commands are
listed first and add documentation to emphasize their importance.

De-emphasize the unset variables by listing them in paragraph form
instead of a bulleted list.
Copy link
Member

@garlick garlick left a comment

Choose a reason for hiding this comment

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

Oh good improvement!

@grondo
Copy link
Contributor Author

grondo commented Feb 4, 2025

Thanks! I'll set MWP.

@mergify mergify bot merged commit 11ad017 into flux-framework:master Feb 4, 2025
35 checks passed
Copy link

codecov bot commented Feb 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.51%. Comparing base (fc051b9) to head (edd5d1c).
Report is 2 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #6601   +/-   ##
=======================================
  Coverage   79.50%   79.51%           
=======================================
  Files         531      531           
  Lines       88213    88213           
=======================================
+ Hits        70135    70143    +8     
+ Misses      18078    18070    -8     

see 10 files with indirect coverage changes

@grondo grondo deleted the env-doc-simplify branch February 4, 2025 17:10
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.

2 participants