Conversation
|
As far as I know, pandoc HEAD has all the RST features we use. In particular, see jgm/pandoc#1781 and jgm/pandoc#1805 I think that also means we can use pandoc to convert .rst to .md if we want. I don't have a strong preference, but I think it would be nice to have all the docs in one format. I'm not sure how much work it is to convert |
|
On a quick read, the rest of this PR looks good. I'd still like |
|
|
|
There are a few related things I want to do when I have some time:
|
|
Ah, the changes to the rst reader are much better, although it looks like containers are ignored (would be nice if they where in a div too). It shouldn't be much work to convert the tutorials to .md. I'd prefer if everything was was markdown since it's more popular, simpler and has better pandoc support. I planned to add other backends to |
|
Those additions sound nice. I was thinking about using the yaml heading for global options like default backend, extra imports etc. |
|
Adding container directives to pandoc looks very easy. There's also an outstanding issue about internal references: jgm/pandoc#262 which I expect to get to eventually.... |
|
No rush. My timeline is Diagrams release 1 April, then sort out |
|
I'm happy to make it BSD3. |
Work in progress — don’t merge.
Changes related to improving
diagrams-doc: https://groups.google.com/forum/#!topic/diagrams-discuss/LQvPrTfMvngI’ve been playing around with builder and pandoc and had some ideas. The ticked boxes are things that are at least partially implemented in the PRs. I’d like to hear thoughts/suggestions.
lib changes
BackendBuildclass with"smarter" sandbox finder
clean up CmdLine loop output
builder changes
Still not entirely happy with how hashing/results are returned.
BackendBuildclassBackendBuild.pandoc changes
This still needs a lot of work but the basic idea is there.
jsonfiltering and library for more complicated usesMeta(the YAML at the top of the md file).doc changes
I think doc should ditch Cairo in favour of Rasterific, SVG and PGF (for PDFs) so we can all build the same documentation.