Skip to content

optionally persist implicit targets in objects.inv #1029

@mikemckiernan

Description

@mikemckiernan

Describe the feature you'd like to request

Any appetite to persist the implicit targets in the objects.inv file?

It's clearly some overlap with autosectionlabel. The key difference is that the intersphinx references in other projects would more closely resemble the local project references.

I haven't looked too closely at what it would take, but I'd be willing to if the thought has any traction.

Describe the solution you'd like

By enabling some myst_-prefixed option, the objects.inv file includes the implicit link targets according to the myst_heading_anchors value.

A link target within the project, such as [](somefile.md#general-options) would more closely resemble an intersphinx reference like {external+other-proj:ref} general-options. (Cowardly skipping the fight to render nested backticks.)

Describe alternatives you've considered

I suppose an alternative is to update autosectionlabel to use the slugging function from this package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions