pdocs icon indicating copy to clipboard operation
pdocs copied to clipboard

Link documentation to source code at its online repository like GitHub

Open dhimmel opened this issue 5 years ago • 1 comments

Same features request as in https://github.com/pdoc3/pdoc/issues/100: a nice feature is to be able to go from the documentation for a module/class/function to its source file on online version control (i.e. GitHub, GitLab, BitBucket, etc).

A PR I authored adds this features to pdoc3: https://github.com/pdoc3/pdoc/pull/102. Would be cool to have the feature also added to pdocs and thus portray.

Not sure if the existing implementation would help. Happy to re-license https://github.com/pdoc3/pdoc/commit/b47e916d78821dd9918b83f4a23b859b9cc473c5 under MIT for compatibility with this repo's license. Note that @kernc is likely a joint author from a copyright standpoint since they added several commits that were squashed into the merged commit.

dhimmel avatar Oct 09 '19 16:10 dhimmel

Happy to waiver copyright in this regard. :+1:

kernc avatar Oct 09 '19 16:10 kernc