Skip to content
This repository was archived by the owner on Sep 29, 2023. It is now read-only.

Commit 850ebbf

Browse files
authored
Merge pull request #107 from michizhou/patch-1
Fix: improper page attributes and parameters
2 parents ef1adbb + da86d2a commit 850ebbf

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

app/views/docs/functions.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ void main() { // Init SDK
219219
</tbody>
220220
</table>
221221

222-
<h2><a href="/docs/functions#enviromentVariables" id="enviromentVariables">Environment Variables</a></h2>
222+
<h2><a href="/docs/functions#environmentVariables" id="environmentVariables">Environment Variables</a></h2>
223223

224224
<p>Environment variables supplied by Appwrite in addition to your own defined environment variables that you can access from your function code. These variables give you information about your execution runtime environment.</p>
225225

app/views/docs/rules.phtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ $markdown->setSafeMode(true);
55

66
<p>Rules are the building blocks of Appwrite Database collections. Using rules and their validators you are able to structure your project data and make sure you only get the data in the formats you expect to.</p>
77

8-
<h2><a href="/docs/rules#ruleOjbect" id="ruleObject">Rule Object</a></h2>
8+
<h2><a href="/docs/rules#ruleObject" id="ruleObject">Rule Object</a></h2>
99

1010
<?php
1111
$parameters = [

app/views/docs/service.phtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ $platforms = $this->getParam('platforms', []);
1515
$version = $this->getParam('version', '');
1616
$versionDocs = $this->getParam('versionDocs', '');
1717
$versions = $this->getParam('versions', []);
18-
$classess = [];
18+
$classes = [];
1919
$paths = $spec['paths'] ?? [];
2020
$codes = [
2121
'200' => [
@@ -80,7 +80,7 @@ $paramSDK = (!empty($sdk)) ? '?sdk='.$sdk : '';
8080
<style>
8181
<?php foreach ($platforms as $key => $platform):
8282
if(!in_array($key, $blacklist) && $platform['enabled']) {
83-
$classess[] = 'example-for-'.$key;
83+
$classes[] = 'example-for-'.$key;
8484
}
8585
?>
8686

@@ -192,7 +192,7 @@ $paramSDK = (!empty($sdk)) ? '?sdk='.$sdk : '';
192192
</div>
193193

194194
<?php if(!empty($path) && file_exists($path)): ?>
195-
<div class="row responsive <?php echo implode(' ', $classess); ?>">
195+
<div class="row responsive <?php echo implode(' ', $classes); ?>">
196196
<div class="col span-8 margin-bottom">
197197

198198
<div class="content margin-end-xl">

0 commit comments

Comments
 (0)