当我尝试在有自己页面的Github上更新项目时,收到了以下电子邮件:
The page build failed for the `master` branch with the following error:
The tag `raw` on line 888 in `functions/node_modules/eslint/CHANGELOG.md` was
not properly closed. For more information, see
https://help.github.com/articles/page-build-failed-tag-not-properly-closed/.
For information on troubleshooting Jekyll see:
https://help.github.com/articles/troubleshooting-jekyll-builds
If you have any questions you can contact us by replying to this email.
它所指的代码行是:
* aafebb2 Docs: Wrap placeholder sample in {% raw %} (#7798) (Daniel Lo Nigro)
我对Jekyll一无所知,也找不到不需要我的答案。你能帮我吗?
答案 0 :(得分:1)
在2017年的某个时候,在文件的开头(紧随其后)写入
mat-panel-title { width:100%;} mat-panel-title .d-flex { width:100%; float:right;} mat-panel-title .d-flex span {float:right; }
并在文件末尾写入{% raw %}
是违法的。
但这仅发生在GitHub上的Jekyll 3.5.2上,而不是我在本地计算机上安装的Jekyll 3.5.2上。
如果您不能在添加{% endraw %}
之后立即添加{% endraw %}
的Changelog,请检查是否可以避免在项目中包含该文件。