Copy and use nanoc-redirector.rb directly in Nanoc

Use and extend
https://github.com/gjtorikian/nanoc-redirector/blob/master/lib/nanoc-redirector.rb
to our needs.
Status Job ID Name Coverage
  Build Images
manual #272081262
allowed to fail manual
image:builder-onbuild
manual #272081263
allowed to fail manual
image:nginx-onbuild
 
  Build
passed #272081266
compile_dev

00:04:37

 
  Test
passed #272081269
internal_unit_tests

00:01:09

passed #272081272
scss_lint

00:01:07

failed #272081271
allowed to fail
test_external_links

00:02:37

passed #272081270
test_internal_links_and_anchors

00:04:00

 
  Deploy
passed #272081273
review-apps nginx
review

00:00:16

manual #272081275
review-apps nginx allowed to fail manual
review_stop
 
Name Stage Failure
failed
test_external_links Test
    [ ERROR ] external_links - broken reference to https://wiki.jenkins.io/display/JENKINS/GitLab+Hook+Plugin: 403
public/ee/topics/authentication/index.html:
[ ERROR ] external_links - broken reference to https://wiki.jenkins.io/display/JENKINS/GitLab+OAuth+Plugin: 403
public/ee/user/project/import/tfvc.html:
[ ERROR ] external_links - broken reference to https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/overview: link has moved permanently to 'https://docs.microsoft.com/en-us/azure/devops/repos/tfvc/overview?view=azure-devops'
public/omnibus/package-information/deprecated_os.html:
[ ERROR ] external_links - broken reference to https://downloads.raspberrypi.org/raspbian/images/raspbian-2015-05-07/: SSL_connect returned=1 errno=0 state=error: dh key too small
[ ERROR ] external_links - broken reference to https://downloads.raspberrypi.org/raspbian/images/raspbian-2017-07-05/: SSL_connect returned=1 errno=0 state=error: dh key too small
ERROR: Job failed: exit code 1