1
0
mirror of https://github.com/chylex/Nextcloud-Desktop.git synced 2024-10-19 04:42:46 +02:00
Nextcloud-Desktop/doc/makeguide.sh
Andreas Schneider 1119e84d96 Add user guide.
2008-09-03 13:38:45 +02:00

17 lines
437 B
Bash
Executable File

#!/bin/bash
# Last Change: 2008-07-03 11:08:54
for f in $@; do
test "${f##*/}" = "CMakeLists.txt" && continue
echo -e "\e[32mCreating asciidoc html document ${f%.*}.html\e[0m"
asciidoc \
--attribute=numbered \
--attribute=icons \
--attribute="iconsdir=./images/icons" \
--attribute=toc \
--backend=xhtml11 \
--out-file="$(dirname $f)/userguide/${f%.*}.html" \
$f
rm -f ${f%.*}.xml
done