2018-10-23 20:50:24 +00:00
|
|
|
# This file is used by dartdoc when generating API documentation for Flutter.
|
|
|
|
dartdoc:
|
2018-11-07 16:29:14 +00:00
|
|
|
# Before you can run dartdoc, the snippets tool needs to have a snapshot built.
|
|
|
|
# The dev/tools/dartdoc.dart script does this automatically.
|
2018-10-23 20:50:24 +00:00
|
|
|
tools:
|
|
|
|
snippet:
|
2020-01-08 23:28:02 +00:00
|
|
|
command: ["dev/snippets/lib/main.dart", "--type=snippet"]
|
|
|
|
description: "Creates sample code documentation output from embedded documentation samples."
|
2018-10-23 20:50:24 +00:00
|
|
|
sample:
|
2018-11-28 06:31:49 +00:00
|
|
|
command: ["dev/snippets/lib/main.dart", "--type=sample"]
|
2020-01-08 23:28:02 +00:00
|
|
|
description: "Creates full application sample code documentation output from embedded documentation samples."
|
2019-09-10 15:36:14 +00:00
|
|
|
dartpad:
|
2020-01-08 23:28:02 +00:00
|
|
|
command: ["dev/snippets/lib/main.dart", "--type=sample", "--dartpad"]
|
|
|
|
description: "Creates full application sample code documentation output from embedded documentation samples and displays it in an embedded DartPad."
|
2020-07-23 15:29:46 +00:00
|
|
|
errors:
|
2020-07-30 21:11:23 +00:00
|
|
|
# Default errors of dartdoc:
|
2020-07-28 23:11:04 +00:00
|
|
|
- duplicate-file
|
|
|
|
- invalid-parameter
|
2020-09-22 19:57:13 +00:00
|
|
|
- no-defining-library-found
|
2020-07-28 23:11:04 +00:00
|
|
|
- tool-error
|
|
|
|
- unresolved-export
|
2020-07-30 21:11:23 +00:00
|
|
|
# Warnings that are elevated to errors:
|
2020-07-28 23:11:04 +00:00
|
|
|
- ambiguous-doc-reference
|
|
|
|
- ambiguous-reexport
|
2020-07-30 21:11:23 +00:00
|
|
|
- broken-link
|
|
|
|
- category-order-gives-missing-package-name
|
2020-09-22 19:57:13 +00:00
|
|
|
- deprecated
|
2020-07-28 23:11:04 +00:00
|
|
|
- ignored-canonical-for
|
2020-07-30 21:11:23 +00:00
|
|
|
- missing-from-search-index
|
2020-07-28 23:11:04 +00:00
|
|
|
- no-canonical-found
|
2020-10-07 15:47:05 +00:00
|
|
|
- no-documentable-libraries
|
2020-07-28 23:11:04 +00:00
|
|
|
- no-library-level-docs
|
2020-07-30 21:11:23 +00:00
|
|
|
- not-implemented
|
2020-07-31 17:01:03 +00:00
|
|
|
- orphaned-file
|
2020-07-28 23:11:04 +00:00
|
|
|
- reexported-private-api-across-packages
|
2020-09-22 19:57:13 +00:00
|
|
|
# - unknown-directive # Disabled due to https://github.com/dart-lang/dartdoc/issues/2353
|
2020-07-28 23:11:04 +00:00
|
|
|
- unknown-file
|
2020-07-31 17:01:03 +00:00
|
|
|
- unknown-macro
|
2020-07-30 21:11:23 +00:00
|
|
|
- unresolved-doc-reference
|