Tighten up the `gen_docs.dart` script. (dart-lang/lints#187)
Move some functionality into helper functions, to make the overall logic
easier to read. Extracted constants, added comments.
Make the script work when called from any directory (finds package
root relative to `Platform.script`, instead of assuming current
working directory is the root.)
Remove dependency on `package:collection` which was only used for
one function, in code that was restructured.
General functionality should still be the same (the generated output
and JSON cache haven't changed).
2 files changed
tree: 51711aa9e111c4cd636e11b501b1b0562c3236c4
- pkgs/