Skip to content

Commit c072681

Browse files
committed
Optional tag fix
1 parent 4eef4f4 commit c072681

File tree

9 files changed

+28
-10
lines changed

9 files changed

+28
-10
lines changed

npm-debug.log

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
0 info it worked if it ends with ok
2+
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'toc' ]
3+
2 info using [email protected]
4+
3 info using [email protected]
5+
4 verbose stack Error: ENOENT: no such file or directory, open '/Users/suramam/git/git/package.json'
6+
4 verbose stack at Error (native)
7+
5 verbose cwd /Users/suramam/git/git/sp-dev-docs
8+
6 error Darwin 15.6.0
9+
7 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "toc"
10+
8 error node v6.3.1
11+
9 error npm v3.10.3
12+
10 error path /Users/suramam/git/git/package.json
13+
11 error code ENOENT
14+
12 error errno -2
15+
13 error syscall open
16+
14 error enoent ENOENT: no such file or directory, open '/Users/suramam/git/git/package.json'
17+
15 error enoent ENOENT: no such file or directory, open '/Users/suramam/git/git/package.json'
18+
15 error enoent This is most likely not a problem with npm itself
19+
15 error enoent and is related to npm not being able to find a file.
20+
16 verbose exit [ -2, true ]

reference/spdx/sp-core-library/error-log.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Logs an error
2020
|:-------------|:---------------|:------------|
2121
| `source` | `string` | the source from where the error is logged, e.g., the class name. The source provides context information for the logged error. If the source's length is more than 20, only the first 20 characters are kept. |
2222
| `error` | `Error` | the error to be logged |
23-
| `scope` | [`ServiceScope`](../sp-core-library/servicescope.md) | Optional.the service scope that the source uses. A service scope can provide more context information (e.g., web part information) to the logged error. |
23+
| `scope` | [`ServiceScope`](../sp-core-library/servicescope.md) | __Optional.__ the service scope that the source uses. A service scope can provide more context information (e.g., web part information) to the logged error. |
2424

2525

reference/spdx/sp-core-library/info-log.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Logs an informational message
2020
|:-------------|:---------------|:------------|
2121
| `source` | `string` | the source from where the message is logged, e.g., the class name. The source provides context information for the logged message. If the source's length is more than 20, only the first 20 characters are kept. |
2222
| `message` | `string` | the message to be logged If the message's length is more than 100, only the first 100 characters are kept. |
23-
| `scope` | [`ServiceScope`](../sp-core-library/servicescope.md) | Optional.the service scope that the source uses. A service scope can provide more context information (e.g., web part information) to the logged message. |
23+
| `scope` | [`ServiceScope`](../sp-core-library/servicescope.md) | __Optional.__ the service scope that the source uses. A service scope can provide more context information (e.g., web part information) to the logged message. |
2424

2525

reference/spdx/sp-core-library/verbose-log.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Logs a verbose message
2020
|:-------------|:---------------|:------------|
2121
| `source` | `string` | the source from where the message is logged, e.g., the class name. The source provides context information for the logged message. If the source's length is more than 20, only the first 20 characters are kept. |
2222
| `message` | `string` | the message to be logged If the message's length is more than 100, only the first 100 characters are kept. |
23-
| `scope` | [`ServiceScope`](../sp-core-library/servicescope.md) | Optional.the service scope that the source uses. A service scope can provide more context information (e.g., web part information) to the logged message. |
23+
| `scope` | [`ServiceScope`](../sp-core-library/servicescope.md) | __Optional.__ the service scope that the source uses. A service scope can provide more context information (e.g., web part information) to the logged message. |
2424

2525

reference/spdx/sp-core-library/warn-log.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Logs a warning
2020
|:-------------|:---------------|:------------|
2121
| `source` | `string` | the source from where the message is logged, e.g., the class name. The source provides context information for the logged message. If the source's length is more than 20, only the first 20 characters are kept. |
2222
| `message` | `string` | the message to be logged If the message's length is more than 100, only the first 100 characters are kept. |
23-
| `scope` | [`ServiceScope`](../sp-core-library/servicescope.md) | Optional.the service scope that the source uses. A service scope can provide more context information (e.g., web part information) to the logged message. |
23+
| `scope` | [`ServiceScope`](../sp-core-library/servicescope.md) | __Optional.__ the service scope that the source uses. A service scope can provide more context information (e.g., web part information) to the logged message. |
2424

2525

reference/spdx/sp-http/get-httpclient.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,4 @@ a promise that will return the result
2121
|:-------------|:---------------|:------------|
2222
| `url` | `string` | the URL to fetch |
2323
| `configuration` | [`HttpClientConfiguration`](../sp-http/httpclientconfiguration.md) | determines the default behavior of HttpClient; normally this should be the latest version number from HttpClientConfigurations |
24-
| `options` | [`IHttpClientOptions`](../sp-http/ihttpclientoptions.md) | Optional.additional options that affect the request |
25-
26-
24+
| `options` | [`IHttpClientOptions`](../sp-http/ihttpclientoptions.md) | _Optional._ additional options that affect the request |

reference/spdx/sp-http/get-sphttpclient.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ a promise that will return the result
2121
|:-------------|:---------------|:------------|
2222
| `url` | `string` | the URL to fetch |
2323
| `configuration` | [`SPHttpClientConfiguration`](../sp-http/sphttpclientconfiguration.md) | determines the default behavior of SPHttpClient; normally this should be the latest version number from SPHttpClientConfigurations |
24-
| `options` | [`ISPHttpClientOptions`](../sp-http/isphttpclientoptions.md) | Optional.additional options that affect the request |
24+
| `options` | [`ISPHttpClientOptions`](../sp-http/isphttpclientoptions.md) | __Optional.__ additional options that affect the request |
2525

2626

reference/spdx/sp-loader/loadscript-ispcomponentloader.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,6 @@ A promise containing the loaded module.
1919
| Parameter | Type | Description |
2020
|:-------------|:---------------|:------------|
2121
| `url` | `string` | The script URL. |
22-
| `options` | [`ILoadScriptOptions`](../sp-loader/iloadscriptoptions.md) | Optional.globalExportsName: If the script isn't an AMD module and loads a global member on the page, specify the global member's name. |
22+
| `options` | [`ILoadScriptOptions`](../sp-loader/iloadscriptoptions.md) | __Optional.__ globalExportsName: If the script isn't an AMD module and loads a global member on the page, specify the global member's name. |
2323

2424

reference/spdx/sp-webpart-base/displayloadingindicator-iclientsidewebpartstatusrenderer.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ Display a loading spinner.
2020
|:-------------|:---------------|:------------|
2121
| `domElement` | `Element` | the webpart container div. |
2222
| `loadingMessage` | `string` | the message to be displayed when the loading spinner id displayed. |
23-
| `timeout` | `number` | Optional.timeout to render the loading indicator. Default is 900ms. |
23+
| `timeout` | `number` | __Optional.__ timeout to render the loading indicator. Default is 900ms. |
2424

2525

0 commit comments

Comments
 (0)