Skip to content

Doc build failing on generated ir_examples #5124

Closed

Activity

  1. added
    documentation
    infrastructure
    on Mar 16, 2021
  2. ScottTodd commented on Mar 24, 2021

    @ScottTodd
    Member

    One of the problematic lines is

        %20 = flow.dispatch @dot_ex_dispatch_0::@dot_ex_dispatch_0[%5](%8, %9, %6, %10, %11, %7, %12, %13) : (index, index, tensor<?x?xf32>{%14, %15}, index, index, tensor<?x?xf32>{%16, %17}, index, index) -> tensor<?x?xf32>{%18, %19}
    

    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 %}?".

  3. benvanik commented on Mar 24, 2021

    @benvanik
    Collaborator

    🤦

    {%DROP ALL TABLES...

  4. ScottTodd commented on Mar 24, 2021

    @ScottTodd
    Member

    Okay, I don't quite understand sed well enough to #testinprod a fix to https://github.com/google/iree/blob/46e8331f0ac66c75e0f9ac789e9397e93d36d12f/build_tools/cmake/build_docs.sh#L104-L109

    so 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.

  5. self-assigned this
    on Mar 24, 2021
  6. antiagainst commented on Mar 30, 2021

    @antiagainst
    Member

    Thanks @ScottTodd for fixing this! :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentationinfrastructure

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions