-
-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
104 additions
and
40 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -1,21 +1,40 @@ | ||
/** | ||
* Hoge is sample class for example of `typedoc-plugin-mermaid`. | ||
* | ||
* @mermaid | ||
* @mermaid Make TypeDoc easy to use with mermaid.js | ||
* graph TB | ||
* mermaid.js --> TypeDoc; | ||
*/ | ||
export class Hoge { | ||
export abstract class Hoge { | ||
|
||
/** | ||
* Alice says "Hello John, how are you?" to Jone, | ||
* then John says "Great!". | ||
* | ||
* @mermaid | ||
* graph LR | ||
* A --- B | ||
* B-->C[fa:fa-ban forbidden] | ||
* B-->D(fa:fa-spinner); | ||
* @mermaid Alice greet to Jone | ||
* sequenceDiagram | ||
* Alice->>John: Hello John, how are you? | ||
* John-->>Alice: Great! | ||
*/ | ||
public exampleForGraphLR() { | ||
console.log('graphLR'); | ||
public aliceGreetingFlow() { | ||
console.log('Alice', 'Hello John, how are you?'); | ||
console.log('John', 'Great!'); | ||
} | ||
|
||
/** | ||
* Subgraphs. | ||
* | ||
* @mermaid Subgraphs Example | ||
* graph LR | ||
* A[Hard edge] -->|Link text| B(Round edge) | ||
* B --> C{Decision} | ||
* C -->|One| D[Result one] | ||
* C -->|Two| E[Result two] | ||
* | ||
* @mermaid Alice greet to Jone | ||
* sequenceDiagram | ||
* Alice->>John: Hello John, how are you? | ||
* John-->>Alice: Great! | ||
*/ | ||
public abstract multiGraphs(): void; | ||
} |
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
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
{ | ||
"mode": "file", | ||
"out": "../docs" | ||
"out": "../docs", | ||
"media": "../media" | ||
} |
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
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.