-
Notifications
You must be signed in to change notification settings - Fork 34
Lots of goodies #2
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
Conversation
…t on GitHub and will see a "blank" page :)
|
||
bodyStr := string(body) | ||
// Ajust relative links for specific git revisions | ||
// FIXME: This doesn't handle relative links on the template / layout, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I got excited about sending the PR and forgot to mention this. I'm not sure what's the best approach for handling links relative to the current git branch on the generated HTML so I hacked together this regex to at least adjust links inside the markdown :P
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is pretty good. We could expose the ref to the template, but since there's no logic it makes it difficult to handle the default master case vs non-master. This seems good enough for now.
Pulled and deployed. Also updated the style a bit. |
Awesome! And it werks :) |
Here we go, my first Golang PR EVAH 😃 🎆
What's on this PR:
repo~ref
ACCESS_TOKEN
is not setgo fmt