From c214d912e5feec4feac968683cc06d61ed4bcaa0 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Wed, 6 May 2015 16:03:34 -0400 Subject: [PATCH] [Doc] Add labels to enable linking to Python/Matlab examples The labels are "py-example-scriptname.py" and "matlab-example-scriptname.m", respectively. --- doc/sphinx/cython/example-script.rst.in | 2 ++ doc/sphinx/matlab/example-script.rst.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/doc/sphinx/cython/example-script.rst.in b/doc/sphinx/cython/example-script.rst.in index aa5b7f8f4..259732feb 100644 --- a/doc/sphinx/cython/example-script.rst.in +++ b/doc/sphinx/cython/example-script.rst.in @@ -1,3 +1,5 @@ +.. _py-example-@script_name@: + @script_name@ ======================================================================= diff --git a/doc/sphinx/matlab/example-script.rst.in b/doc/sphinx/matlab/example-script.rst.in index 861ebd7f8..1a6fe3cac 100644 --- a/doc/sphinx/matlab/example-script.rst.in +++ b/doc/sphinx/matlab/example-script.rst.in @@ -1,3 +1,5 @@ +.. _matlab-example-@script_name@: + @script_name@ =======================================================================