Skip to content

Add view_uri setting, similar to edit_uri #77

@squidfunk

Description

@squidfunk

Description

The repo_url and edit_uri setting allow to provide a button in the documentation that directly takes the user to an editor where the current viewed page is open for edits, making it trivial to enable drive-by contributions. Zensical also supports a "view source" button, which replaces part of the computed edit_url, as inherited from Material for MkDocs. However, this only works reliably for GitHub. We should allow to add further opportunities of interaction like a view_uri, and potentially more, moving away from hacks and inference.

Related


Tip

Subscribe to this issue to get notified when the status of this item changes, or this functionality becomes available.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Submitted

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions