Skip to content
This repository has been archived by the owner on Feb 3, 2024. It is now read-only.

Latest commit

 

History

History
24 lines (20 loc) · 902 Bytes

README.md

File metadata and controls

24 lines (20 loc) · 902 Bytes

Installation

To work with the current development version, you can install the package directly from GitHub using Pip's Git feature:

pip install git+https://github.com/zrgt/aas_word2asciidoc.git@master

Usage

To fix the adoc file, you need to invoke the fix_adoc.py script. If the output adoc file already exists, you need to specify --force command-line argument in order to overwrite the existing files.

To fix an adoc file saved in /some/path/document.adoc and output the fixed adoc to /some/path/index.adoc, run the following command:

    fix_adoc \
        --adoc_input /some/path/document.adoc \
        --adoc_output /some/path/index.adoc

If the previous method does not work try the following command:

    python -m word2asciidoc.fix_adoc \
        --adoc_input /some/path/document.adoc \
        --adoc_output /some/path/index.adoc