Sha256: 19f085d6acead6b108fabe436bcbd38f02771217c1a328717f2489505fd8c753

Contents?: true

Size: 886 Bytes

Versions: 1

Compression:

Stored size: 886 Bytes

Contents

#!/bin/sh

echo "Create Project"
rm -rf ~hyla/MyBlankProject
hyla new -b -d ~/hyla/MyBlankProject --force

echo "Generate HTML Content of MyBlank project"
cd ~/hyla/MyBlankProject

echo "Backup _config.yaml file as we don't use it here"
mv _config.yaml _config.yaml.bk

echo "Add asciidoc files"
hyla create --t asciidoc --a article --d ~/hyla/MyBlankProject
hyla create --t asciidoc --a book --d ~/hyla/MyBlankProject
hyla create --t asciidoc --a image --d ~/hyla/MyBlankProject
hyla create --t asciidoc --a audio --d ~/hyla/MyBlankProject
hyla create --t asciidoc --a video --d ~/hyla/MyBlankProject
hyla create --t asciidoc --a source --d ~/hyla/MyBlankProject
hyla create --t asciidoc --a table --d ~/hyla/MyBlankProject

hyla generate -r adoc2html -s ~/hyla/MyBlankProject/ -d ~/hyla/MyBlankProject/generated_content

echo "Revert _config.yaml file"
mv _config.yaml.bk _config.yaml

Version data entries

1 entries across 1 versions & 1 rubygems

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