diff --git a/docs/sphinx.rst b/docs/sphinx.rst index fcfc62c..891f047 100644 --- a/docs/sphinx.rst +++ b/docs/sphinx.rst @@ -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 `. The documentation will be rendered as: +where `_test_argument` returns an :class:`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 ` is also accepted. @@ -36,8 +36,8 @@ To write Markdown files with `MyST-Parser