An error occurred while loading commit signatures
  • Greg Spencer's avatar
    Remove snippets snapshotting hack from dartdoc generation. (#24812) · 9d878ca4
    Greg Spencer authored
    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.
    9d878ca4
dartdoc_options.yaml 607 Bytes
# 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."