From 5da27a891c99de462fd8d5019662c47b311c8ff9 Mon Sep 17 00:00:00 2001 From: Elliot Waite Date: Sun, 8 Dec 2019 11:16:17 -0800 Subject: [PATCH] Removing the mention of using `discard` for block comments (#12837) [backport] * Remove mention of using `discard` for block comments * Add a 32x32 alternate favicon --- config/nimdoc.cfg | 1 + doc/tut1.rst | 3 --- nimdoc/test_out_index_dot_html/expected/index.html | 1 + nimdoc/test_out_index_dot_html/expected/theindex.html | 1 + nimdoc/testproject/expected/subdir/subdir_b/utils.html | 1 + nimdoc/testproject/expected/testproject.html | 1 + nimdoc/testproject/expected/theindex.html | 1 + 7 files changed, 6 insertions(+), 3 deletions(-) diff --git a/config/nimdoc.cfg b/config/nimdoc.cfg index 6fca53545c..8cee21aaf9 100644 --- a/config/nimdoc.cfg +++ b/config/nimdoc.cfg @@ -208,6 +208,7 @@ doc.file = """ + diff --git a/doc/tut1.rst b/doc/tut1.rst index bfe87a40ed..2a7f77ed48 100644 --- a/doc/tut1.rst +++ b/doc/tut1.rst @@ -689,9 +689,6 @@ been declared with the ``discardable`` pragma: p(3, 4) # now valid -The ``discard`` statement can also be used to create block comments as -described in the `Comments`_ section. - Named arguments --------------- diff --git a/nimdoc/test_out_index_dot_html/expected/index.html b/nimdoc/test_out_index_dot_html/expected/index.html index c9d582dc3b..49873c0d4d 100644 --- a/nimdoc/test_out_index_dot_html/expected/index.html +++ b/nimdoc/test_out_index_dot_html/expected/index.html @@ -10,6 +10,7 @@ + diff --git a/nimdoc/test_out_index_dot_html/expected/theindex.html b/nimdoc/test_out_index_dot_html/expected/theindex.html index 9a04738c28..46fcc13a4e 100644 --- a/nimdoc/test_out_index_dot_html/expected/theindex.html +++ b/nimdoc/test_out_index_dot_html/expected/theindex.html @@ -10,6 +10,7 @@ + diff --git a/nimdoc/testproject/expected/subdir/subdir_b/utils.html b/nimdoc/testproject/expected/subdir/subdir_b/utils.html index 478854a1e9..26d105a000 100644 --- a/nimdoc/testproject/expected/subdir/subdir_b/utils.html +++ b/nimdoc/testproject/expected/subdir/subdir_b/utils.html @@ -10,6 +10,7 @@ + diff --git a/nimdoc/testproject/expected/testproject.html b/nimdoc/testproject/expected/testproject.html index 8c9082d7a3..dbe6d9480a 100644 --- a/nimdoc/testproject/expected/testproject.html +++ b/nimdoc/testproject/expected/testproject.html @@ -10,6 +10,7 @@ + diff --git a/nimdoc/testproject/expected/theindex.html b/nimdoc/testproject/expected/theindex.html index 5b7cefced3..c0f0ce776a 100644 --- a/nimdoc/testproject/expected/theindex.html +++ b/nimdoc/testproject/expected/theindex.html @@ -10,6 +10,7 @@ +