1. 20 Nov, 2023 1 commit
  2. 20 Oct, 2023 1 commit
    • Michael Goderbauer's avatar
      Bump dartdoc to 7.0.1 and clean-up (#136975) · 997a94fd
      Michael Goderbauer authored
      These warnings/errors have been removed from dartdoc. Removing them from the flutter config as well.
      
      Also fixes CI to actually test doc generation for all documented packages and on dartdoc config changes.
      997a94fd
  3. 29 Aug, 2023 1 commit
  4. 17 Aug, 2023 1 commit
  5. 16 Aug, 2023 1 commit
  6. 15 Aug, 2023 1 commit
    • Greg Spencer's avatar
      Reorganize and clarify API doc generator (#132353) · 899a29f8
      Greg Spencer authored
      ## Description
      
      This cleans up a lot of issues with the API doc generation.
      
      Here are the main changes:
       - Rename `dartdoc.dart` to `create_api_docs.dart`
       - Move the bulk of the operations out of `dev/bots/docs.sh` into `create_api_docs.dart`.
       - Delete `dashing_postprocess.dart` and `java_and_objc.dart` and incorporate those operations into `create_api_docs.dart`.
       - Refactor the doc generation into more understandable classes
       - Bump the snippets tool version to 0.4.0 (the latest one)
       - Centralize the information gathering about the Flutter repo into the new `FlutterInformation` class.
       - Clean up the directory handling, and convert to using the `file` package for all file and directory paths.
       - Add an `--output` option to docs.sh that specifies the location of the output ZIP file containing the docs.
         - Defaults to placing the output in `dev/docs/api_docs.zip` (i.e. where the previous code generates the file).
       - Moved all document generation into a temporary folder that is removed once the documents are generated, to avoid VSCode and other IDEs trying to index the thousands of HTML and JS files in the docs output.
       - Updated pubspec dependencies.
      
      ## Tests
       - Added tests for doc generation.
      899a29f8
  7. 08 Jun, 2023 1 commit
  8. 26 May, 2023 1 commit
  9. 27 Apr, 2023 1 commit
    • Janice Collins's avatar
      Update dartdoc to v6.2.2. (#125650) · fb36bba3
      Janice Collins authored
      This PR updates the dartdoc version to v6.2.2.
      
      Release notes:  https://github.com/dart-lang/dartdoc/releases/tag/v6.2.2
      
      The main impact for Flutter is to update dartdoc to add chips to class and/or mixin pages for class modifiers.  See dart-lang/dartdoc#3391, dart-lang/dartdoc#3402.   This will also be a cherry-pick candidate for 3.1 if it can land in time.
      
      - [ test-exempt ] I added new tests to check the change I am making, or this PR is [test-exempt].
      fb36bba3
  10. 24 Mar, 2023 1 commit
  11. 22 Mar, 2023 1 commit
  12. 17 Feb, 2023 1 commit
  13. 16 Dec, 2022 1 commit
  14. 13 Dec, 2022 1 commit
  15. 09 Dec, 2022 3 commits
  16. 06 Dec, 2022 1 commit
  17. 02 Dec, 2022 1 commit
  18. 29 Sep, 2022 1 commit
  19. 16 Sep, 2022 1 commit
  20. 06 Jul, 2022 1 commit
  21. 19 May, 2022 1 commit
  22. 13 May, 2022 1 commit
  23. 12 May, 2022 1 commit
  24. 13 Apr, 2022 1 commit
  25. 25 Feb, 2022 1 commit
  26. 24 Nov, 2021 1 commit
  27. 26 Oct, 2021 1 commit
  28. 04 Oct, 2021 3 commits
    • Janice Collins's avatar
      Update dartdoc to 4.0.0 (#91252) · 35fe52cb
      Janice Collins authored
      35fe52cb
    • Greg Spencer's avatar
      Force building of snippets package executable. (#91110) · 7b8a3c1b
      Greg Spencer authored
      This fixes an issue with the Dart Head-Head-Head CI bot, where it was seeing failures because of concurrent execution of the snippets tool.
      
      It adds a single run of the snippets tool right after activation to force the compiling of the package executable, which is what has trouble with concurrent invocation.
      
      This is a temporary measure until dart pub global run is fixed.
      7b8a3c1b
    • Greg Spencer's avatar
      Clean up examples, remove section markers and --template args (#91133) · fd9ce277
      Greg Spencer authored
      This does a cleanup of the examples, removing all of the "section" markers and extra comments that we don't need anymore now that the samples are no longer in the source code. It also removes the --template arguments from the {@tool dartpad} and {@tool sample} directives, since those are no longer used. It converts two examples that I discovered were still embedded into linked examples in the examples folder.
      
      I didn't delete the templates from the snippets config folder yet, because there are still embedded samples in the dart:ui package from the engine that use them. Once dart:ui no longer uses the templates, they can be removed.
      
      I bumped the version of the snippets package to pick up a change that allows removal of the --template argument.
      fd9ce277
  29. 24 Sep, 2021 1 commit
  30. 08 Sep, 2021 1 commit
  31. 30 Aug, 2021 1 commit
  32. 23 Aug, 2021 1 commit
  33. 13 Aug, 2021 1 commit
  34. 12 Aug, 2021 1 commit
    • Greg Spencer's avatar
      Switch document generation to use the snippets package (#87231) · 10e4b040
      Greg Spencer authored
      Switch document generation to use the snippets package instead of the snippets code in the Flutter repo. In the process, some bugs in sample code analysis have been fixed, and I've fixed some more errors in the samples.
      
      This will allow the snippets package to be developed separately from the Flutter repo, and reduce the code in the Flutter repo.
      
      The snippets code is deleted in this PR.
      
      I also converted some comments in the snippet templates to be regular comments instead of doc comments, because having a doc comment block before the imports causes the Dart import sorter to lose the comment. They should have been regular comments in the first place.
      
      The snippets package resides in the assets-for-api-docs repo.
      
      The sample analysis has also been converted to be run in parallel, and I've bumped the Dartdoc version to 1.0.2.
      10e4b040
  35. 29 Jun, 2021 1 commit
    • Janice Collins's avatar
      Update dartdoc to 1.0.0 (#85549) · 0825f49e
      Janice Collins authored
      This includes some major internal changes that should improve performance (the AOT template compiler) and the new lookup code. The big changes noticeable for Flutter will be resolution of field formal parameters, extension method support, and more consistent disambiguation in comment reference lookups.
      
      While a vast net improvement, this PR will change a few links to point to the wrong place. #85484 will address that after this lands, as there was no good way to specify what the user wanted unambiguously before dartdoc 1.0.0 in a few cases. That PR includes more details on the introduced regressions and link changes.
      0825f49e
  36. 07 Jun, 2021 1 commit