new docs builder script to be used by the docker container later

This commit is contained in:
shockrahwow 2020-05-25 13:41:03 -07:00
parent 0cddfc3289
commit edca7b3a4a

13
docs/build-docs.sh Normal file
View File

@ -0,0 +1,13 @@
#!/bin/sh
# Builds all docs into a single easily searchable document
# Builds: HTML PDF TEXT versions of the documents.
chapters='api.md structures.md'
for chap in $chapters;do
cat $chap
done > freechat-docs.md
pandoc freechat-docs.md -o freechat-docs.pdf
pandoc freechat-docs.md -o freechat-docs.html