hhvm / hh-apidoc

An API documentation generator for Hack files, which start with 'hh'.
MIT License
10 stars 7 forks source link

Improve `Facebook\HHAPIDoc\MarkdownExt\AutoLinkifyFilter` #28

Open fredemmott opened 6 years ago

fredemmott commented 6 years ago

This filters code spans to automatically turn types into links - for example:

`MyClass` already becomes a link to "MyClass"'s documentation page
`MyClass<MyOtherClass>` should link to both `MyClass` and `MyOtherClass`'s documentation pages
`"foo": MyClass` should link to `MyClass`'s documentation page