Skip to content

Commit

Permalink
Back to dartdoc due to missing options
Browse files Browse the repository at this point in the history
  • Loading branch information
simolus3 committed Feb 9, 2022
1 parent 51f61a8 commit fca9db2
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docs/tool/ci_build.dart
Original file line number Diff line number Diff line change
Expand Up @@ -79,10 +79,11 @@ Future<void> _createApiDocumentation(Directory output) async {
// Dartdoc supports %r% for the revision, %f% for the file name and %l% for
// the line number.
const source = 'https://github.com/simolus3/moor/blob/%r%/%f%/#L%l%';
// todo: Use `dart doc` after https://github.com/dart-lang/sdk/issues/46100#issuecomment-1033899215
// gets clarified.
final dartDoc = await Process.start(
'dart',
'dartdoc',
[
'doc',
'--rel-canonical-prefix=https://pub.dev/documentation/drift/latest',
'--link-to-source-revision=$rev',
'--link-to-source-root=..',
Expand Down

0 comments on commit fca9db2

Please sign in to comment.