Skip to content

Commit 08204d1

Browse files
committed
fix: Replace NNBSP characters with normal spaces
1 parent 546f9f3 commit 08204d1

File tree

7 files changed

+19
-14
lines changed

7 files changed

+19
-14
lines changed

R/documentation.R

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2954,7 +2954,7 @@ NULL
29542954
#'
29552955
#' - Use the sticky component on block-level elements.
29562956
#' - Sticky components should ideally be section headers and/or footers.
2957-
#' - Use`position: absolute`. Ensure that the parent element has an explicit`height`and`position: relative`, or has space already allocated for the scrollable pane.
2957+
#' - Use `position: absolute`. Ensure that the parent element has an explicit `height` and `position: relative`, or has space already allocated for the scrollable pane.
29582958
#' - Ensure that the total height of `Sticky` components does not exceed the height of the `ScrollablePane`.
29592959
#'
29602960
#' @details
@@ -2994,9 +2994,9 @@ NULL
29942994
#'
29952995
#' - Use placeholder text in the search box to describe what people can search for. For example, "Search", "Search files", or "Search contacts list".
29962996
#' - Although search entry points tend to be similarly visualized, they can provide access to results that range from broad to narrow. By effectively communicating the scope of a search, you can ensure that people's expectations are met by the capabilities of the search you're performing, which will reduce the possibility of frustration. The search entry point should be placed near the content being searched.<br/><br/>Some common search scopes include:
2997-
#' - **Global**:Search across multiple sources of cloud and local content. Varied results include URLs, documents, media, actions, apps, and more.
2998-
#' - **Web**:Search a web index. Results include pages, entities, and answers.
2999-
#' - **My stuff**:Search across devices, cloud, social graphs, and more. Results are varied but are constrained by the connection to user accounts.
2997+
#' - **Global**: Search across multiple sources of cloud and local content. Varied results include URLs, documents, media, actions, apps, and more.
2998+
#' - **Web**: Search a web index. Results include pages, entities, and answers.
2999+
#' - **My stuff**: Search across devices, cloud, social graphs, and more. Results are varied but are constrained by the connection to user accounts.
30003000
#'
30013001
#' @details
30023002
#'
@@ -3489,7 +3489,7 @@ NULL
34893489
#' - Teaching bubbles can be used in sequence to walk people through complex, multistep interactions only. And only show one teaching bubble at a time.
34903490
#' - A maximum of no more than 3 sequenced teaching bubbles should be used in a single experience.
34913491
#' - Sequenced teaching bubbles should have “x of y” text to indicate progress through the sequence. For example, the first teaching bubble in a sequence might be “1 of 3”.)
3492-
#' - Alwaysplace the primary button on the left, the secondarybuttonjust to the right of it.
3492+
#' - Always place the primary button on the left, the secondary button just to the right of it.
34933493
#' - Show only one primary button that inherits theme color at rest state. In the event there are more than two buttons with equal priority, all buttons should have neutral backgrounds.
34943494
#'
34953495
#' ### Content
@@ -3707,7 +3707,7 @@ NULL
37073707
#' @param ... Props to pass to \code{shiny.react::reactElement}. See allowed props listed below in \bold{Details} section
37083708
#'
37093709
#' @description
3710-
#' A good tooltip briefly describesunlabeled controls or provides a bit of additional information about labeled controls,when this is useful. It can also help customers navigate the UI by offeringadditional—not redundant—information about control labels, icons, and links. A tooltip should always add valuable information; use sparingly.
3710+
#' A good tooltip briefly describes unlabeled controls or provides a bit of additional information about labeled controls, when this is useful. It can also help customers navigate the UI by offering additional—not redundant—information about control labels, icons, and links. A tooltip should always add valuable information; use sparingly.
37113711
#'
37123712
#' There are two components you can use to display a tooltip:
37133713
#'
@@ -3892,7 +3892,7 @@ NULL
38923892
#' @param ... Props to pass to \code{shiny.react::reactElement}. See allowed props listed below in \bold{Details} section
38933893
#'
38943894
#' @description
3895-
#' Pickersare used to select one or more items, such as tags or files,from a large list.
3895+
#' Pickers are used to select one or more items, such as tags or files, from a large list.
38963896
#'
38973897
#'
38983898
#' For more details and examples visit the official [docs](https://developer.microsoft.com/en-us/fluentui#/controls/web/pickers).

man/Pickers.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/ScrollablePane.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/SearchBox.Rd

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/TeachingBubble.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

man/Tooltip.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scrape-docs/makeDocs.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,11 @@ const REPLACE_MAP = [
1010
regex: /\s+$/gm,
1111
replacement: '',
1212
},
13+
// Replace NNBSP (Narrow No-Break Space, U+202F) characters with normal spaces (U+0020).
14+
{
15+
regex: /\u202F/gm,
16+
replacement: ' ',
17+
},
1318
// Add a whitespace between documentation entries, each ends with "NULL"
1419
{
1520
regex: /NULL/gm,

0 commit comments

Comments
 (0)