Skip to content

Don't link function names to Diagrams.Prelude #1

@byorgey

Description

@byorgey

When docutils is used to generate the diagrams user manual, it automatically creates a link from every mention of a function exported by diagrams to its documentation. However, sometimes (but not all the time?) the link goes to Diagrams.Prelude (which re-exports everything) instead of the module where the function is defined. In some sense this is even worse than having no link at all.

A way to specify a special-case exception would be one way to solve it, but even better would be to solve it more fundamentally -- to figure out how to make sure a link goes to the module in which an identifier is defined, rather than some arbitrarily determined module from which it is exported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions