Skip to content

Relative reference support #13

Description

@SamWilsn

Currently docc supports absolute references with the form [link text](ref:ethereum.frontier.blocks.Header.difficulty). It's a pain to have to write out the full path to types when they could be resolved relatively, like for example:

class Foo:
    """
   This a some cool class documentation.
    """

    def some_function(self):
        """
        See [`Foo`](ref:Foo) for more details.
        """

I'm not exactly sure what the final form of this would look like. You might want to use a different prefix (py:Foo) or something else entirely.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions