Public | Automated Build

Last pushed: 5 months ago
Short Description
Markdown => Docbook => high quality PDF, EBUP, HTML, ...
Full Description

livingfire-docbook

Write your documents with Mardown in a GitHub Page, GitLab Wiki, Golumn Wiki, ... and turn them with DocBook into into a high quality PDF

Usage

See project page

Quick Start

Make sure you have a working Docker and
docker-compose environment.

# download project files
git clone https://gitlab.com/phoen1x/livingfire-docbook.git
cd livingfire-docbook

# start livingfire-docbook
docker-compose up -d

# convert docbook to pdf
docker-compose exec docbook /book/convertBook.sh
xdg-open book/target/docbkx/pdf/book.pdf

# write Markdown or import wiki
cd tmp/wiki
git init
git remote add origin https://gitlab.com/phoen1x/livingfire-docbook.wiki.git
git pull
rm -rf .git
cd ../..

# convert plantuml to images - http://plantuml.com/
docker-compose exec docbook /book/convertPlantuml.sh

# convert markdown to docbook
docker-compose exec docbook /book/convertWiki2Docbook.sh
xdg-open book/target/docbkx/pdf/book.pdf

# stop  livingfire-docbook and get PDF
docker-compose down
cat book/target/docbkx/pdf/book.pdf > book.pdf
Docker Pull Command
Owner
phoen1x
Source Repository

Comments (0)