dartdoc_options.yaml 839 Bytes
Newer Older
1 2
# This file is used by dartdoc when generating API documentation for Flutter.
dartdoc:
3 4
  # Before you can run dartdoc, the snippets tool needs to have a snapshot built.
  # The dev/tools/dartdoc.dart script does this automatically.
5 6
  tools:
    snippet:
7
      command: ["dev/snippets/lib/main.dart", "--type=application"]
8 9
      description: "Creates application sample code documentation output from embedded documentation samples."
    sample:
10
      command: ["dev/snippets/lib/main.dart", "--type=sample"]
11
      description: "Creates sample code documentation output from embedded documentation samples."
12 13 14
    dartpad:
      command: ["dev/snippets/lib/main.dart", "--type=application", "--dartpad"]
      description: "Creates sample code documentation output from embedded documentation samples and displays it in an embedded DartPad."