Skip to content

Centralize all file writing in HtmlGeneratorInstance #1538

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2017

Conversation

kevmoo
Copy link
Member

@kevmoo kevmoo commented Nov 6, 2017

Everything gets logged.
Everything gets checked for dupes.
Much easier to add 'no-op' support to validate code structure without writing the output

Related to #1537

@googlebot googlebot added the cla: yes Google CLA check succeeded. label Nov 6, 2017
Everything gets logged.
Everything gets checked for dupes.
Much easier to add 'no-op' support to validate code structure without
  writing the output
@kevmoo kevmoo force-pushed the centralize_writing branch from 1e78745 to ad58e3b Compare November 6, 2017 17:01
@kevmoo kevmoo requested a review from jcollins-g November 6, 2017 17:01
Copy link
Contributor

@jcollins-g jcollins-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this obsoletes the hack at: https://github.com/dart-lang/dartdoc/blob/master/lib/dartdoc.dart#L274

to handle static assets separately in the link checker. Can you clean that up as part of this PR?

@kevmoo
Copy link
Member Author

kevmoo commented Nov 6, 2017

Can you clean that up as part of this PR?

Just that one if(...) condition?

@kevmoo kevmoo force-pushed the centralize_writing branch from ad58e3b to 4dd0e03 Compare November 6, 2017 18:18
@jcollins-g
Copy link
Contributor

Unfortunately, looking at the output from flutter on travis, the link checker doesn't like that.

@kevmoo kevmoo force-pushed the centralize_writing branch from 4dd0e03 to ad58e3b Compare November 6, 2017 19:37
@kevmoo
Copy link
Member Author

kevmoo commented Nov 6, 2017

Unfortunately, looking at the output from flutter on travis, the link checker doesn't like that.

Yup. Reverted. If means a fail, we should update the test to fail in that case...

@kevmoo
Copy link
Member Author

kevmoo commented Nov 6, 2017

@jcollins-g – LGTY?

Copy link
Contributor

@jcollins-g jcollins-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@kevmoo kevmoo merged commit b299577 into master Nov 6, 2017
@kevmoo kevmoo deleted the centralize_writing branch November 6, 2017 21:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Google CLA check succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants