Sha256: ef7aabab41e7ba985e383d909dc546efcc24c148da09e2fb4d40b4c2f1c12e64

Contents?: true

Size: 500 Bytes

Versions: 1

Compression:

Stored size: 500 Bytes

Contents

#!/bin/sh

# ./create_adoc_from_toc.sh ~/MyProjects/hyla/data/toc.adoc MyTocProject

source remove_temp_directories.sh

if [ "$#" == "0" ]; then
    echo "No arguments provided"
    echo "Usage : ./create_adoc_from_toc.sh path_to_toc_file project_name"
    exit 1
fi

echo "TOC file location : $1"
echo "Project Name : $2"

hyla generate -r toc2adoc -p my-project -d ~/hyla/$2/ --toc $1
hyla generate -r adoc2html -s ~/hyla/$2/ -d ~/hyla/$2/generated_content

echo "Project created"
ls -la ~/hyla/$2

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hyla-1.0.3 documentation/scripts/create_adoc_from_toc.sh