mirror of
https://github.com/flutter/flutter
synced 2024-11-05 18:37:51 +00:00
9d878ca493
Now that dartdoc automatically generates snapshots for external dart tools, I can remove my path hack from the dartdoc_options.yaml file. This will allow other packages to again build dartdocs (e.g. plugins) that link to Flutter's dartdocs, and allow me to re-enable dartdoc's cross-linking test that was disabled because of this hack.
11 lines
607 B
YAML
11 lines
607 B
YAML
# This file is used by dartdoc when generating API documentation for Flutter.
|
|
dartdoc:
|
|
# Before you can run dartdoc, the snippets tool needs to have a snapshot built.
|
|
# The dev/tools/dartdoc.dart script does this automatically.
|
|
tools:
|
|
snippet:
|
|
command: ["dev/snippets/lib/main.dart", "--type=application"]
|
|
description: "Creates application sample code documentation output from embedded documentation samples."
|
|
sample:
|
|
command: ["dev/snippets/lib/main.dart", "--type=sample"]
|
|
description: "Creates sample code documentation output from embedded documentation samples."
|