The page build failed for the `gh-pages` branch with the following error: The tag `{%` on line 419 in `docs/ir_examples/dynamic-mhlo-dot-vmla.md` was not properly closed with `%}`. For more information, see https://docs.github.com/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#tag-not-properly-terminated. For information on troubleshooting Jekyll see: https://docs.github.com/articles/troubleshooting-jekyll-builds If you have any questions you can submit a request at https://support.github.com/contact?repo_id=208145128&page_build_id=240128759 You can also see the failure in the project settings tab: https://github.com/google/iree/settings
Activity
ScottTodd commentedon Mar 24, 2021
One of the problematic lines is
this is within a code block, but some preprocessor through Jekyll is still seeing
{%and thinking "oh! that's for me! ... wait, where's the%}?".benvanik commentedon Mar 24, 2021
🤦
{%DROP ALL TABLES...ScottTodd commentedon Mar 24, 2021
One idea to try: https://stackoverflow.com/questions/24102498/escaping-double-curly-braces-inside-a-markdown-code-block-in-jekyll. Maybe we could also escape the
{%s explicitly.ScottTodd commentedon Mar 24, 2021
Okay, I don't quite understand
sedwell enough to #testinprod a fix to https://github.com/google/iree/blob/46e8331f0ac66c75e0f9ac789e9397e93d36d12f/build_tools/cmake/build_docs.sh#L104-L109so I think I'll need to build the docs locally (see instructions here) to iterate a bit. Unless someone else wants to try ;D
It looks like wrapping our code blocks there with
{% raw %} ... {% endraw %}should do the trick.Fix doc publication by escaping our IR snippets in markdown. (#5227)
antiagainst commentedon Mar 30, 2021
Thanks @ScottTodd for fixing this! :D