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

export goal py_hermetic_scripts option docs have misrendered list #20893

Closed
huonw opened this issue May 9, 2024 · 0 comments · Fixed by #20903
Closed

export goal py_hermetic_scripts option docs have misrendered list #20893

huonw opened this issue May 9, 2024 · 0 comments · Fixed by #20903

Comments

@huonw
Copy link
Contributor

huonw commented May 9, 2024

Describe the bug

There's a minor formatting defect in the docs for https://www.pantsbuild.org/2.21/reference/goals/export#py_hermetic_scripts

image

The - -E is intended to be a new list item.

- `-s` skips inclusion of the user site-packages directoy,
- `-E` ignores all `PYTHON*` env vars like `PYTHONPATH`.

(While we're at it, we could potentially also switch 'mutable_virtualenv' ('symlinked_immutable_virtualenv' to use backticks and thus get code-formatting?)

Pants version

2.21

OS

N/A

Additional info
N/A

@huonw huonw added this to the 2.21.x milestone May 9, 2024
@huonw huonw self-assigned this May 10, 2024
huonw added a commit that referenced this issue May 10, 2024
This makes a few minor adjustments to the docs for the
`py_editable_in_resolve` and `py_hermetic_scripts` options to `pants
export ...`:

- add some indentation so that `softwrap` preserves the crucial newlines
in a Markdown list
- backticks around more things for code formatting
- minor typo


Fixes #20893
WorkerPants pushed a commit that referenced this issue May 10, 2024
This makes a few minor adjustments to the docs for the
`py_editable_in_resolve` and `py_hermetic_scripts` options to `pants
export ...`:

- add some indentation so that `softwrap` preserves the crucial newlines
in a Markdown list
- backticks around more things for code formatting
- minor typo


Fixes #20893
huonw added a commit that referenced this issue May 10, 2024
…20904)

This makes a few minor adjustments to the docs for the
`py_editable_in_resolve` and `py_hermetic_scripts` options to `pants
export ...`:

- add some indentation so that `softwrap` preserves the crucial newlines
in a Markdown list
- backticks around more things for code formatting
- minor typo


Fixes #20893

Co-authored-by: Huon Wilson <huon@exoflare.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant