on master help sign in
Caption code block with relative file paths

Even though I had read the ipkg section before this, it was not clear to me that I needed to mirror the module structure on-disk in the directory hierarchy. Providing this info to the reader removes that chance for confusion.

commitb85b98f0d92c0d2934f380132ca395353d678de0 authorJeremy W. Sherman <jeremyw.sherman@gmail.com> dateSat 8 Aug 2015, 14:28 (11 years ago) parentd1e9bf8
1 file changed+2
docs/tutorial/testing.rst+2
docs/tutorial/testing.rst+2
@@ -24,6 +24,7 @@ does not aggregate test results.
2424For example, lets take the following list of functions that are defined in a module called ``NumOps`` for a sample package ``maths``.
2525
2626.. code-block:: idris
27+ :caption: Math/NumOps.idr
2728
2829 module Maths.NumOps
2930
@@ -36,6 +37,7 @@ For example, lets take the following list of functions that are defined in a mod
3637A simple test module, with a qualified name of ``Test.NumOps`` can be declared as
3738
3839.. code-block:: idris
40+ :caption: Math/TestOps.idr
3941
4042 module Test.NumOps
4143