package.elm-lang.org icon indicating copy to clipboard operation
package.elm-lang.org copied to clipboard

UnknownBlock found in docs

Open MartinSStewart opened this issue 6 years ago • 6 comments
trafficstars

It seems that yinYang} does not have any docs. Please open a bug report here with the title “UnknownBlock found in docs” and with a link to this page in the description.

https://package.elm-lang.org/packages/lattyware/elm-fontawesome/latest/FontAwesome-Solid

MartinSStewart avatar Aug 06 '19 08:08 MartinSStewart

It seems to work fine now, so maybe it was a cache issue.

rlefevre avatar Aug 06 '19 09:08 rlefevre

I tried refreshing the cache just now but it is still visible.

Edit: The problem appears on my Mac using both Firefox and Chrome, and on my iPhone using Safari

MartinSStewart avatar Aug 06 '19 09:08 MartinSStewart

This is strange, when I click your link above, I get:

fontawesome

rlefevre avatar Aug 06 '19 10:08 rlefevre

The message appears at the very bottom of the page.

Screen Shot 2019-08-06 at 12 14 16 PM

MartinSStewart avatar Aug 06 '19 10:08 MartinSStewart

Ah ok sorry :+1:

rlefevre avatar Aug 06 '19 10:08 rlefevre

This comes from a spurious } character at the end of the long @docs declaration in https://github.com/Lattyware/elm-fontawesome/blob/60fd4e0ac82a1e76b41fe8f25daf6e4a736cd07f/src/FontAwesome/Solid.elm#L8:

@docs ad, addressBook, addressCard, adjust, ..., yenSign, yinYang}

So the issue comes from the package, but the compiler could have prevented it by detecting the syntax error.

rlefevre avatar Aug 07 '19 22:08 rlefevre