Skip to content

Commit 54fefed

Browse files
author
Mathieu Dubois
committed
DOC correct references in doc/devel/devel/cmd_interface_devel.rst
1 parent d5d344b commit 54fefed

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/devel/cmd_interface_devel.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ above example we have used the ``desc`` metadata which holds human readable
3939
description of the input. The ``mandatory`` flag forces Nipype to throw an
4040
exception if the input was not set. ``exists`` is a special flag that works only
4141
for ``File traits`` and checks if the provided file exists. More details can be
42-
found at `interface_specs`_.
42+
found at :ref:`interface_specs`.
4343

4444
The input and output specifications have to be connected to the our example
4545
interface class:
@@ -80,7 +80,7 @@ symbols. For an input defined in InputSpec to be included into the executed
8080
commandline ``argstr`` has to be included. Additionally inside the main
8181
interface class you need to specify the name of the executable by assigning it
8282
to the ``_cmd`` field. Also the main interface class needs to inherit from
83-
`CommandLine`_:
83+
:class:`CommandLine <nipype.interfaces.base.CommandLine>`:
8484

8585
.. testcode::
8686

@@ -92,7 +92,7 @@ to the ``_cmd`` field. Also the main interface class needs to inherit from
9292
There is one more thing we need to take care of. When the executable finishes
9393
processing it will presumably create some output files. We need to know which
9494
files to look for, check if they exist and expose them to whatever node would
95-
like to use them. This is done by implementing `_list_outputs`_ method in the
95+
like to use them. This is done by implementing :func:`_list_outputs <nipype.interfaces.base.BaseInterface._list_outputs>` method in the
9696
main interface class. Basically what it does is assigning the expected output
9797
files to the fields of our output spec:
9898

0 commit comments

Comments
 (0)