Skip to content

Warn if doc/api/index.html exists when publishing (an artifact of dartdoc) #2095

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

Open
jonasfj opened this issue Mar 8, 2019 · 1 comment
Labels
type-enhancement A request for a change that isn't a bug

Comments

@jonasfj
Copy link
Member

jonasfj commented Mar 8, 2019

If there is an doc/api/index.html we should offer a suggestion that dartdoc results should not be included in the uploaded package.

Credits @isoos in dart-lang/pana#521 for suggesting this.

@jonasfj jonasfj added the type-enhancement A request for a change that isn't a bug label Mar 8, 2019
@sigurdm
Copy link
Contributor

sigurdm commented Nov 7, 2024

Still relevant. I think we should add it to the implicit gitignores here:

static final _basicIgnoreRules = [

@jonasfj thinks it is too risky in case somebody wrote some actual (non-dartdoc) documentation in doc/api, and a warning is better.

Until now there is no way to explicitly ignore a warning.

Usually people will see these files in git status and add a gitignore anyway.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

2 participants