eligosource / eventsourced

A library for building reliable, scalable and distributed event-sourced applications in Scala
Apache License 2.0
828 stars 98 forks source link

Adjustments to markdown docs in order to get a better pandoc conversion. #92

Closed ahjohannessen closed 4 years ago

ahjohannessen commented 11 years ago

Just for review, not intended to be merged in at this point.

I have done some minor adjustments wrt. backticks and minor format issues that caused a bit of trouble in the conversion.

Doing a

pandoc -f markdown_github+raw_html README.md -o index.rst

is more or less doing a perfect transformation - getting warnings about not using local images, but that is not a biggie to solve. I need to add some table css to the sphinx theme to get a similar setup as the on github.

krasserm commented 11 years ago

Is there no way to keep the code formatting? For example, using [<code>Message</code>](...) or <code>[Message](...)</code> instead of [Message](...)? I'd really like to keep the code formatting for class/trait names.

ahjohannessen commented 11 years ago

Yep, it looks better using code formatting. I will take a stab at it later and see if there is a way.

ahjohannessen commented 11 years ago

@krasserm I have investigated this and tried various ways to keep the formatting. Currently, it seems not possible to do a straight conversion that handles the embedded code formatting due to:

It is possible to achieve the same effect wrt code formatting in rst as stated in the SO thread. It seems that we only have issues with formatting links, the other stuff is all good, akka docs like.

krasserm commented 11 years ago

@ahjohannessen thanks for your investigations. Looks like we should seriously consider switching to rst soon. Some thoughts:

I'm meanwhile fine with switching to rst. What about you @ddevore?

ironfish commented 11 years ago

@krasserm I'm good w/ rst.

ahjohannessen commented 11 years ago

@krasserm Are you about to finish off Snapshotting and related user guide changes?

|Legend| 

.. |Legend| image:: https://raw.github.com/eligosource/eventsourced/master/doc/images/legend.png
krasserm commented 11 years ago

@ahjohannessen I don't plan any additions to the user guide during the next couple of days.