Commit ba8bd0de authored by Amy Qualls's avatar Amy Qualls

Merge branch 'docs-zero-width-space' into 'master'

Delete zero width spaces from docs

See merge request gitlab-org/gitlab!56516
parents 554bf955 0d6349c7
...@@ -286,8 +286,8 @@ The visual review tools retrieve the merge request ID from the `data-merge-reque ...@@ -286,8 +286,8 @@ The visual review tools retrieve the merge request ID from the `data-merge-reque
data attribute included in the `script` HTML tag used to add the visual review tools data attribute included in the `script` HTML tag used to add the visual review tools
to your review app. to your review app.
After determining the ID for the merge request to link to a visual review app, you After determining the ID for the merge request to link to a visual review app, you
can supply the ID by either:​​ can supply the ID by either:
- Hard-coding it in the script tag via the data attribute `data-merge-request-id` of the app. - Hard-coding it in the script tag via the data attribute `data-merge-request-id` of the app.
- Dynamically adding the `data-merge-request-id` value during the build of the app. - Dynamically adding the `data-merge-request-id` value during the build of the app.
......
...@@ -90,7 +90,7 @@ Some start/end event pairs are not "compatible" with each other. For example: ...@@ -90,7 +90,7 @@ Some start/end event pairs are not "compatible" with each other. For example:
- "Issue closed" to "Issue closed": Duration is always 0. - "Issue closed" to "Issue closed": Duration is always 0.
The `StageEvents` module describes the allowed `start_event` and `end_event` pairings (`PAIRING_RULES` constant). If a new event is added, it needs to be registered in this module. The `StageEvents` module describes the allowed `start_event` and `end_event` pairings (`PAIRING_RULES` constant). If a new event is added, it needs to be registered in this module.
​To add a new event:​ To add a new event:
1. Add an entry in `ENUM_MAPPING` with a unique number, which is used in the `Stage` model as `enum`. 1. Add an entry in `ENUM_MAPPING` with a unique number, which is used in the `Stage` model as `enum`.
1. Define which events are compatible with the event in the `PAIRING_RULES` hash. 1. Define which events are compatible with the event in the `PAIRING_RULES` hash.
...@@ -190,9 +190,9 @@ Currently supported parents: ...@@ -190,9 +190,9 @@ Currently supported parents:
### Default stages ### Default stages
The [original implementation](https://gitlab.com/gitlab-org/gitlab/-/issues/847) of value stream analytics defined 7 stages. These stages are always available for each parent, however altering these stages is not possible. The [original implementation](https://gitlab.com/gitlab-org/gitlab/-/issues/847) of value stream analytics defined 7 stages. These stages are always available for each parent, however altering these stages is not possible.
To make things efficient and reduce the number of records created, the default stages are expressed as in-memory objects (not persisted). When the user creates a custom stage for the first time, all the stages are persisted. This behavior is implemented in the value stream analytics service objects. To make things efficient and reduce the number of records created, the default stages are expressed as in-memory objects (not persisted). When the user creates a custom stage for the first time, all the stages are persisted. This behavior is implemented in the value stream analytics service objects.
The reason for this was that we'd like to add the abilities to hide and order stages later on. The reason for this was that we'd like to add the abilities to hide and order stages later on.
## Data Collector ## Data Collector
......
...@@ -30,13 +30,13 @@ then ...@@ -30,13 +30,13 @@ then
((ERRORCODE++)) ((ERRORCODE++))
fi fi
# Test for non-standard spaces (NBSP, NNBSP) in documentation. # Test for non-standard spaces (NBSP, NNBSP, ZWSP) in documentation.
echo '=> Checking for non-standard spaces...' echo '=> Checking for non-standard spaces...'
echo echo
grep --extended-regexp --binary-file=without-match --recursive '[  ]' doc/ >/dev/null 2>&1 grep --extended-regexp --binary-file=without-match --recursive '[  ]' doc/ >/dev/null 2>&1
if [ $? -eq 0 ] if [ $? -eq 0 ]
then then
echo '✖ ERROR: Non-standard spaces (NBSP, NNBSP) should not be used in documentation. echo '✖ ERROR: Non-standard spaces (NBSP, NNBSP, ZWSP) should not be used in documentation.
https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#spaces-between-words https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#spaces-between-words
Replace with standard spaces:' >&2 Replace with standard spaces:' >&2
# Find the spaces, then add color codes with sed to highlight each NBSP or NNBSP in the output. # Find the spaces, then add color codes with sed to highlight each NBSP or NNBSP in the output.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment