Enable external files in pages keyword to makedocs
Closes #551
So far this ™️ works on my machine ™️, and the existing tests pass.
In the general case, to add a file that's in your repo but not in the documentation root directory to pages, use: external("relative/path/from/repo/root") or "Page Title" => external("relative/path").
Still to do:
- [x] Put
externalin the docs somewhere - [x] Add tests (Could you point me in the right direction of where I should put them?)
Thanks for the feedback! I will address it when I have some time on my hands.
:+1: This will be really useful for the new "default packages" structure.
Hey, sorry this has gone ignored for so long -- I'll make an effort to work on this this weekend.
Okay, this should be ready for another review.
I've rebased this, we'll see if I can resurrect it :slightly_smiling_face:
I'm really interested in this, is it still being worked on?
Not by me at the moment, but maybe one day I'll come back to it... Or if someone wants to take over the branch they can feel free.
I have a slightly updated version of this, but it also needs a bit more work (which is also unfortunately unlikely to happen any time too soon): https://github.com/JuliaDocs/Documenter.jl/issues/1074#issuecomment-515477974
This sounds like a nice feature to have, but last discussions here were in 2019. Back then @mortenpi hinted he might have an alternative implementation...
@christopher-dG are you still interested in this feature, and/or in reviving this PR?