diff options
author | ringabout <43030857+ringabout@users.noreply.github.com> | 2023-02-01 15:13:40 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-01 08:13:40 +0100 |
commit | ff8ab06720976f18d75257a22bf8e23873514c67 (patch) | |
tree | a4719ab7baf2aadd4c90e189bbfba4e1a116fc5d /nimdoc/testproject/expected/subdir | |
parent | cbf3ed9d92b32e9e28f1e4d52300d9b103ee6fa1 (diff) | |
download | Nim-ff8ab06720976f18d75257a22bf8e23873514c67.tar.gz |
fixes #19396; Nimdoc hide nonexported fields (#21305)
* suppresses non-exported fields of types and adds command-line option to re-enable this if desired * corrected the doctest that produced a CI error * an embarrassingly bad error in reasoning * modified a nimdoc test to reflect updated behavior * needed another change to bring utils.html doctest in sync with update * add info * fix nimdoc * lint * render postfix * fixes a problem * fixes nimdoc * fix nimdoc --------- Co-authored-by: johnperry-math <john.perry@usm.edu> Co-authored-by: johnperry-math <devotus@yahoo.com>
Diffstat (limited to 'nimdoc/testproject/expected/subdir')
-rw-r--r-- | nimdoc/testproject/expected/subdir/subdir_b/utils.html | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/nimdoc/testproject/expected/subdir/subdir_b/utils.html b/nimdoc/testproject/expected/subdir/subdir_b/utils.html index f0f30536f..ee2618ab3 100644 --- a/nimdoc/testproject/expected/subdir/subdir_b/utils.html +++ b/nimdoc/testproject/expected/subdir/subdir_b/utils.html @@ -59,8 +59,7 @@ <details open> <summary><a class="reference reference-toplevel" href="#7" id="57">Types</a></summary> <ul class="simple simple-toc-section"> - <li><a class="reference" href="#G" title="G[T] = object - val: T">G</a></li> + <li><a class="reference" href="#G" title="G[T] = object">G</a></li> <li><a class="reference" href="#SomeType" title="SomeType = enum enumValueA, enumValueB, enumValueC">SomeType</a></li> @@ -254,8 +253,7 @@ Ref. <a class="reference internal nimdoc" title="proc `[]`[T](x: G[T]): T" href= <dl class="item"> <div id="G"> <dt><pre><a href="utils.html#G"><span class="Identifier">G</span></a><span class="Other">[</span><span class="Identifier">T</span><span class="Other">]</span> <span class="Other">=</span> <span class="Keyword">object</span> - <span class="Identifier">val</span><span class="Other">:</span> <span class="Identifier">T</span> -</pre></dt> + </pre></dt> <dd> |