#!/usr/bin/env bash
set -e -u -o pipefail

godoc2md -srclink 'https://git-aws.internal.justin.tv/video/autoprof-client/blob/master%[1]s#L%[2]d' \
    code.justin.tv/video/autoprof-client \
    | sed -e 's,blob/master/target/,blob/master/,' > ./godoc.md
