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 check_img_http to README #372

Merged
merged 2 commits into from
Jan 17, 2017
Merged

Conversation

mlinksva
Copy link
Contributor

Documented on command line at

p.option 'check_img_http', '--check-img-http', 'Fails an image if it\'s marked as `http` (default: `false`).'
but not in readme.

Copy link
Owner

@gjtorikian gjtorikian left a comment

Choose a reason for hiding this comment

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

Thanks!

@@ -219,6 +219,7 @@ The `HTMLProofer` constructor takes an optional hash of additional options:
| `check_favicon` | Enables the favicon checker. | `false` |
| `check_opengraph` | Enables the Open Graph checker. | `false` |
| `check_html` | Enables HTML validation errors from Nokogiri | `false` |
| `check_img_http` | Fails an image if it's marked as http | `false` |
Copy link
Owner

Choose a reason for hiding this comment

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

You'll need to wrap this in http to get the test to pass. ✌️ (The test ensures the command line and README have the same documentation.)

@mlinksva
Copy link
Contributor Author

OK, I'm silly for using the web editor. Will get to pass tests locally before adding more noise.

@gjtorikian
Copy link
Owner

Nah, you're good. The other failing test seems to be a fluke. Thanks!

@gjtorikian gjtorikian merged commit d0c452b into gjtorikian:master Jan 17, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants