-
Notifications
You must be signed in to change notification settings - Fork 119
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
Conversation
…e truly need this
lib/src/dartdoc_options.dart
Outdated
|
||
import 'logging.dart'; | ||
|
||
Map<String, DartdocOptions> _dartdocOptionsCache = {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
final
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
lib/src/dartdoc_options.dart
Outdated
|
||
import 'dart:io'; | ||
|
||
import 'package:path/path.dart' as p; |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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".
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.