OLD | NEW |
1 Dartdoc generates static HTML documentation from Dart code. | 1 Dartdoc generates static HTML documentation from Dart code. |
2 | 2 |
3 To use it, from this directory, run: | 3 To use it, from this directory, run: |
4 | 4 |
5 $ dartdoc <path to .dart file> | 5 $ dartdoc <path to .dart file> |
6 | 6 |
7 This will create a "docs" directory with the docs for your libraries. | 7 This will create a "docs" directory with the docs for your libraries. |
8 | 8 |
9 | 9 |
10 How docs are generated | 10 How docs are generated |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 | 68 |
69 There is also an extension to markdown specific to dartdoc: A name inside | 69 There is also an extension to markdown specific to dartdoc: A name inside |
70 square brackets that is not a markdown link (i.e. doesn't have square brackets | 70 square brackets that is not a markdown link (i.e. doesn't have square brackets |
71 or parentheses following it) like: | 71 or parentheses following it) like: |
72 | 72 |
73 Calls [someMethod], passing in [arg]. | 73 Calls [someMethod], passing in [arg]. |
74 | 74 |
75 is understood to be the name of some member or type that's in the scope of the | 75 is understood to be the name of some member or type that's in the scope of the |
76 member where that comment appears. Dartdoc will automatically figure out what | 76 member where that comment appears. Dartdoc will automatically figure out what |
77 the name refers to and generate an approriate link to that member or type. | 77 the name refers to and generate an approriate link to that member or type. |
| 78 |
| 79 |
| 80 Attribution |
| 81 ----------- |
| 82 |
| 83 dartdoc uses the delightful Silk icon set by Mark James. |
| 84 http://www.famfamfam.com/lab/icons/silk/ |
OLD | NEW |