Add minimal_example documentation to doc/advanced

- Also remove toctree.