Skip to content
This repository was archived by the owner on May 20, 2023. It is now read-only.
This repository was archived by the owner on May 20, 2023. It is now read-only.

Can't generate dartdoc for v0.9.0-alpha+2 due to analysis errors #207

Closed
@chalin

Description

@chalin

Here is the log output.

acx > pub global run dartdoc --output doc/api
Generating documentation for 'angular_components' into /Users/chalin/git/dart/angular_components/doc/api/
parsing lib/angular_components.dart...
...
parsing lib/utils/rate_limit_utils/rate_limit_utils.dart...
parsing lib/utils/strings/string_utils.dart...
parsing /opt/homebrew/Cellar/dart/2.0.0-dev.15.0/libexec/lib/_internal/js_runtime/lib/interceptors.dart...
analysis errors from source: package:angular_components/mixins/highlight_assistant_mixin.dart (/Users/chalin/git/dart/angular_components/lib/mixins/highlight_assistant_mixin.dart
[error] Target of URI hasn't been generated: 'package:angular_components/highlighted_text/highlighted_value.template.dart'. at lib/mixins/highlight_assistant_mixin.dart, line 7.

Generation failed: encountered 1 analysis error.

But the analysis_options.yaml file contains:

analyzer:
  strong-mode: true
  errors:
    ...
    uri_has_not_been_generated: ignore

I'm using:

  • SDK 2.0.0-dev.15.0
  • Dartdoc 0.15.0+1

cc @kwalrath @jcollins-g

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions