File tree Expand file tree Collapse file tree 6 files changed +15
-8
lines changed
testing/test_package_docs Expand file tree Collapse file tree 6 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 1+ ## 0.19.1
2+ * Update ` package:markdown ` to ` 2.0.0 ` , which includes many improvements –
3+ especially to the parsing of links.
4+
15## 0.19.0
26* Build documentation through the Package object (#1659 )
37* New flag, --link-to-remote, which will cause Dartdoc to link symbols to their originating
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export 'package:dartdoc/src/package_meta.dart';
3737
3838const String name = 'dartdoc' ;
3939// Update when pubspec version changes.
40- const String dartdocVersion = '0.19.0 ' ;
40+ const String dartdocVersion = '0.19.1-dev ' ;
4141
4242/// Generates Dart documentation for all public Dart libraries in the given
4343/// directory.
Original file line number Diff line number Diff line change @@ -814,7 +814,7 @@ class MarkdownDocument extends md.Document {
814814 {Iterable <md.BlockSyntax > blockSyntaxes,
815815 Iterable <md.InlineSyntax > inlineSyntaxes,
816816 md.ExtensionSet extensionSet,
817- linkResolver,
817+ md. Resolver linkResolver,
818818 imageLinkResolver})
819819 : super (
820820 blockSyntaxes: blockSyntaxes,
@@ -971,7 +971,10 @@ class Documentation {
971971 /// Returns a tuple of longHtml, shortHtml, hasExtendedDocs
972972 /// (longHtml is NULL if !processFullDocs)
973973 Tuple3 <String , String , bool > _renderMarkdownToHtml (bool processFullDocs) {
974- md.Node _linkResolver (String name) {
974+ md.Node _linkResolver (String name, [String _]) {
975+ if (name.isEmpty) {
976+ return null ;
977+ }
975978 return new md.Text (_linkDocReference (name, _element, commentRefs));
976979 }
977980
Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ packages:
168168 name: markdown
169169 url: "https://pub.dartlang.org"
170170 source: hosted
171- version: "1.1.1 "
171+ version: "2.0.0 "
172172 matcher:
173173 dependency: transitive
174174 description:
@@ -401,4 +401,4 @@ packages:
401401 source: hosted
402402 version: "2.1.13"
403403sdks:
404- dart: ">=2.0.0-dev.23.0 <=2.0.0-dev.53 .0"
404+ dart: ">=2.0.0-dev.23.0 <=2.0.0-dev.54 .0"
Original file line number Diff line number Diff line change 11name : dartdoc
22# Also update the `version` field in lib/dartdoc.dart.
3- version : 0.19.0
3+ version : 0.19.1-dev
44author : Dart Team <misc@dartlang.org>
55description : A documentation generator for Dart.
66homepage : https://github.com/dart-lang/dartdoc
@@ -18,7 +18,7 @@ dependencies:
1818 # least version 3.0.3 to work around an issue with 3.0.2.
1919 http_parser : ' >=3.0.3 <4.0.0'
2020 logging : ^0.11.3+1
21- markdown : ^1 .0.0
21+ markdown : ^2 .0.0
2222 mustache4dart : ^2.1.1
2323 package_config : ' >=0.1.5 <2.0.0'
2424 path : ^1.3.0
Original file line number Diff line number Diff line change 44 < meta charset ="utf-8 ">
55 < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
66 < meta name ="viewport " content ="width=device-width, initial-scale=1 ">
7- < meta name ="generator " content ="made with love by dartdoc 0.19.0 ">
7+ < meta name ="generator " content ="made with love by dartdoc 0.19.1-dev ">
88 < meta name ="description " content ="test_package API docs, for the Dart programming language. ">
99 < title > test_package - Dart API docs</ title >
1010
You can’t perform that action at this time.
0 commit comments