Formatting tweaks to docs to make it more auto-generator friendly.
Added doc generator script to main branch.