Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions docs/sphinx.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ Then `dargs` directive will be enabled:
.. code-block:: rst

.. dargs::
:module: dargs._test
:func: test_argument
:module: dargs.sphinx
:func: _test_argument

where `test_argument` returns an :class:`Argument <dargs.Argument>`. The documentation will be rendered as:
where `_test_argument` returns an :class:`Argument <dargs.Argument>`. The documentation will be rendered as:

.. dargs::
:module: dargs._test
:func: test_argument
:module: dargs.sphinx
:func: _test_argument

A :class:`list` of :class:`Argument <dargs.Argument>` is also accepted.

Expand All @@ -36,8 +36,8 @@ To write Markdown files with `MyST-Parser <https://github.com/executablebooks/My

```{eval-rst}
.. dargs::
:module: dargs._test
:func: test_argument
:module: dargs.sphinx
:func: _test_argument
```

Cross-referencing Arguments
Expand Down