Skip to content

Commit

Permalink
fixup! Add show_labels config option
Browse files Browse the repository at this point in the history
  • Loading branch information
pawamoy committed Feb 5, 2024
1 parent 3ed2f07 commit e5b46a6
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions docs/usage/configuration/members.md
Original file line number Diff line number Diff line change
Expand Up @@ -674,18 +674,18 @@ class SomeClass:
/// admonition | Preview
type: preview

//// tab | Show
<h3 id="django_autotyping.stubbing.codemods.auth_functions_codemod.SomeClass.some_attr" class="doc doc-heading">
<code class="highlight language-python"><span class="n">some_attr</span><span class="p">:</span> <span class="nb">int</span></code>
<span class="doc doc-labels">
<small class="doc doc-label doc-label-instance-attribute"><code>instance-attribute</code></small>
</span>
</h3>
//// tab | With labels
<code class="highlight language-python">
<span class="n">some_attr</span><span class="p">:</span>
<span class="nb">int</span>
</code>
<small><code>instance-attribute</code></small>
////

//// tab | Don't show
<h3 id="django_autotyping.stubbing.codemods.auth_functions_codemod.SomeClass.some_attr" class="doc doc-heading">
<code class="highlight language-python"><span class="n">some_attr</span><span class="p">:</span> <span class="nb">int</span></code>
</h3>
//// tab | Without labels
<code class="highlight language-python">
<span class="n">some_attr</span><span class="p">:</span>
<span class="nb">int</span>
</code>
////
///

0 comments on commit e5b46a6

Please sign in to comment.