-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ignored EditURL
s in @meta
-block
#168
Comments
Ah that's the problem I'm getting. Should be fixable, I don't think DV looks at page.meta yet. |
It looks like Vitepress doesn't allow per-page |
We might have to parse all the meta blocks accumulate the edit links and insert a function like https://vitepress.dev/reference/default-theme-edit-link |
Ah I missed that part of the docs! That should be easy then - we already have that in each |
Literate.jl automatically converts
.jl
files to Documenter.md
files.This adds something like the following block in top of the
.md
file:When the files are then built with normal Documenter, clicking the
Edit this page
redirects toscript_source_file.jl
instead ofgenerated_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 theEdit 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.The text was updated successfully, but these errors were encountered: