How to gather information why build fails?

#35 · closed · 1 comments

View on GitHub ↗

t-book

I´m trying to use build() for conversation from rst documents to html. Unfortunately the output dir stays empty. error.log does not give useful information – but I found an error method. How can I use the ->error() (or something else) to get more information what goes wrong with build? ``` include_once('autoload.php'); $builder = new Gregwar\RST\Builder; $builder->build('admin/doc/source/', 'output'); echo $builder->error; ```

Comments

t-book

After adding: `error_reporting(E_ALL);` I saw that my RST files have unknown directives.