Skip to content

Commit

Permalink
Update doc/conf.py [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-wieser authored May 26, 2020
1 parent 2639eb4 commit cc48d5b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,13 @@ def add_source_parser(_old_add_source_parser, self, *args, **kwargs):
# to e.g. account/project. Releases will then use an appropriate Github URL for both
# releases and issues.
releases_github_path = 'pygae/galgebra'
releases_release_uri = 'https://github.com/pygae/galgebra/tree/v%s'
# workaround for https://github.com/bitprophet/releases/issues/65
class _releases_release_uri:
def __mod__(self, release):
if release.isdigit():
release = "v" + release
return 'https://github.com/pygae/galgebra/tree/%s' % release
releases_release_uri = _releases_release_uri()

# You may optionally set releases_debug = True to see debug output while building your docs.
releases_debug = True
Expand Down

0 comments on commit cc48d5b

Please sign in to comment.