Documentation needs access to original type definition for type aliases #745
Labels
documentation
Improvements or additions to documentation
enhancement
New feature or request
help wanted
Extra attention is needed
By time the doc generation run ends, we have a type checked AST. This is awesome because it's easy to know for any name, what package etc it is in and allows for easy cross linkage in documentation. However, for type aliases instead of putting the alias like:
Compare
we instead get
(Less | Equal | Greater)
which is the fully type checked version of
type Compare is (Less | Equal | Greater)
It would enhance the documentation if we had a full type checked AST but access still to the original type alias (so we could use it instead and easily link to it).
The text was updated successfully, but these errors were encountered: