Skip to content

BOH - broken link to function source #18

Description

@petervandivier

Consider https://dataplat.github.io/boh#Remove-DbaDatabaseSafely

BOH page showing outgoing link in tooltip

Note that currently the link to the source code is of the format ...blob/development/functions/...

The /functions/ folder structure was changed in dataplat/dbatools#8737 - the BOH links need updating to the new format.

AFAICT, the necessary change should go here:

return '<a target="_blank" href="https://github.com/dataplat/dbatools/blob/' + activebranch + '/functions/' + data + '.ps1">' + data + '</a>'

- return '<a target="_blank" href="https://github.com/dataplat/dbatools/blob/' + activebranch + '/functions/' + data + '.ps1">' + data + '</a>'
+ return '<a target="_blank" href="https://github.com/dataplat/dbatools/blob/' + activebranch + '/public/' + data + '.ps1">' + data + '</a>'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions