Skip to content

painless-software/docker-html5validator

Repository files navigation

html5validator

dockeri.co

MIT License GitHub issues GitHub PRs

Convenience wrapper for the html5validator Python package that can validate HTML, CSS and SVG files. Packs all required dependencies into a container image that you can use with your CI/CD pipeline.

Supported Tags

  • latest
  • 0.4.2
  • 0.4.0

Usage

Validate all HTML, CSS and SVG files in your current local directory and its subfolders:

docker run --rm -v $(pwd):/app:ro painless/html5validator

Validate your repository's HTML, CSS and SVG files, located in a html folder, with GitLab CI:

# .gitlab-ci.yml

html5validator:
  image: painless/html5validator
  script: html5validator --root html/ --also-check-css --also-check-svg --show-warnings

Obviously, the use is similar with other CI services.

Development

About

html5validator CLI in a Docker image

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •