Skip to content
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

Add support for a dartdoc_options.yaml. #1638

Merged
merged 27 commits into from
Mar 20, 2018
Merged

Conversation

jcollins-g
Copy link
Contributor

Mostly scaffolding and basic loading tests for a dartdoc options file. This doesn't port any existing options over, instead creating only one to support #1610. Porting command line options over and making the dartdoc_options file interact with command line options will be done later.

@googlebot googlebot added the cla: yes Google CLA check succeeded. label Mar 19, 2018

import 'logging.dart';

Map<String, DartdocOptions> _dartdocOptionsCache = {};
Copy link
Member

Choose a reason for hiding this comment

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

final?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done


import 'dart:io';

import 'package:path/path.dart' as p;
Copy link
Member

Choose a reason for hiding this comment

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

I personally avoid single letter as imports

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, they're not great. I just obliterated them all, replacing the inconsistent imports of path as path/p/etc with "pathLib".

@jcollins-g jcollins-g merged commit 44dfb15 into master Mar 20, 2018
@jcollins-g jcollins-g deleted the dartdoc-options-yaml branch March 20, 2018 19:37
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