Merge pull request #836 from murrayrm/update_readthedocs-31Dec2022 · python-control/python-control@9cef661

Commit 9cef661

Merge pull request #836 from murrayrm/update_readthedocs-31Dec2022

allow .postn for readthedocsversion

File tree

1 file changed

lines changed

1 file changed

lines changed

Lines changed: 1 addition & 1 deletion

Original file line numberDiff line numberDiff line change

@@ -202,7 +202,7 @@ def linkcode_resolve(domain, info):

202202

linespec = ""

203203
204204

base_url = "https://github.com/python-control/python-control/blob/"

205-

if 'dev' in control.__version__ or 'post' in control.__version__:

205+

if 'dev' in control.__version__:

206206

return base_url + "main/control/%s%s" % (fn, linespec)

207207

else:

208208

return base_url + "%s/control/%s%s" % (

0 commit comments