Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Lead a readme's relative links into the tree
A browser resolved them against the about page, where nothing lives now that the page answers 404 below itself. They resolve the way GitHub resolves a readme's links instead, from the readme's directory and on the branch it was read from.
-rw-r--r--custom/extensions/about-render.lua61
-rw-r--r--tests/extensions/harness.lua11
-rw-r--r--tests/extensions/test-about-render.lua36
-rwxr-xr-xtests/t0501-about-render.sh17
4 files changed, 114 insertions, 11 deletions