rcbops / rpc_differ

Find differences between Rackspace Private Cloud releases
Apache License 2.0
1 stars 7 forks source link

Output RST suitable for conversion to GitHub markdown by pandoc #1

Closed git-harry closed 7 years ago

git-harry commented 7 years ago

The tool outputs rst. GitHub uses markdown. Converting using pandoc does not output properly formatted data.

This can be seen if the following is done:

rpc-differ r13.0.1 r13.0.2 --file rpc_differ.rst
pandoc --from rst --to markdown_github -o rpc_differ.md rpc_differ.rst

I believe the following changes are required: There needs to be a newline before https://github.com/major/rpc_differ/blob/5f5212224459588e33569f7019f42ef0f649d199/rpc_differ/rpc_differ.py#L238

There needs to be a newline before https://github.com/major/rpc_differ/blob/5f5212224459588e33569f7019f42ef0f649d199/rpc_differ/rpc_differ.py#L263