Added conditional logic and GH links to header of docs plugin