-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
107 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
tests/specs/references/documentation/link/dontCrashNonUrlFormat.d.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/** | ||
* Links can point to a URL: | ||
* | ||
* {@link my-control-library#Button } | ||
* {@link my-control-library#Button | the Button class} | ||
* {@link @microsoft/my-control-library/lib/Button#Button | the Button class} | ||
*/ | ||
declare function isInlineTag(tagName: string): boolean; |
21 changes: 21 additions & 0 deletions
21
tests/specs/references/documentation/link/dontCrashNonUrlFormat.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
module rec Glutinum | ||
|
||
open Fable.Core | ||
open Fable.Core.JsInterop | ||
open System | ||
|
||
[<Erase>] | ||
type Exports = | ||
/// <summary> | ||
/// Links can point to a URL: | ||
/// | ||
/// <see href="my-control-library#Button">my-control-library#Button</see> | ||
/// <see href="my-control-library#Button">the Button class</see>" | ||
/// <see href="@microsoft/my-control-library/lib/Button#Button">the Button class</see>" | ||
/// </summary> | ||
[<Import("isInlineTag", "module")>] | ||
static member isInlineTag (tagName: string) : bool = nativeOnly | ||
|
||
(***) | ||
#r "nuget: Fable.Core" | ||
(***) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* Links can point to a URL: | ||
* | ||
* {@link https://github.com/microsoft/tsdoc} | ||
* {@link https://github.com/microsoft/tsdoc } | ||
*/ | ||
declare function isInlineTag(tagName: string): boolean; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module rec Glutinum | ||
|
||
open Fable.Core | ||
open Fable.Core.JsInterop | ||
open System | ||
|
||
[<Erase>] | ||
type Exports = | ||
/// <summary> | ||
/// Links can point to a URL: | ||
/// | ||
/// <see href="https://github.com/microsoft/tsdoc">https://github.com/microsoft/tsdoc</see> | ||
/// <see href="https://github.com/microsoft/tsdoc">https://github.com/microsoft/tsdoc</see> | ||
/// </summary> | ||
[<Import("isInlineTag", "module")>] | ||
static member isInlineTag (tagName: string) : bool = nativeOnly | ||
|
||
(***) | ||
#r "nuget: Fable.Core" | ||
(***) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
/** | ||
* Links can point to a URL: | ||
* | ||
* {@link https://github.com/microsoft/tsdoc | TSDoc} | ||
* {@link https://github.com/microsoft/tsdoc | TSDoc } | ||
*/ | ||
declare function isInlineTag(tagName: string): boolean; |
20 changes: 20 additions & 0 deletions
20
tests/specs/references/documentation/link/urlWithLabel.fsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module rec Glutinum | ||
|
||
open Fable.Core | ||
open Fable.Core.JsInterop | ||
open System | ||
|
||
[<Erase>] | ||
type Exports = | ||
/// <summary> | ||
/// Links can point to a URL: | ||
/// | ||
/// <see href="https://github.com/microsoft/tsdoc">TSDoc</see>" | ||
/// <see href="https://github.com/microsoft/tsdoc">TSDoc</see>" | ||
/// </summary> | ||
[<Import("isInlineTag", "module")>] | ||
static member isInlineTag (tagName: string) : bool = nativeOnly | ||
|
||
(***) | ||
#r "nuget: Fable.Core" | ||
(***) |