-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
123 changed files
with
31,725 additions
and
1,683 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
docs-source/docs/_templates/python/material/_base/docstring/admonition.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{{ log.debug("Rendering admonition") }} | ||
<details class="{{ section.value.kind }}" open> | ||
<summary>{{ section.title|convert_markdown(heading_level, html_id, strip_paragraph=True) }}</summary> | ||
{{ section.value.contents|convert_markdown(heading_level, html_id) }} | ||
</details> |
78 changes: 78 additions & 0 deletions
78
docs-source/docs/_templates/python/material/_base/docstring/attributes.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,78 @@ | ||
{{ log.debug("Rendering attributes section") }} | ||
{% if config.docstring_section_style == "table" %} | ||
{% block table_style %} | ||
<h5>{{ section.title or "Attributes" }}</h5> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Name</th> | ||
<th>Type</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for attribute in section.value %} | ||
<tr> | ||
<td><code>{{ attribute.name }}</code></td> | ||
<td> | ||
{% if attribute.annotation %} | ||
{% with expression = attribute.annotation %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
{% endif %} | ||
</td> | ||
<td>{{ attribute.description|convert_markdown(heading_level, html_id) }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock table_style %} | ||
{% elif config.docstring_section_style == "list" %} | ||
{% block list_style %} | ||
<p>{{ section.title or "Attributes:" }}</p> | ||
<ul> | ||
{% for attribute in section.value %} | ||
<li class="field-body"> | ||
<b>{{ attribute.name }}</b> | ||
{% if attribute.annotation %} | ||
{% with expression = attribute.annotation %} | ||
(<code>{% include "expression.html" with context %}</code>) | ||
{% endwith %} | ||
{% endif %} | ||
– {{ attribute.description|convert_markdown(heading_level, html_id) }} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endblock list_style %} | ||
{% elif config.docstring_section_style == "spacy" %} | ||
{% block spacy_style %} | ||
<table> | ||
<thead> | ||
<tr> | ||
<th><b>{{ (section.title or "ATTRIBUTE").rstrip(":").upper() }}</b></th> | ||
<th><b>DESCRIPTION</b></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for attribute in section.value %} | ||
<tr> | ||
<td><code>{{ attribute.name }}</code></td> | ||
<td class="doc-attribute-details"> | ||
{{ attribute.description|convert_markdown(heading_level, html_id) }} | ||
<p> | ||
{% if attribute.annotation %} | ||
<span class="doc-attribute-annotation"> | ||
<b>TYPE:</b> | ||
{% with expression = attribute.annotation %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
</span> | ||
{% endif %} | ||
</p> | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock spacy_style %} | ||
{% endif %} |
96 changes: 96 additions & 0 deletions
96
docs-source/docs/_templates/python/material/_base/docstring/parameters.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
{{ log.debug("Rendering parameters section") }} | ||
{% if config.docstring_section_style == "table" %} | ||
{% block table_style %} | ||
<h5>{{ section.title or "Parameters" }}</h5> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Parameter</th> | ||
<th>Default</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for parameter in section.value %} | ||
<tr> | ||
<td> | ||
<strong><code>{{ parameter.name }}</code></strong> | ||
<br> | ||
{% if parameter.annotation %} | ||
{% with expression = parameter.annotation %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
{% endif %} | ||
</td> | ||
<td> | ||
{% if parameter.default %} | ||
{% with expression = parameter.default %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
{% else %} | ||
<em>required</em> | ||
{% endif %} | ||
</td> | ||
<td>{{ parameter.description|convert_markdown(heading_level, html_id) }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock table_style %} | ||
{% elif config.docstring_section_style == "list" %} | ||
{% block list_style %} | ||
<p>{{ section.title or "Parameters:" }}</p> | ||
<ul> | ||
{% for parameter in section.value %} | ||
<li class="field-body"> | ||
<b>{{ parameter.name }}</b> | ||
{% if parameter.annotation %} | ||
{% with expression = parameter.annotation %} | ||
(<code>{% include "expression.html" with context %}</code>) | ||
{% endwith %} | ||
{% endif %} | ||
– {{ parameter.description|convert_markdown(heading_level, html_id) }} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endblock list_style %} | ||
{% elif config.docstring_section_style == "spacy" %} | ||
{% block spacy_style %} | ||
<table> | ||
<thead> | ||
<tr> | ||
<th><b>{{ (section.title or "PARAMETER").rstrip(":").upper() }}</b></th> | ||
<th><b>DESCRIPTION</b></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for parameter in section.value %} | ||
<tr> | ||
<td><code>{{ parameter.name }}</code></td> | ||
<td class="doc-param-details"> | ||
{{ parameter.description|convert_markdown(heading_level, html_id) }} | ||
<p> | ||
{% if parameter.annotation %} | ||
<span class="doc-param-annotation"> | ||
<b>TYPE:</b> | ||
{% with expression = parameter.annotation %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
</span> | ||
{% endif %} | ||
{% if parameter.default %} | ||
<span class="doc-param-default"> | ||
<b>DEFAULT:</b> | ||
{% with expression = parameter.default %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
</span> | ||
{% endif %} | ||
</p> | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock spacy_style %} | ||
{% endif %} |
72 changes: 72 additions & 0 deletions
72
docs-source/docs/_templates/python/material/_base/docstring/raises.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
{{ log.debug("Rendering raises section") }} | ||
{% if config.docstring_section_style == "table" %} | ||
{% block table_style %} | ||
<h5>{{ section.title or "Raises" }}</h5> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Type</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for raises in section.value %} | ||
<tr> | ||
<td> | ||
{% if raises.annotation %} | ||
{% with expression = raises.annotation %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
{% endif %} | ||
</td> | ||
<td>{{ raises.description|convert_markdown(heading_level, html_id) }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock table_style %} | ||
{% elif config.docstring_section_style == "list" %} | ||
{% block list_style %} | ||
<p>{{ section.title or "Raises:" }}</p> | ||
<ul> | ||
{% for raises in section.value %} | ||
<li class="field-body"> | ||
{% if raises.annotation %} | ||
{% with expression = raises.annotation %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
– | ||
{% endif %} | ||
{{ raises.description|convert_markdown(heading_level, html_id) }} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endblock list_style %} | ||
{% elif config.docstring_section_style == "spacy" %} | ||
{% block spacy_style %} | ||
<table> | ||
<thead> | ||
<tr> | ||
<th><b>{{ (section.title or "RAISES").rstrip(":").upper() }}</b></th> | ||
<th><b>DESCRIPTION</b></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for raises in section.value %} | ||
<tr> | ||
<td> | ||
<span class="doc-raises-annotation"> | ||
{% with expression = raises.annotation %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
</span> | ||
</td> | ||
<td class="doc-raises-details"> | ||
{{ raises.description|convert_markdown(heading_level, html_id) }} | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock spacy_style %} | ||
{% endif %} |
91 changes: 91 additions & 0 deletions
91
docs-source/docs/_templates/python/material/_base/docstring/returns.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{{ log.debug("Rendering returns section") }} | ||
{% if config.docstring_section_style == "table" %} | ||
{% block table_style %} | ||
{% set name_column = section.value|selectattr("name")|any %} | ||
<h5>{{ section.title or "Returns" }}</h5> | ||
<table> | ||
<thead> | ||
<tr> | ||
{% if name_column %}<th>Name</th>{% endif %} | ||
<th>Type</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for returns in section.value %} | ||
<tr> | ||
{% if name_column %}<td>{% if returns.name %}<code>{{ returns.name }}</code>{% endif %}</td>{% endif %} | ||
<td> | ||
{% if returns.annotation %} | ||
{% with expression = returns.annotation %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
{% endif %} | ||
</td> | ||
<td>{{ returns.description|convert_markdown(heading_level, html_id) }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock table_style %} | ||
{% elif config.docstring_section_style == "list" %} | ||
{% block list_style %} | ||
<p>{{ section.title or "Returns:" }}</p> | ||
<ul> | ||
{% for returns in section.value %} | ||
<li class="field-body"> | ||
{% if returns.name %}<b>{{ returns.name }}</b>{% endif %} | ||
{% if returns.annotation %} | ||
{% with expression = returns.annotation %} | ||
{% if returns.name %}({% endif %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% if returns.name %}){% endif %} | ||
{% endwith %} | ||
{% endif %} | ||
– {{ returns.description|convert_markdown(heading_level, html_id) }} | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endblock list_style %} | ||
{% elif config.docstring_section_style == "spacy" %} | ||
{% block spacy_style %} | ||
<table> | ||
<thead> | ||
<tr> | ||
<th><b>{{ (section.title or "RETURNS").rstrip(":").upper() }}</b></th> | ||
<th><b>DESCRIPTION</b></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for returns in section.value %} | ||
<tr> | ||
<td> | ||
{% if returns.name %} | ||
<code>{{ returns.name }}</code> | ||
{% elif returns.annotation %} | ||
<span class="doc-returns-annotation"> | ||
{% with expression = returns.annotation %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
</span> | ||
{% endif %} | ||
</td> | ||
<td class="doc-returns-details"> | ||
{{ returns.description|convert_markdown(heading_level, html_id) }} | ||
{% if returns.name and returns.annotation %} | ||
<p> | ||
<span class="doc-returns-annotation"> | ||
<b>TYPE:</b> | ||
{% with expression = returns.annotation %} | ||
<code>{% include "expression.html" with context %}</code> | ||
{% endwith %} | ||
</span> | ||
</p> | ||
{% endif %} | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endblock spacy_style %} | ||
{% endif %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
::: seaplayer.codeсbase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
::: seaplayer.config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
::: seaplayer.exceptions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Welcome to SeaPlayer API | ||
|
||
Пусто |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
::: seaplayer.languages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
::: seaplayer.plug.pluginbase |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
::: seaplayer.plug.pluginloader |
Oops, something went wrong.