astrojuanlu / sphinx-github-role

A github role for Sphinx
https://sphinx-github-role.readthedocs.io
BSD 2-Clause "Simplified" License
5 stars 1 forks source link

Extend the role to allow linking to entire repos #19

Closed zml2008 closed 2 years ago

zml2008 commented 2 years ago

Fixes #17

This implements the change I described in #17.

There was one required change to an existing test, since what was previously a malformed link now could now be a reference to a GitHub repository. This has produced a different failure message.

I've not spent a ton of time working with Python projects before, so let me know if there's anything you'd like changed.

zml2008 commented 2 years ago

Thanks! that was a leftover you caught :)

I've applied your suggestions with minor formatting changes to make black happy.