Skip to content

fix(docs): update workspace reset --soft to avoid smart-quotes#2136

Open
kotborealis wants to merge 1 commit into
apache:masterfrom
kotborealis:bst-docs-double-quotes-smart
Open

fix(docs): update workspace reset --soft to avoid smart-quotes#2136
kotborealis wants to merge 1 commit into
apache:masterfrom
kotborealis:bst-docs-double-quotes-smart

Conversation

@kotborealis

Copy link
Copy Markdown
Contributor

In docs for incremental builds and buildelement --soft turned into –soft, which is ignored by CLI parser.
This lead to running bst workspace reset –-soft --all (with en-dash) by copypasting it, which turned out to hard-reset of workspaces.

See:

This patch fixes docs so sphinx would not render it as en-dash: moved --soft outside of :ref:, as I could not get it to work otherwise.

In docs for incremental builds and buildelement `--soft` turned into
`–soft`, which is ignored by CLI parser.
This lead to running `bst workspace reset –-soft --all` (with en-dash) by copypasting it,
which turned out to hard-reset of workspaces.

See:
* https://docs.buildstream.build/2.5/developing/workspaces.html#incremental-builds:~:text=bst%20workspace%20reset-,%E2%80%93soft%2C,-like%20so%3A
* https://docs.buildstream.build/2.5/buildstream.buildelement.html#:~:text=bst%20workspace%20reset-,%E2%80%93soft,-is%20called%20on

This patch fixes docs so sphinx would not render it as `en-dash`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant