Skip to content

Commit

Permalink
Run dart run dartdoc instead of dartdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
nex3 committed May 18, 2022
1 parent 63fe404 commit ad31ae3
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -183,11 +183,11 @@ jobs:
- uses: dart-lang/setup-dart@v1
- run: dart pub get
- name: dartdoc sass
run: dartdoc --quiet --no-generate-docs
run: dart run dartdoc --quiet --no-generate-docs
--errors ambiguous-doc-reference,broken-link,deprecated
--errors unknown-directive,unknown-macro,unresolved-doc-reference
- name: dartdoc sass_api
run: cd pkg/sass_api && dartdoc --quiet --no-generate-docs
run: cd pkg/sass_api && dart run dartdoc --quiet --no-generate-docs
--errors ambiguous-doc-reference,broken-link,deprecated
--errors unknown-directive,unknown-macro,unresolved-doc-reference

Expand Down
3 changes: 3 additions & 0 deletions pkg/sass_api/pubspec.yaml
Expand Up @@ -12,5 +12,8 @@ environment:
dependencies:
sass: 1.52.0

dev_dependencies:
dartdoc: ^5.0.0

dependency_overrides:
sass: {path: ../..}
3 changes: 2 additions & 1 deletion pubspec.yaml
Expand Up @@ -32,11 +32,12 @@ dependencies:
http: ^0.13.3

dev_dependencies:
analyzer: ^2.4.0
analyzer: ^3.0.0
archive: ^3.1.2
cli_pkg: ^2.1.0
crypto: ^3.0.0
dart_style: ^2.0.0
dartdoc: ^5.0.0
grinder: ^0.9.0
node_preamble: ^2.0.0
lints: ^1.0.0
Expand Down

0 comments on commit ad31ae3

Please sign in to comment.