Skip to content

Ignored EditURLs in @meta-block #168

Open
@agdestein

Description

@agdestein

Literate.jl automatically converts .jl files to Documenter .md files.
This adds something like the following block in top of the .md file:

```@meta
EditURL = "../../../examples/script_source_file.jl"
```

When the files are then built with normal Documenter, clicking the Edit this page redirects to script_source_file.jl instead of generated_markdown_file_which_does_not_exist.md (this can be tried on the link on this page which redirects to this source file).

With DocumenterVitepress, this EditURL seems to be ignored, see for example the Edit this page on GitHub button at the bottom of the Literated page https://lux.csail.mit.edu/stable/tutorials/beginner/1_Basics which should point to https://github.com/LuxDL/Lux.jl/blob/main/examples/Basics/main.jl.

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