Add minimal_example documentation to doc/advanced

- Also remove toctree.
Merge pull request #859 from jspricke/doc_advanced

Add minimal_example documentation to doc/advanced