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

Commit dc62033

Browse files
authored
Merge pull request #193 from appwrite/fix-functions-headings
Install dependency section of functions guide is missing headings
2 parents 750151d + d0ed98e commit dc62033

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

app/views/docs/functions.phtml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ $runtimes = $this->getParam('runtimes', []);
6262
});
6363
};</code></pre>
6464
</div>
65-
<b>Installing Dependencies</b>
65+
<p><b>Installing Dependencies</b></p>
6666
<p>Include a <b>package.json</b> along with your function, and Appwrite handles the rest! The best practice is to make sure <b>node_modules</b> folder is <b>not</b> part of your tarball.</p>
6767
</div>
6868
</li>
@@ -94,7 +94,7 @@ return function ($req, $res) {
9494
]);
9595
};</code></pre>
9696
</div>
97-
<b>Installing Dependencies</b>
97+
<p><b>Installing Dependencies</b></p>
9898
<p>Include a <b>composer.json</b> file in your function, make sure to require autoload.php from vendor folder, and Appwrite will handle the rest!. The best practice is to make sure <b>vendor</b> directory is <b>not</b> part of your tarball. </p>
9999
</div>
100100
</li>
@@ -124,7 +124,7 @@ def main(req, res):
124124
'trigger': trigger,
125125
})</code></pre>
126126
</div>
127-
<b>Installing Dependencies</b>
127+
<p><b>Installing Dependencies</b></p>
128128
<p>Include a <b>requirements.txt</b> file in your function, Appwrite will handle the rest!</p>
129129
</div>
130130
</li>
@@ -154,7 +154,7 @@ def main(req, res):
154154
})
155155
end</code></pre>
156156
</div>
157-
<b>Installing Dependencies</b>
157+
<p><b>Installing Dependencies</b></p>
158158
<p>Include a <b>Gemfile</b> in your function, Appwrite handles the rest!</p>
159159
</div>
160160
</li>
@@ -184,7 +184,7 @@ end</code></pre>
184184
});
185185
};</code></pre>
186186
</div>
187-
<b>Installing Dependencies</b>
187+
<p><b>Installing Dependencies</b></p>
188188
<p>No special steps are required for Deno, Appwrite handles everything!</p>
189189
</div>
190190
</li>
@@ -217,7 +217,7 @@ Future &lt;void&gt; start(final req, final res) async {
217217
});
218218
}</code></pre>
219219
</div>
220-
<b>Installing Dependencies</b>
220+
<p><b>Installing Dependencies</b></p>
221221
<p>Include a <b>pubspec.yaml</b> file with your function, Appwrite handles the rest!</p>
222222
</div>
223223
</li>
@@ -247,7 +247,7 @@ Future &lt;void&gt; start(final req, final res) async {
247247
}</code></pre>
248248
</div>
249249
<p>With Swift, your <b>entrypoint</b> can be empty since Appwrite automatically infers it from the location of your <b>main()</b> function. Just ensure that your cloud function has a <b>single declaration of main()</b> across your source files.</p>
250-
<b>Installing Dependencies</b>
250+
<p><b>Installing Dependencies</b></p>
251251
<p>Include a <b>Package.swift</b> file with your function, Appwrite handles the rest!</p>
252252
</div>
253253
</li>

0 commit comments

Comments
 (0)