-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
37 changed files
with
137 additions
and
385 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,6 @@ | ||
# AdInfo for Defold | ||
# Advertising info for Defold | ||
|
||
This is a Defold [native extension](https://www.defold.com/manuals/extensions/) which provides access to AD ID and AD tracking status on iOS and Android devices. | ||
Defold [native extension](https://www.defold.com/manuals/extensions/) which provides access to AD ID and AD tracking status on iOS and Android devices. | ||
|
||
To learn more please visit the [documentation page](https://defold.github.io/extension-adinfo/) for this extension. | ||
|
||
--- | ||
|
||
If you have any issues, questions or suggestions please [create an issue](https://github.com/defold/extension-adinfo/issues). | ||
## API and installation | ||
[API and setup instructions](https://defold.github.io/extension-adinfo). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
## Modules | ||
{% for item in site.data.api %} | ||
### <code>{{ item.name }}</code> | ||
{{ item.desc }} | ||
{% endfor %} | ||
|
||
## Enums | ||
<table> | ||
<tbody> | ||
{% for module in site.data.api %} | ||
{% for item in module.members %} | ||
{% if item.type contains 'number' %} | ||
<tr> | ||
<td><strong>{{ module.name }}.{{ item.name }}</strong></td> | ||
<td>{{ item.desc | markdownify | replace: "[icon:attention]","<br><br>⚠️"}}</td> | ||
</tr> | ||
|
||
{% endif %} | ||
{% endfor %} | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
|
||
<hr> | ||
|
||
## Functions | ||
<table> | ||
<tbody> | ||
{% for module in site.data.api %} | ||
{% for item in module.members %} | ||
{% if item.type contains 'function' %} | ||
<tr> | ||
<td><a href="#{{ item.name | url_encode }}"><strong>{{ module.name }}.{{ item.name }}()</strong></a></td> | ||
<td>{{ item.desc | truncate: 80 }}</td> | ||
</tr> | ||
{% endif %} | ||
{% endfor %} | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
|
||
{% for module in site.data.api %} | ||
{% for function in module.members %} | ||
{% if function.type contains 'function' %} | ||
<div class="function-wrap"> | ||
<h3 class="function-header"><a href="#{{ function.name | url_encode }}" id="{{ function.name | url_encode }}"><code>{{ module.name }}.{{ function.name }}({% for param in function.parameters %}{{param.name}}{% unless forloop.last %}, {% endunless %}{% endfor %})</code></a></h3> | ||
{% if function.parameters %} | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Parameter</th> | ||
<th>Type</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% for param in function.parameters %} | ||
<tr> | ||
<td style="text-align: right;"> | ||
<strong>{{ param.name }}</strong> | ||
{% if param.optional %} | ||
(optional) | ||
{% endif %} | ||
</td> | ||
<td><code>{{ param.type }}</code></td> | ||
<td>{{ param.desc | markdownify }} | ||
{% if param.type == "function" %} | ||
{% include type-function.md params=param.parameters %} | ||
{% endif %} | ||
{% if param.type == "table" %} | ||
{% include type-table.md fields=param.members %} | ||
{% endif %} | ||
</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endif %} | ||
{% if function.returns %} | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Return value</th> | ||
<th>Type</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<h4>Returns</h4> | ||
{% for return in function.returns %} | ||
<tr> | ||
<td>{{ return.name }}</td> | ||
<td><code class="inline-code-block">{{ return.type }}</code></td> | ||
<td>{{ return.desc | markdownify }}</td> | ||
</tr> | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
{% endif %} | ||
{{ function.desc | markdownify | replace: "[icon:attention]","<br><br>⚠️" | replace: "[type:string]","<code class='inline-code-block'>string</code>" | replace: "[type:number]","<code class='inline-code-block'>number</code>" | replace: "[type:table]","<code class='inline-code-block'>table</code>" | markdownify}} | ||
|
||
{% if function.examples %} | ||
<h4>Examples</h4> | ||
{% for example in function.examples %} | ||
{{ example.desc | markdownify }} | ||
{% endfor %} | ||
{% endif %} | ||
</div> | ||
|
||
{% endif %} | ||
{% endfor %} | ||
{% endfor %} |
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
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 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 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 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
File renamed without changes.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Empty file.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
Empty file.
Empty file.
Binary file not shown.
Oops, something went wrong.