mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
api docs (#2240)
* api docs * more docstrings * logs * docs shakeup * fix notes, added intro to all apis * Remove defaults to * add note to events * note * use fira code
This commit is contained in:
@@ -10,14 +10,14 @@
|
||||
|
||||
(
|
||||
{%- for parameter in function.parameters -%}
|
||||
{%- if parameter.name not in ("self", "cls") or loop.index0 > 0 or not (function.parent and function.parent.is_class) -%}
|
||||
{%- if 1 -%}
|
||||
|
||||
{%- if parameter.kind.value == "positional-only" -%}
|
||||
{%- set ns.has_pos_only = True -%}
|
||||
{%- else -%}
|
||||
{%- if ns.has_pos_only and ns.render_pos_only_separator -%}
|
||||
{%- set ns.render_pos_only_separator = False %}/, {% endif -%}
|
||||
{%- if parameter.kind.value == "keyword-only" -%}
|
||||
{%- if parameter.kind.value == "keyword-only" -%}
|
||||
{%- if ns.render_kw_only_separator -%}
|
||||
{%- set ns.render_kw_only_separator = False %}*, {% endif -%}
|
||||
{%- endif -%}
|
||||
|
||||
Reference in New Issue
Block a user