Skip to content

Commit 4d6fb6b

Browse files
committed
Small fixes
1 parent 814ffd5 commit 4d6fb6b

File tree

13 files changed

+807
-805
lines changed

13 files changed

+807
-805
lines changed

.github/ISSUE_TEMPLATE/bug-report.md

+12-7
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ A clear and concise description of what the bug is.
1212

1313
**To Reproduce**
1414
Steps to locate the bug:
15+
1516
1. Go to '...'
1617
2. Click on '...'
1718
3. Scroll down to '...'
@@ -24,18 +25,22 @@ A clear and concise description of what you expected to find.
2425
If applicable, add screenshots to help explain your problem.
2526

2627
## If describing a mismatch with a RunPod product, please include the following information about your environment:
28+
2729
**Desktop:**
28-
- OS: [e.g. iOS]
29-
- Browser [e.g. chrome, safari]
30-
- Version [e.g. 22]
30+
31+
- OS: [e.g. iOS]
32+
- Browser [e.g. chrome, safari]
33+
- Version [e.g. 22]
3134

3235
**Smartphone:**
33-
- Device: [e.g. iPhone6]
34-
- OS: [e.g. iOS8.1]
35-
- Browser [e.g. stock browser, safari]
36-
- Version [e.g. 22]
36+
37+
- Device: [e.g. iPhone6]
38+
- OS: [e.g. iOS8.1]
39+
- Browser [e.g. stock browser, safari]
40+
- Version [e.g. 22]
3741

3842
**Interface:**
43+
3944
- Web interface, CLI, or web terminal?
4045

4146
**

docs/pods/overview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Learn about Pods.
44
sidebar_position: 1
55
---
66

7-
Pods are running container instances. You can pull an instance from a container registry such as Docker Hub, GitHub Container Registry, Amazon Elastic Container Registry, or another compatible registry.
7+
Pods are running container instances. You can pull an instance from a container registry such as Docker Hub, GitHub Container Registry, Amazon Elastic Container Registry, or another compatible registry.
88

99
:::note
1010

docs/pods/savings-plans.md

+5-4
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ Savings Plans are a powerful cost-saving feature designed to optimize your RunPo
1010

1111
To start saving with RunPod's Savings Plans, ensure you have sufficient RunPod credits in your account.
1212

13-
There are two ways to create a savings plan.
14-
- Add a Savings Plan to your existing Pod from the Pod dashboard.
15-
- Initiate a Savings Plan during Pod deployment.
13+
There are two ways to create a savings plan.
14+
15+
- Add a Savings Plan to your existing Pod from the Pod dashboard.
16+
- Initiate a Savings Plan during Pod deployment.
1617

1718
Regularly check the **Savings Plans** section to track your Savings Plans and associated pods.
1819

@@ -23,7 +24,7 @@ Regularly check the **Savings Plans** section to track your Savings Plans and as
2324

2425
**Reduced Costs**: By paying upfront for a Savings Plan, you can enjoy discounted rates on uninterrupted instances. This means significant cost savings for your RunPod deployments.
2526

26-
**Flexible Savings**: When you stop a Pod, the Savings Plan associated with it applies to your next deployment of the same card. This means you continue to benefit from your savings commitment even after temporary pauses in your pod usage.
27+
**Flexible Savings**: When you stop a Pod, the Savings Plan associated with it applies to your next deployment of the same card. This means you continue to benefit from your savings commitment even after temporary pauses in your pod usage.
2728

2829
:::warning
2930

docs/pods/storage/_volume.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ Volumes can be:
66

77
## Persistent
88

9-
## Ephemeral
9+
## Ephemeral

docs/pods/templates/manage-templates.md

-1
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,4 @@ Use environment variables to pass configuration settings and secrets to your con
3939

4040
![](/img/docs/b7670dd-image.png)
4141

42-
4342
RunPod also provides a set of predefined [environment variables](/pods/references/environment-variables) that provide information about the pod, such as the unique identifier for your pod (`RUNPOD_POD_ID`), the API key used to make RunPod API calls to the specific pod (`RUNPOD_API_KEY`), the name of the host server the pod is running on (`RUNPOD_POD_HOSTNAME`), and more.

docs/serverless/endpoints/overview.md

-2
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,3 @@ You can use both asynchronous and synchronous jobs.
1515
Ensure you have a RunPod API key, available under user settings, for identification and billing purposes. Remember, your inputs or outputs are not retained beyond 30 minutes to ensure privacy.
1616

1717
:::
18-
19-

docs/serverless/references/operations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ description: "Comprehensive guide on interacting with models using RunPod's API
44
sidebar_position: 2
55
---
66

7-
RunPod's endpoints facilitate submitting jobs and retrieving outputs.
7+
RunPod's endpoints facilitate submitting jobs and retrieving outputs.
88

9-
To use these endpoints, you will need to have your endpoint ID.
9+
To use these endpoints, you will need to have your endpoint ID.
1010
The constructed URL will start with `https://api.runpod.ai/v2/{endpoint_id}/{operation}` followed by an operation.
1111

1212
Operations available to all users are:

docs/serverless/workers/handlers/overview.md

-1
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,3 @@ This can be used to check if the worker ran successfully, for example, in a CI/C
7474

7575
- For information on testing your handler locally, see [Local testing](/serverless/workers/development/local-testing).
7676
- For information on setting a continuous integration pipeline, see [Continuous integration](/serverless/workers/deploy).
77-

docs/tutorials/serverless/run-your-first.md

-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ If your job is still processing, the response will indicate that. Here's an exam
6363
}
6464
```
6565

66-
6766
### Get Completed Job Status
6867

6968
Once your job is complete, you'll receive a final response like this:

docusaurus.config.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ const config = {
8080

8181
themeConfig: {
8282
colorMode: {
83-
defaultMode: 'dark',
83+
defaultMode: "dark",
8484
},
8585
// algolia: {
8686
// appId: "LZTDWL431O",
@@ -213,7 +213,7 @@ const config = {
213213
defer: true,
214214
},
215215
],
216-
plugins: [require.resolve('docusaurus-lunr-search')],
216+
plugins: [require.resolve("docusaurus-lunr-search")],
217217
};
218218

219219
export default config;

src/theme/NotFound/Content/index.js

+30-25
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,38 @@
1-
import React, { useState, useEffect } from 'react';
2-
import clsx from 'clsx';
3-
import Translate from '@docusaurus/Translate';
4-
import Heading from '@theme/Heading';
5-
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
1+
import Translate from "@docusaurus/Translate";
2+
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
3+
import Heading from "@theme/Heading";
4+
import clsx from "clsx";
5+
import React, { useEffect, useState } from "react";
66

7-
export default function NotFoundContent({className}) {
7+
export default function NotFoundContent({ className }) {
88
const [imageData, setImageData] = useState(null);
99
const { siteConfig: { customFields } } = useDocusaurusContext();
1010

1111
useEffect(() => {
1212
const options = {
13-
method: 'POST',
13+
method: "POST",
1414
headers: {
15-
accept: 'application/json',
16-
'content-type': 'application/json',
15+
accept: "application/json",
16+
"content-type": "application/json",
1717
authorization: customFields.runPodAPI,
1818
},
1919
body: JSON.stringify({
2020
input: {
21-
prompt: 'A visually striking 404 error page design, featuring bold Glitch Art influences with digital distortion effects. The theme is outer space, with a background of stars and galaxies. The design prominently displays the number 404 in a futuristic font, centered in the composition, evoking a sense of being lost in the cosmos. Make sure there are bright gold stars.',
21+
prompt:
22+
"A visually striking 404 error page design, featuring bold Glitch Art influences with digital distortion effects. The theme is outer space, with a background of stars and galaxies. The design prominently displays the number 404 in a futuristic font, centered in the composition, evoking a sense of being lost in the cosmos. Make sure there are bright gold stars.",
2223
num_inference_steps: 25,
2324
refiner_inference_steps: 50,
2425
width: 1024,
2526
height: 1024,
2627
guidance_scale: 7.5,
2728
strength: 0.3,
2829
seed: null,
29-
num_images: 1
30-
}
31-
})
30+
num_images: 1,
31+
},
32+
}),
3233
};
3334

34-
fetch('https://api.runpod.ai/v2/2hija9yaxkmo8g/runsync', options)
35+
fetch("https://api.runpod.ai/v2/2hija9yaxkmo8g/runsync", options)
3536
.then(response => response.json())
3637
.then(data => {
3738
if (data && data.output) {
@@ -44,33 +45,36 @@ export default function NotFoundContent({className}) {
4445
}, []);
4546

4647
return (
47-
<main className={clsx('container margin-vert--xl', className)}>
48+
<main className={clsx("container margin-vert--xl", className)}>
4849
<div className="row">
4950
<div className="col col--6 col--offset-3">
5051
<Heading as="h1" className="hero__title">
5152
<Translate
5253
id="theme.NotFound.title"
53-
description="The title of the 404 page">
54+
description="The title of the 404 page"
55+
>
5456
Oops! This page is on a Space Mission.
5557
</Translate>
5658
</Heading>
5759
<p>
5860
<Translate
5961
id="theme.NotFound.p1"
60-
description="The first paragraph of the 404 page">
61-
It looks like the page you're seeking might have been abducted by aliens.
62-
Fear not, we'll help you navigate back to familiar space.
62+
description="The first paragraph of the 404 page"
63+
>
64+
It looks like the page you're seeking might have been abducted by aliens. Fear not, we'll help you
65+
navigate back to familiar space.
6366
</Translate>
6467
</p>
6568
<p>
6669
<Translate
6770
id="theme.NotFound.p2"
68-
description="The 2nd paragraph of the 404 page">
69-
If you're feeling a bit lost, don't hesitate to reach out to the hyperlink helpline —
70-
let the site owner know their link is floating in the digital void.
71+
description="The 2nd paragraph of the 404 page"
72+
>
73+
If you're feeling a bit lost, don't hesitate to reach out to the hyperlink helpline — let the site owner
74+
know their link is floating in the digital void.
7175
</Translate>
7276
</p>
73-
<div style={{ display: 'flex', justifyContent: 'center', alignItems: 'center' }}>
77+
<div style={{ display: "flex", justifyContent: "center", alignItems: "center" }}>
7478
{/* Display the image if it's available */}
7579
{imageData && <img src={imageData} alt="AI generated 404 error page" />}
7680
</div>
@@ -79,7 +83,8 @@ export default function NotFoundContent({className}) {
7983
<p>
8084
<Translate
8185
id="theme.NotFound.p3"
82-
description="Paragraph explaining about the generated art">
86+
description="Paragraph explaining about the generated art"
87+
>
8388
The cosmic art you see here was conjured up by the digital wizards at RunPod's Serverless Endpoint,
8489
specifically for this 404 page. Pretty neat, huh?
8590
</Translate>
@@ -89,4 +94,4 @@ export default function NotFoundContent({className}) {
8994
</div>
9095
</main>
9196
);
92-
}
97+
}

src/theme/NotFound/index.js

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
import React from 'react';
2-
import {translate} from '@docusaurus/Translate';
3-
import {PageMetadata} from '@docusaurus/theme-common';
4-
import Layout from '@theme/Layout';
5-
import NotFoundContent from '@theme/NotFound/Content';
1+
import { PageMetadata } from "@docusaurus/theme-common";
2+
import { translate } from "@docusaurus/Translate";
3+
import Layout from "@theme/Layout";
4+
import NotFoundContent from "@theme/NotFound/Content";
5+
import React from "react";
66
export default function Index() {
77
const title = translate({
8-
id: 'theme.NotFound.title',
9-
message: 'Page Not Found',
8+
id: "theme.NotFound.title",
9+
message: "Page Not Found",
1010
});
1111
return (
1212
<>

0 commit comments

Comments
 (0)