You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When Running pana 0.22.0 on a repository of mine, since the update it fails on the "Provide documentation" step with the error described above. This leads to pana not giving those 10 points to the package. Logs attached below.
Full logs of the step:
## ✗ Provide documentation (10 / 20)
### [x] 0/10 points: 20% or more of the public API has dartdoc comments
ERR:
Could not find an option named "sanitize-html".
Usage: dart doc [arguments] [<directory>]
-h, --help Print this usage information.
-o, --output=<directory> Configure the output directory.
(defaults to "doc/api")
--validate-links Display warnings for broken links. Incompatible with --dry-run.
--dry-run Try to generate the docs without saving them.
Run "dart help" to see global options.
### [*] 10/10 points: Package has an example
The core of the issue was a change where an unspecified --dartdoc-version parameter caused the fallback to the SDK's dartdoc - which did not have the --sanitize-html CLI parameter yet. I'm fixing this in #1343.
If you need to have a more urgent fix, use --dartdoc-version 8.0.5 in you CI for the time being.
When Running pana 0.22.0 on a repository of mine, since the update it fails on the "Provide documentation" step with the error described above. This leads to pana not giving those 10 points to the package. Logs attached below.
Full logs of the step:
Link to the full CI-Run: https://github.com/Skycoder42/libsodium_dart_bindings/actions/runs/7854362334/job/21435001392
Older Run with pana 0.21.45 that still worked (no code was changed): https://github.com/Skycoder42/libsodium_dart_bindings/actions/runs/7822458790/job/21341540845
Versions:
The text was updated successfully, but these errors were encountered: