Skip to content

Markdown (e.g. GitHub Pages) => Docbook => high quality PDF, EBUP, HTML, ...

License

Notifications You must be signed in to change notification settings

phoen1x/livingfire-docbook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Markdown (e.g. GitHub Pages) => Docbook => high quality PDF, EBUP, HTML, ...

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published