diff --git a/README.md b/README.md index e284a35..40076dd 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,18 @@ -[![Build Status](https://travis-ci.org/kamiazya/typedoc-plugin-mermaid.svg?branch=master)](https://travis-ci.org/kamiazya/typedoc-plugin-mermaid) [![CodeFactor](https://www.codefactor.io/repository/github/kamiazya/typedoc-plugin-mermaid/badge)](https://www.codefactor.io/repository/github/kamiazya/typedoc-plugin-mermaid) [![npm version](https://badge.fury.io/js/typedoc-plugin-mermaid.svg)](https://badge.fury.io/js/typedoc-plugin-mermaid) [![Maintainability](https://api.codeclimate.com/v1/badges/827855fa3daba03076b4/maintainability)](https://codeclimate.com/github/kamiazya/typedoc-plugin-mermaid/maintainability) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fkamiazya%2Ftypedoc-plugin-mermaid.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fkamiazya%2Ftypedoc-plugin-mermaid?ref=badge_shield) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![typedoc-plugin-mermaid Dev Token](https://badge.devtoken.rocks/typedoc-plugin-mermaid)](https://devtoken.rocks/package/typedoc-plugin-mermaid) - +[![Build Status](https://travis-ci.org/kamiazya/typedoc-plugin-mermaid.svg?branch=master)](https://travis-ci.org/kamiazya/typedoc-plugin-mermaid) [![CodeFactor](https://www.codefactor.io/repository/github/kamiazya/typedoc-plugin-mermaid/badge)](https://www.codefactor.io/repository/github/kamiazya/typedoc-plugin-mermaid) [![npm version](https://badge.fury.io/js/typedoc-plugin-mermaid.svg)](https://badge.fury.io/js/typedoc-plugin-mermaid) [![Maintainability](https://api.codeclimate.com/v1/badges/827855fa3daba03076b4/maintainability)](https://codeclimate.com/github/kamiazya/typedoc-plugin-mermaid/maintainability) [![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fkamiazya%2Ftypedoc-plugin-mermaid.svg?type=shield)](https://app.fossa.io/projects/git%2Bgithub.com%2Fkamiazya%2Ftypedoc-plugin-mermaid?ref=badge_shield) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![typedoc-plugin-mermaid Dev Token](https://badge.devtoken.rocks/typedoc-plugin-mermaid)](https://devtoken.rocks/package/typedoc-plugin-mermaid) [![BCH compliance](https://bettercodehub.com/edge/badge/kamiazya/typedoc-plugin-mermaid?branch=master)](https://bettercodehub.com/) # typedoc-plugin-mermaid -A plugin for TypeDoc that generates graphs for mermaid.js diagrams by "mermaid" annotation. +A plugin for TypeDoc that generates graphs for mermaid.js diagrams by @mermaid annotation. ## Usage -Write tsdoc with `@mermaid` annotation. +Write tsdoc with `@mermaid` annotation ```typescript /** * 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; */ @@ -22,9 +21,9 @@ export class Hoge { ``` -↓↓↓ +[↓↓ DEMO ↓↓](https://kamiazya.github.io/typedoc-plugin-mermaid/classes/hoge.html) -[![DEMO](./img/example.png)](https://kamiazya.github.io/typedoc-plugin-mermaid/classes/hoge.html) +[![Example](./media/example.png)](https://kamiazya.github.io/typedoc-plugin-mermaid/classes/hoge.html) ## Installation diff --git a/docs/assets/js/search.js b/docs/assets/js/search.js index f7488ee..61d3149 100644 --- a/docs/assets/js/search.js +++ b/docs/assets/js/search.js @@ -1,3 +1,3 @@ var typedoc = typedoc || {}; typedoc.search = typedoc.search || {}; - typedoc.search.data = {"kinds":{"128":"Class","2048":"Method"},"rows":[{"id":0,"kind":128,"name":"Hoge","url":"classes/hoge.html","classes":"tsd-kind-class"},{"id":1,"kind":2048,"name":"exampleForGraphLR","url":"classes/hoge.html#exampleforgraphlr","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Hoge"}]}; \ No newline at end of file + typedoc.search.data = {"kinds":{"128":"Class","2048":"Method"},"rows":[{"id":0,"kind":128,"name":"Hoge","url":"classes/hoge.html","classes":"tsd-kind-class"},{"id":1,"kind":2048,"name":"aliceGreetingFlow","url":"classes/hoge.html#alicegreetingflow","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Hoge"},{"id":2,"kind":2048,"name":"multiGraphs","url":"classes/hoge.html#multigraphs","classes":"tsd-kind-method tsd-parent-kind-class","parent":"Hoge"}]}; \ No newline at end of file diff --git a/docs/classes/hoge.html b/docs/classes/hoge.html index 09a526f..3c3f720 100644 --- a/docs/classes/hoge.html +++ b/docs/classes/hoge.html @@ -73,7 +73,7 @@
Alice says "Hello John, how are you?" to Jone, + then John says "Great!".
+Alice greet to Jone
+