diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py index 72be2ac21..013c7ad4e 100755 --- a/scripts/asciidoc2html.py +++ b/scripts/asciidoc2html.py @@ -121,7 +121,7 @@ class AsciiDoc: src = root / filename assert self._website is not None # for mypy dst = pathlib.Path(self._website) - dst = dst / src.parent.relative_to('.') / (src.stem + ".html") + dst = src.parent.relative_to('.') / (src.stem + ".html") dst.parent.mkdir(exist_ok=True) assert self._tempdir is not None # for mypy