jneug / typst-mantys

Template for documenting Typst Packages and Templates.
MIT License
41 stars 5 forks source link

Fix missing types in signatures #10

Closed tingerrr closed 7 months ago

tingerrr commented 7 months ago

Resolves #9 by adding a missing else branch for types that have no Typst documentation links.

I'm not sure if this is actually correct, it seemed that some types were missing even when they had a Typst docs link, so the type map was not complete.

tingerrr commented 7 months ago

I've added content too, for now I haven't found a page or auto or none, this is consistent with the docs' website which doesn't link to those, but the other types.

tingerrr commented 7 months ago

I have gone ahead and also fixed the highlighting for str by renaming string to str and adding a type mapping from string to str. Since the docs refer str not string.

jneug commented 7 months ago

Thanks. Looks good.