diff --git a/py/doc/conftest.py b/py/doc/conftest.py index d37fc3c14..60b7c4191 100644 --- a/py/doc/conftest.py +++ b/py/doc/conftest.py @@ -35,7 +35,8 @@ def get_docpath(): return pypkgdir.join(path, abs=True) def get_apigen_relpath(): - return relpath(get_apigenpath().strpath, get_docpath().strpath) + return relpath(get_docpath().strpath + '/', + get_apigenpath().strpath + '/') def deindent(s, sep='\n'): leastspaces = -1