Skip to content

Commit ecc7eff

Browse files
fix broken links
1 parent 8156b14 commit ecc7eff

File tree

9 files changed

+21
-17
lines changed

9 files changed

+21
-17
lines changed

docs/concepts/generate.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: Defang uses AI to help you generate a starting point for your cloud
55

66
# Generate
77

8-
Defang includes an AI-driven agent that translates natural language prompts to an outline for your project that you can then refine. The AI agent is available through the [Defang CLI](../getting-started#install-the-defang-cli.md).
8+
Defang includes an AI-driven agent that translates natural language prompts to an outline for your project that you can then refine. The AI agent is available through the [Defang CLI](/docs/getting-started#install-the-defang-cli).
99

1010
We are working on expanding the range of supported prompts and improving the accuracy of the AI agent. If you have any feedback or suggestions, please let us know by [opening an issue](https://github.com/DefangLabs/defang/issues/new).
1111

docs/concepts/managed-llms/managed-language-models.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ Each cloud provider offers their own managed Large Language Model services. AWS
1111

1212
| Provider | Managed Language Models |
1313
| --- | --- |
14-
| [Playground](/docs/providers/playground#managed-large-language-models) ||
15-
| [AWS Bedrock](/docs/providers/aws#managed-large-language-models) ||
14+
| [Playground](/docs/providers/playground#managed-llms) ||
15+
| [AWS Bedrock](/docs/providers/aws#managed-llms) ||
1616
| [DigitalOcean GenAI](/docs/providers/digitalocean#future-improvements) ||
17-
| [GCP Vertex AI](/docs/providers/gcp#managed-large-language-models) ||
17+
| [GCP Vertex AI](/docs/providers/gcp#managed-llms) ||
1818

1919
## Usage
2020

docs/concepts/managed-storage/managed-redis.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Redis is an in-memory data structure store widely used for caching, real-time an
1414
| [Playground](/docs/providers/playground#managed-services) | ⚠️ Unmanaged |
1515
| [AWS](/docs/providers/aws#managed-storage) | ✅ Elasticache |
1616
| [DigitalOcean](/docs/providers/digitalocean#future-improvements) | ⚠️ Unmanaged |
17-
| [GCP](/docs/providers/gcp#managed-services) | ✅ Memorystore |
17+
| [GCP](/docs/providers/gcp#managed-redis) | ✅ Memorystore |
1818

1919
## How to use Managed Redis
2020

docs/concepts/resources.md

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,17 @@ title: Resources
33
description: Customize the resources your Defang services use.
44
---
55

6-
# Run-time Resources
6+
# Resources
7+
8+
Defang allows you to customize the resources allocated to your services both at build-time and at run-time.
9+
10+
## Run-time Resources
711

812
You can configure the resources available to your Defang services as required. You can configure the CPU, and memory allocated to your services as well as the number of replicas and whether or not your services requires access to GPUs.
913

10-
## Examples
14+
### Examples
1115

12-
### Docker Compose
16+
#### Docker Compose
1317

1418
```yaml
1519
services:
@@ -24,7 +28,7 @@ services:
2428
- capabilities: ["gpu"]
2529
```
2630
27-
### Pulumi
31+
#### Pulumi
2832
2933
```typescript
3034
const service = new defang.DefangService("gpu-service", {
@@ -45,7 +49,7 @@ const service = new defang.DefangService("gpu-service", {
4549
If you require access to GPUs, you can specify this in the `deploy.resources.reservations.devices[0].capabilities` section of your service as in the examples above. You can learn more about this in the [Docker-Compose documentation](https://docs.docker.com/compose/gpu-support/). This is the only supported value in the `deploy.resources.reservations.devices` section.
4650
:::
4751

48-
# Build-time Resources
52+
## Build-time Resources
4953

5054
You can configure the memory requirements and disk space requirements for your image builds by using the `shm_size` property of your service's [`build` specification](https://github.com/compose-spec/compose-spec/blob/main/build.md).
5155

docs/intro/what-is-defang.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Defang lets you take your app from Docker Compose to a secure and scalable deplo
1515
Any App, Any Stack, Any Cloud.
1616

1717
### Get Started Quickly
18-
The [Defang CLI (command line interface)](/docs/getting-started#install-the-defang-cli.md) includes an AI agent that translates natural language prompts to [generate an outline](/docs/tutorials/generate-new-code-using-ai) for your project that you can then refine. Or choose from our [library of over 50 samples](https://defang.io/samples/) covering all major frameworks and technologies.
18+
The [Defang CLI (command line interface)](/docs/getting-started#install-the-defang-cli) includes an AI agent that translates natural language prompts to [generate an outline](/docs/tutorials/generate-new-code-using-ai) for your project that you can then refine. Or choose from our [library of over 50 samples](https://defang.io/samples/) covering all major frameworks and technologies.
1919

2020

2121
### Deploy with a Single Command
@@ -27,12 +27,12 @@ Defang can automatically build and deploy your project with a single command.
2727
* [Amazon Web Services (AWS)](/docs/tutorials/deploy-to-aws)
2828
* [DigitalOcean](/docs/tutorials/deploy-to-digitalocean)
2929
* [Google Cloud Platform (GCP)](/docs/tutorials/deploy-to-gcp)
30-
- To support stateful workloads, we've got managed storage options such as [Managed Postgres](/docs/concepts/managed-storage/managed-postgres) and [Managed Redis](/docs/concepts/managed-storage/managed-redis).
30+
- To support stateful workloads, we've got managed storage options such as [Managed Postgres](/docs/concepts/managed-storage/managed-postgres) and [Managed Redis](/docs/concepts/managed-storage/managed-redis).
3131
- If you want, you can also [bring your own domain name](/docs/tutorials/use-your-own-domain-name) for your deployment.
3232

3333
Defang takes care of all the heavy lifting such as configuring networking, security, [observability](/docs/concepts/observability.md) and all the other details that usually slow down the average cloud developer.
3434
It also allows you to easily [publish updates](/docs/concepts/deployments.md#deploying-updates) to your deployed application with zero downtime.
35-
35+
3636
### Debug
3737

3838
Once you've deployed, you can use our AI agent to help [debug](/docs/concepts/debug) your cloud applications, using your service logs and project files to help you identify and resolve issues.

docs/providers/digitalocean/digitalocean.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Why should you use Defang with DigitalOcean? Defang allows you to easily create
2020

2121
### Install Defang
2222

23-
To get started with the Defang BYOC DigitalOcean Provider, first [install the latest version of the Defang CLI](../getting-started#authenticate-with-defang).
23+
To get started with the Defang BYOC DigitalOcean Provider, first [install the latest version of the Defang CLI](/docs/getting-started).
2424

2525
### Sign up for DigitalOcean
2626

docs/tutorials/deploy-with-gpu.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You'll need to clone the [Mistral & vLLM](https://github.com/DefangLabs/samples/
4949

5050
## Step 2 - Check your [Defang BYOC](../concepts/defang-byoc.md) settings
5151

52-
- Make sure you [install the latest version of the Defang CLI](../getting-started#install-the-defang-cli.md)
52+
- Make sure you [install the latest version of the Defang CLI](/docs/getting-started#install-the-defang-cli)
5353
- Then, make sure you have properly [authenticated your AWS account](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html). The Defang CLI makes use of AWS environment variables like `AWS_PROFILE`, `AWS_REGION`, `AWS_ACCESS_KEY_ID`, and `AWS_SECRET_ACCESS_KEY`, so make sure the correct values are set for those.
5454

5555
:::tip

docs/tutorials/scaling-your-services.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ Autoscaling allows your services to automatically adjust the number of replicas
6666
### Enabling Autoscaling
6767

6868
To enable autoscaling for a service, add the `x-defang-autoscaling: true` extension under the service definition in your `compose.yaml` file and remove the _**replicas**_ field in your
69-
_**deploy**_ mapping, if present. Autoscaling is available in staging and production [deployments modes](/docs/concepts/deployments#deployment_modes) only.
69+
_**deploy**_ mapping, if present. Autoscaling is available in staging and production [deployments modes](/docs/concepts/deployment-modes) only.
7070

7171
Example:
7272

docusaurus.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ const config = {
117117
},
118118
items: [
119119
{
120-
to: '/docs/Intro',
120+
to: '/docs/intro',
121121
position: 'left',
122122
label: 'Docs',
123123
},

0 commit comments

Comments
 (0)