started work on the docs converter, works for the simple cases