Skip to content

Commit

Permalink
allow .postn for readthedocsversion
Browse files Browse the repository at this point in the history
  • Loading branch information
murrayrm committed Dec 31, 2022
1 parent 18975c5 commit f510092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ def linkcode_resolve(domain, info):
linespec = ""

base_url = "https://github.com/python-control/python-control/blob/"
if 'dev' in control.__version__ or 'post' in control.__version__:
if 'dev' in control.__version__:
return base_url + "main/control/%s%s" % (fn, linespec)
else:
return base_url + "%s/control/%s%s" % (
Expand Down

0 comments on commit f510092

Please sign in to comment.