diff --git a/ASCIIsite.py b/ASCIIsite.py index cbeee9d..cd825c0 100755 --- a/ASCIIsite.py +++ b/ASCIIsite.py @@ -29,7 +29,7 @@ def parse_arguments(): baseName=args.inputDir.with_name(args.inputDir.name+'_compiled').name outFile=Path(os.getcwd()).joinpath(baseName) else: - outFile=args.output.resovle() + outFile=args.output.resolve() #add .tar.gz if compress is set and the outfile does not already have it. if compress and outFile.suffixes != ['.tar', '.gz']: diff --git a/tests/result/dir/subdir/linked.html b/tests/result/dir/subdir/linked.html index 510eba5..31be3d8 100644 --- a/tests/result/dir/subdir/linked.html +++ b/tests/result/dir/subdir/linked.html @@ -2,29 +2,26 @@ - + - + relatively linked doc + + + +
+
+

included section

+
+
+

Fusce maximus nec magna eu ultricies. +Fusce quis tellus vitae arcu facilisis lobortis. +Donec id erat at enim porta placerat in vitae sapien. +Duis justo arcu, hendrerit nec nulla eu, dictum dapibus ipsum. +Sed fermentum id elit eget fringilla. +Suspendisse volutpat imperdiet justo, ut efficitur odio maximus et. +Nunc interdum sollicitudin eros sit amet convallis. +Praesent volutpat tempus metus id tincidunt. +Proin aliquet justo a fermentum consectetur. +Nunc scelerisque, nisi id scelerisque dictum, nibh lectus ultrices nunc, quis ultricies erat velit sit amet urna. +Maecenas orci felis, volutpat at bibendum ut, mattis eu justo.

+
+
+

blocks

+
+
listing block
+
+
example of _listing block_
+with verbatim line break
+
+
+
+
Example 1. example block
+
+
+

example block +with line break

+
+
+
+
+
literal block
+
+
_literal_ block
+with line break
+
+
+pass block +with underlined text +
+
quote block
+
+
+

quote block +with line break

+
+
+
+
+
+
sidebar block
+
+

sidebar block +with line break

+
+
+
+
+ + + + + +
+
Note
+
+
+

This is an example of an admonition block.

+
+
+

Unlike an admonition paragraph, it may contain any AsciiDoc content. +The style can be any one of the admonition labels:

+
+
+
    +
  • +

    NOTE

    +
  • +
  • +

    TIP

    +
  • +
  • +

    WARNING

    +
  • +
  • +

    CAUTION

    +
  • +
  • +

    IMPORTANT

    +
  • +
+
+
+
+
+
+
+
+ + + \ No newline at end of file diff --git a/tests/result/landing_page.html b/tests/result/landing_page.html index 10c5fe9..cf05dcc 100644 --- a/tests/result/landing_page.html +++ b/tests/result/landing_page.html @@ -2,29 +2,26 @@ - + - + test page for an adoc static site generator.