From d7e525b9db2c38aad64ffdc244f3f4a5ba4ded1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20Luis=20Cano=20Rodr=C3=ADguez?= Date: Mon, 13 Sep 2021 15:00:12 +0200 Subject: Insist that automatic is better --- doc/tutorial/automatic-doc-generation.rst | 1 + 1 file changed, 1 insertion(+) (limited to 'doc/tutorial') diff --git a/doc/tutorial/automatic-doc-generation.rst b/doc/tutorial/automatic-doc-generation.rst index 8c6e80236..da263f8ef 100644 --- a/doc/tutorial/automatic-doc-generation.rst +++ b/doc/tutorial/automatic-doc-generation.rst @@ -60,6 +60,7 @@ with :rst:dir:`autofunction`: .. autofunction:: lumache.get_random_ingredients If you now build the HTML documentation, the output will be the same! +With the advantage that it is generated from the code itself. Sphinx took the reStructuredText from the docstring and included it, also generating proper cross-references. -- cgit v1.2.1