These four repeated definitions would be better express through a piece of configuration which simply maps an options region, for example, taking the form
hrefs: {
    codeLink: "codeLinkHref",
    apiLink: "apiLinkHref"
etc. to a little piece of machinery which applies these attributes via a call to fluid.each