Skip to content
This repository was archived by the owner on Apr 9, 2025. It is now read-only.
This repository was archived by the owner on Apr 9, 2025. It is now read-only.

Move from overridden domains to a custom role #14

@agjohnson

Description

@agjohnson

Instead of using a custom role, this extension is using overrides on domains, which is going to introduce problems with reference resolution as Sphinx has multiple Python and Standard domains.

Couldn't this instead implement our own custom role, instead of repurposing XRefRole and having to catch reference resolution in every domain?
https://github.com/readthedocs/sphinx-hoverxref/blob/master/hoverxref/extension.py#L176-L184

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions