Closed patrys closed 11 years ago
@patrys Thank you for the report, I can see it.
@snide: In autodoc, optional arguments are encased with [
and ]
.
HTML output for them will show:
<dt id="payments.dotpay.DotpayProvider">
<em class="property">class </em><tt class="descclassname">payments.dotpay.</tt><tt class="descname">DotpayProvider</tt>
<big>(</big>
<em>seller_id</em>, <em>pin</em><span class="optional">[</span>, <em>channel=0</em>
<span class="optional">[</span>, <em>lock=False</em><span class="optional">]</span>,
<em>lang='pl'</em><span class="optional">]</span>
<big>)</big>
<a class="headerlink" href="#payments.dotpay.DotpayProvider" title="Permalink to this definition">¶</a></dt>
There is opportunity to adjust padding in various locations here. I will follow up with PR for demo tests for functional arguments and leave the CSS adjustments to you.
This is how it will look http://snid.es/image/2Y2Q2x072W0n
I notice that in Chrome/Windows I have some font issues that make it not as pretty, so I'm curious if that's what you're using. Otherwise, let me know if this works.
Example: http://django-payments.readthedocs.org/en/latest/modules.html