Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
66e3f9d8
Unverified
Commit
66e3f9d8
authored
Feb 27, 2018
by
jcollins-g
Committed by
GitHub
Feb 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade dartdoc to 0.17.0 (#14929)
parent
29d59e3c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
docs.sh
dev/bots/docs.sh
+1
-1
dartdoc.dart
dev/tools/dartdoc.dart
+7
-0
No files found.
dev/bots/docs.sh
View file @
66e3f9d8
...
...
@@ -21,7 +21,7 @@ if [ -d "$FLUTTER_PUB_CACHE" ]; then
fi
# Install dartdoc.
bin/cache/dart-sdk/bin/pub global activate dartdoc 0.1
6
.0
bin/cache/dart-sdk/bin/pub global activate dartdoc 0.1
7
.0
# This script generates a unified doc set, and creates
# a custom index.html, placing everything into dev/docs/doc.
...
...
dev/tools/dartdoc.dart
View file @
66e3f9d8
...
...
@@ -115,6 +115,11 @@ Future<Null> main(List<String> arguments) async {
if
(
args
[
'json'
])
{
dartdocBaseArgs
.
add
(
'--json'
);
}
if
(
args
[
'validate-links'
])
{
dartdocBaseArgs
.
add
(
'--validate-links'
);
}
else
{
dartdocBaseArgs
.
add
(
'--no-validate-links'
);
}
// Generate the documentation.
final
List
<
String
>
dartdocArgs
=
<
String
>[]..
addAll
(
dartdocBaseArgs
)..
addAll
(<
String
>[
'--header'
,
'styles.html'
,
...
...
@@ -179,6 +184,8 @@ ArgParser _createArgsParser() {
help:
'Run dartdoc in checked mode.'
);
parser
.
addFlag
(
'json'
,
negatable:
true
,
help:
'Display json-formatted output from dartdoc and skip stdout/stderr prefixing.'
);
parser
.
addFlag
(
'validate-links'
,
negatable:
true
,
help:
'Display warnings for broken links generated by dartdoc (slow)'
);
return
parser
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment