JuliaMolSim / Molly.jl

Molecular simulation in Julia
Other
372 stars 51 forks source link

Doc fixes #61

Closed leios closed 2 years ago

leios commented 2 years ago

I noticed that the gravity example should have the opposite sign, so here's a quick PR fixing that and a few typos. I also added a codeblock on how to create the SIR plot.

I have an intermediate commit that takes all the examples in the docs and puts them in an examples/ directory, but I couldn't figure out how to get Documenter to import the blocks of code from a different file, so I deleted the directory in the latest commit.

Basically, if you would like compilable examples in a separate directory, I can revert the latest commit to make them available. Otherwise, I can squash everything as is.

Also: no pressure to merge this if you feel there is not enough substance to it!

leios commented 2 years ago

That works as well. I just double-checked and it seems to produce the correct visual from the example