Skip to content

Commit

Permalink
Merge pull request #836 from murrayrm/update_readthedocs-31Dec2022
Browse files Browse the repository at this point in the history
allow .postn for readthedocsversion
  • Loading branch information
murrayrm committed Dec 31, 2022
2 parents a9a7a2b + f510092 commit 9cef661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/conf.py
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 9cef661

Please sign in to comment.