-
Notifications
You must be signed in to change notification settings - Fork 491
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
Allow linking of files not in docs directory as pages in makedocs #551
Comments
Currently I think it would be nice to be explicit about it though and not rely simply on relative links. So I would propose wrapping it in a separate function (similar to the current makedocs(
# ...
pages=[
"Contibuting" => external("../CONTRIBUTING.md"),
]
) Not sure what a good name for the function would be. |
For others who run into this issue, I've had success using symlinks for precisely this purpose. I navigate to the |
I think with symlinks the edit links won't quite point to the right place though, so you may still want to have |
Rather than bringing in external source files, I think the appropriate thing to do here might be to link to the external URL. (Since the OP is really asking to, for example, link to a GitHub readme or contributing guide.) In which case, we could close this issue in favor of: #344 |
I'm not sure if this is possible, but I'd really love to do the following in my
make.jl
:I tried it and received the following error:
Maybe I'll take a closer look at the code when I have time to make a PR.
The text was updated successfully, but these errors were encountered: