GitbookIO/gitbook — pull request #268 by rlmv (2014-05-29 05:00:13+00:00)
Title: Fix page.path for plugins

The current value of `page.path` is relative to the book repository. I'm writing a plugin which inserts files into the page; in order to open these files I need to know the path relative to the gitbook command.

This PR sets `page.path` relative to the directory in which gitbook is run.