* Docs code links (#7342)
* Update docs
- Add note about permission denied error
* Add macro for generating link to github code
* Implement similar feature for source directory links
* Adds helper function for link checking
* Allow for specification of "raw" file links
* Remove debug statement
* Generate list of available invoke tasks
(cherry picked from commit 797a0c10dfe8749687327d3667e13e66ffbbe167)
* auto-detect current branch and use that for links
* remove debug logging
* style fix
* spell fix
---------
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>