Skip to content

Commit 8369d57

Browse files
committed
edit and add file size limits
1 parent 45751d0 commit 8369d57

File tree

1 file changed

+7
-9
lines changed

1 file changed

+7
-9
lines changed

components/files.mdx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,20 @@
11
---
22
title: "Files"
3-
description: "Manage static assets in your documentation"
3+
description: "Serve static assets from your documentation"
44
icon: "folder"
55
---
66

7-
Mintlify automatically serves static assets from your documentation repository, making it easy to include images, documents, and other files in your docs.
7+
Mintlify automatically serves static assets from your documentation repository at the appropriate path on your domain. For example, if you have `/images/my-logo.png` in your repo, the image file is available at `https://docs.your-project.com/images/my-logo.png`.
88

9-
## Static asset serving
9+
This works for any file type you want to make available to your users, including images, PDFs, videos, or schemas.
1010

11-
All static assets in your docs repository are automatically served at the appropriate path on your domain. For example, if you have `/images/my-logo.png` in your repo, the image will be available at `https://docs.yoursite.com/images/my-logo.png`.
12-
13-
This works for any file type - images, PDFs, videos, or other documents you want to make available to your users.
11+
Files must be less than 20 MB for images and 100 MB for other file types.
1412

1513
## File organization
1614

17-
Organize your files using folders to keep your repository clean:
15+
Organize your files using folders to keep your repository easy to navigate:
1816

19-
```
17+
```text
2018
/your-project
2119
|- docs.json
2220
|- images/
@@ -28,4 +26,4 @@ Organize your files using folders to keep your repository clean:
2826
|- demo-video.mp4
2927
```
3028

31-
Files are served from the root of your domain, so the structure in your repository directly maps to the URL structure.
29+
Files are served from the root of your domain, so the structure in your repository directly maps to the URL structure. From the previous example, `assets/whitepaper.pdf` would be available at `https://docs.your-project.com/assets/whitepaper.pdf`.

0 commit comments

Comments
 (0)