sitegeist / kaleidoscope-wtf
用于更好地理解 Sitegeist.Kaleidoscope 图像渲染的工具
dev-main
2022-03-26 18:00 UTC
Requires
- neos/flow: *
- sitegeist/kaleidoscope: ~6.0 || dev-master
This package is auto-updated.
Last update: 2024-08-26 23:22:03 UTC
README
用于更好地理解 Sitegeist.Kaleidoscope 图像渲染的工具
此包为 Sitegeist.Kaleidoscope 添加了调试模式,用 DummyImageSources 替换所有图像源,同时保留现有尺寸。
这样就可以在不使用 Sitegeist.Monocle 风格指南的情况下,通过使用与实际网站相同的渲染路径来评估生成的图像渲染和选择的大小。
作者和赞助商
- Martin Ficzel - ficzel@sitegeist.de
此包的开发和公开发布得到了我们雇主 http://www.sitegeist.de 的慷慨赞助。
安装
Sitegeist.Kaleidoscope.Wtf 通过 packagist 提供,运行 composer require --dev sitegeist/kaleidoscope-wtf
。我们使用语义版本控制,每次重大变更都会增加主版本号。
!!! 这应该只临时安装或作为开发依赖项。这段代码不应该部署到生产服务器 !!!
用法
默认情况下,DummyImages 的强制执行是禁用的,必须通过设置启用。
Sitegeist:
Kaleidoscope:
Wtf:
enforceDummyImages: true
贡献
我们乐意接受贡献。请发送给我们 pull request。