From fb8ca298c1f511e3308777fae358bd44ca3dd9dc Mon Sep 17 00:00:00 2001 From: Matthias Geier Date: Tue, 21 Jul 2015 12:44:56 +0200 Subject: Docs: add a separate page with examples --- doc/examples.rst | 11 +++++++++++ doc/index.rst | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 doc/examples.rst (limited to 'doc') diff --git a/doc/examples.rst b/doc/examples.rst new file mode 100644 index 0000000..61d80d2 --- /dev/null +++ b/doc/examples.rst @@ -0,0 +1,11 @@ +:orphan: + +Example Program(s) +================== + +Play a Sound File +----------------- + +:download:`play_file.py <../examples/play_file.py>` + +.. literalinclude:: ../examples/play_file.py diff --git a/doc/index.rst b/doc/index.rst index 6a72d04..3907d04 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -2,6 +2,13 @@ .. include:: ../README.rst +.. only:: html + + More Examples + ^^^^^^^^^^^^^ + + For more examples, have a look at the :doc:`examples`. + .. include:: ../CONTRIBUTING.rst .. default-role:: -- cgit v1.2.3