From 64ffce27f9348e14836528c0313d3048669a29c7 Mon Sep 17 00:00:00 2001 From: Julin S <48789920+ju-sh@users.noreply.github.com> Date: Wed, 27 May 2020 11:12:45 +0530 Subject: fix error in asciidoc2html.py script --- scripts/asciidoc2html.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/asciidoc2html.py b/scripts/asciidoc2html.py index 90b94f014..2f64eac52 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 = src.parent.relative_to('.') / (src.stem + ".html") + dst = dst / src.parent.relative_to('.') / (src.stem + ".html") dst.parent.mkdir(exist_ok=True) assert self._tempdir is not None # for mypy -- cgit v1.2.3-54-g00ecf