build-docs: functional style
build-docs: functional style

take source dir as first arg instead of leaking outside of working
directory/script directory

Signed-off-by: Alex Suraci <925ba519bbf1a06224928b692ef88b93aee946af@gmail.com>

vito/booklit,vito/booklit