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

Commit d89496d

Browse files
Merge pull request #358 from appwrite/fix-broken-relative-links
Fix some broken relative links
2 parents f770577 + 5876e64 commit d89496d

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

app/views/docs/functions.phtml

+2-2
Original file line numberDiff line numberDiff line change
@@ -719,7 +719,7 @@ func main() async throws {
719719

720720
<p>Appwrite Functions can be executed using Client or Server SDKs. Client SDKs must be authenticated with an account that has been granted execution <a href="/docs/permissions">permissions</a> on the function's settings page. Server SDKs require an API key with the correct scopes.</p>
721721

722-
<p>The Functions Service APIs are rate limited to 60 calls per minute per account when using a Client SDK. Learn more about <a href="docs/rate-limits">rate limiting</a>. The response size of a Cloud Function is limited to 1MB. Responses larger than 1MB should be handled using Appwrite's Databases or Storage service.</p>
722+
<p>The Functions Service APIs are rate limited to 60 calls per minute per account when using a Client SDK. Learn more about <a href="/docs/rate-limits">rate limiting</a>. The response size of a Cloud Function is limited to 1MB. Responses larger than 1MB should be handled using Appwrite's Databases or Storage service.</p>
723723

724724
<p>Each execution has a default timeout of 15 seconds to prevent hanging functions from blocking resources. This timeout can be configured per function on a function's settings page or in <code>appwrite.json</code> for up to 900 seconds.</p>
725725

@@ -781,7 +781,7 @@ func main() async throws {
781781
</tbody>
782782
</table>
783783

784-
<p>By default, the following runtimes are enabled: "node-16.0, php-8.0, python-3.9, ruby-3.0". To enable or disable runtimes, you can edit the <code>_APP_FUNCTIONS_RUNTIMES</code> <a href="docs/environment-variables#functions">environment variable</a>.</p>
784+
<p>By default, the following runtimes are enabled: <code>node-16.0</code>, <code>php-8.0</code>, <code>python-3.9</code>, <code>ruby-3.0</code>. To enable or disable runtimes, you can edit the <code>_APP_FUNCTIONS_RUNTIMES</code> <a href="/docs/environment-variables#functions">environment variable</a>.</p>
785785

786786
<h2><a href="/docs/functions#functionVariables" id="functionVariables">Function Variables</a></h2>
787787

app/views/docs/rest.phtml

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<tr>
3333
<td><code>X-Appwrite-JWT: [TOKEN]</code></td>
3434
<td><span class="tag">optional</span></td>
35-
<td>Token used for JWT authentication, tokens can be generated using the <a href="docs/client/account#accountCreateJWT">Create JWT</a> endpoint.</b></td>
35+
<td>Token used for JWT authentication, tokens can be generated using the <a href="/docs/client/account#accountCreateJWT">Create JWT</a> endpoint.</b></td>
3636
</tr>
3737
<tr>
3838
<td><code>X-Appwrite-Response-Format: [VERSION-NUMBER]</code></td>
@@ -54,7 +54,7 @@
5454
</div>
5555

5656
<h2><a href="/docs/rest#client-auth" id="client-auth">Client Authentication</a></h2>
57-
<p>You can create account sessions with POST requests to the <a href="docs/client/account">Account API</a>. Sessions are persisted using secured cookies. You can learn more about session persistence in the <a href="/docs/authentication#persistence">Authentication Guide</a>.</p>
57+
<p>You can create account sessions with POST requests to the <a href="/docs/client/account">Account API</a>. Sessions are persisted using secured cookies. You can learn more about session persistence in the <a href="/docs/authentication#persistence">Authentication Guide</a>.</p>
5858
<p>The example below shows creating an account session with the <a href="/docs/client/account#accountCreateEmailSession">Create Account Session with Email</a> endpoint.</p>
5959
<div class="ide margin-bottom" data-lang="http" data-lang-label="HTTP">
6060
<pre class="line-numbers"><code class="prism language-http" data-prism>POST /v1/account/sessions/email HTTP/1.1
@@ -93,7 +93,7 @@ X-Appwrite-Key: [API_KEY]</code></pre>
9393
</div>
9494

9595
<h2><a href="/docs/rest#server-auth" id="server-auth">JWT Authentication</a></h2>
96-
<p>JWT authentication is frequently used by server applications to act on behalf of a user. Users generate tokens using the <a href="docs/client/account#accountCreateJWT">Create JWT</a> endpoint. When issuing requests authenticated with a JWT, Appwrite will treat the request like it is from the authenticated user.</p>
96+
<p>JWT authentication is frequently used by server applications to act on behalf of a user. Users generate tokens using the <a href="/docs/client/account#accountCreateJWT">Create JWT</a> endpoint. When issuing requests authenticated with a JWT, Appwrite will treat the request like it is from the authenticated user.</p>
9797

9898
<div class="ide margin-bottom" data-lang="http" data-lang-label="HTTP">
9999
<pre class="line-numbers"><code class="prism language-http" data-prism>GET /v1/account HTTP/1.1

app/views/docs/storage.phtml

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
</tbody>
5454
</table>
5555

56-
<p>You can learn more about storage buckets and APIs you can use to manage storage buckets from our <a href="docs/server/storage">Storage documentation</a>. Now that we know how to create and configure buckets for our applications, let's look at how to manage files using the storage service.</p>
56+
<p>You can learn more about storage buckets and APIs you can use to manage storage buckets from our <a href="/docs/server/storage">Storage documentation</a>. Now that we know how to create and configure buckets for our applications, let's look at how to manage files using the storage service.</p>
5757

5858
<h2><a href="/docs/storage#createFile" id="createFile">Create File</a></h2>
5959

0 commit comments

Comments
 (0)