1
1
<!-- Title & Description -->
2
2
{% if function.type_name == 'shared' %}
3
3
< div class ="function-type-title " style ="color: #7575ff; "> Shared function</ div >
4
- < h1 style ="border-bottom: 3px solid #7575ff; margin -bottom: 0.1em; "> {{ function.name }}</ h1 >
4
+ < h1 style ="border-bottom: 3px solid #7575ff; padding -bottom: 0.1em; "> {{ function.name }}</ h1 >
5
5
< p style ="margin-top: 1em; "> {{ function['shared'].description_html }}</ p >
6
6
{% elif function.type_name == 'client' %}
7
7
< div class ="function-type-title " style ="color: #FF0000; "> Client-side function</ div >
8
- < h1 style ="border-bottom: 3px solid #FF0000; margin-bottom: 0.1em; "> {{ function.name }}</ h1 >
8
+ < h1 style ="border-bottom: 3px solid #FF0000; "> {{ function.name }}</ h1 >
9
9
< p style ="margin-top: 1em; "> {{ function['client'].description_html }}</ p >
10
10
{% elif function.type_name == 'server' %}
11
11
< div class ="function-type-title " style ="color: #FF7F00; "> Server-side function</ div >
12
- < h1 style ="border-bottom: 3px solid #FF7F00; margin-bottom: 0.1em; "> {{ function.name }}</ h1 >
12
+ < h1 style ="border-bottom: 3px solid #FF7F00; "> {{ function.name }}</ h1 >
13
13
< p style ="margin-top: 1em; "> {{ function['server'].description_html }}</ p >
14
14
{% endif %}
15
15
@@ -18,7 +18,7 @@ <h2>Syntax</h2>
18
18
{% for type_name in ['shared', 'client', 'server'] %}
19
19
{% if function[type_name] %}
20
20
{% if function[type_name].parameters %}
21
- < pre > < code class ="language-lua "> {{ function[type_name].name }}( {% for item in function[type_name].parameters %}{{ item.type }} {{ item.name }}, {% endfor %} )</ code > </ pre >
21
+ < pre > < code class ="language-lua "> {{ function[type_name].name }}( {% for item in function[type_name].parameters %}{{ item.type }} {{ item.name }}{% if not loop.last %}, {% endif %} {% endfor %} )</ code > </ pre >
22
22
< ul >
23
23
{% for item in function[type_name].parameters %}
24
24
< li > {{ item.type }} < strong > {{ item.name }}</ strong > : {{ item.description_html }}</ li >
@@ -71,9 +71,9 @@ <h2>Issues</h2>
71
71
< ul >
72
72
{% for issue in function[type_name].issues %}
73
73
< li >
74
- < p > < a target ="_blank " href ="https://github.com/multitheftauto/mtasa-blue/issues/{{ issue.id }} ">
74
+ < a target ="_blank " href ="https://github.com/multitheftauto/mtasa-blue/issues/{{ issue.id }} ">
75
75
mtasa-blue #{{ issue.id }}
76
- </ a > : {{ issue.description_html }}</ p >
76
+ </ a > : {{ issue.description_html }}
77
77
</ li >
78
78
{% endfor %}
79
79
</ ul >
0 commit comments