Skip to content

Commit 0a81d09

Browse files
authored
add docs related to pdf export (#1410)
1 parent 8bfafd1 commit 0a81d09

File tree

3 files changed

+25
-32
lines changed

3 files changed

+25
-32
lines changed

docs.json

Lines changed: 11 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,7 @@
176176
]
177177
},
178178
"guides/deployments",
179+
"pdf-exports",
179180
"contact-support"
180181
]
181182
},
@@ -247,9 +248,7 @@
247248
"groups": [
248249
{
249250
"group": "API Reference",
250-
"pages": [
251-
"api-reference/introduction"
252-
]
251+
"pages": ["api-reference/introduction"]
253252
},
254253
{
255254
"group": "Admin",
@@ -280,9 +279,7 @@
280279
"groups": [
281280
{
282281
"group": "Changelog",
283-
"pages": [
284-
"changelog"
285-
]
282+
"pages": ["changelog"]
286283
}
287284
]
288285
}
@@ -523,9 +520,7 @@
523520
"groups": [
524521
{
525522
"group": "Référence de l’API",
526-
"pages": [
527-
"fr/api-reference/introduction"
528-
]
523+
"pages": ["fr/api-reference/introduction"]
529524
},
530525
{
531526
"group": "Admin",
@@ -556,9 +551,7 @@
556551
"groups": [
557552
{
558553
"group": "Journal des modifications",
559-
"pages": [
560-
"fr/changelog"
561-
]
554+
"pages": ["fr/changelog"]
562555
}
563556
]
564557
}
@@ -799,9 +792,7 @@
799792
"groups": [
800793
{
801794
"group": "Referencia de la API",
802-
"pages": [
803-
"es/api-reference/introduction"
804-
]
795+
"pages": ["es/api-reference/introduction"]
805796
},
806797
{
807798
"group": "Administrador",
@@ -832,9 +823,7 @@
832823
"groups": [
833824
{
834825
"group": "Cambios",
835-
"pages": [
836-
"es/changelog"
837-
]
826+
"pages": ["es/changelog"]
838827
}
839828
]
840829
}
@@ -1075,9 +1064,7 @@
10751064
"groups": [
10761065
{
10771066
"group": "API 参考",
1078-
"pages": [
1079-
"zh/api-reference/introduction"
1080-
]
1067+
"pages": ["zh/api-reference/introduction"]
10811068
},
10821069
{
10831070
"group": "管理员",
@@ -1108,9 +1095,7 @@
11081095
"groups": [
11091096
{
11101097
"group": "更新日志",
1111-
"pages": [
1112-
"zh/changelog"
1113-
]
1098+
"pages": ["zh/changelog"]
11141099
}
11151100
]
11161101
}
@@ -1223,13 +1208,7 @@
12231208
"background": "/images/thumbnail/background.svg"
12241209
},
12251210
"contextual": {
1226-
"options": [
1227-
"copy",
1228-
"chatgpt",
1229-
"claude",
1230-
"cursor",
1231-
"vscode"
1232-
]
1211+
"options": ["copy", "chatgpt", "claude", "cursor", "vscode"]
12331212
},
12341213
"redirects": [
12351214
{
@@ -1393,4 +1372,4 @@
13931372
"publicApiKey": "pk_76a6caa274e800f3ceff0b2bc6b9b9d82ab8"
13941373
}
13951374
}
1396-
}
1375+
}

files/mint-full-docs.pdf

2.9 MB
Binary file not shown.

pdf-exports.mdx

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,18 @@
11
---
22
title: "PDF exports"
3+
icon: "file-down"
34
description: "Export your docs as a single PDF file"
45
---
56

7+
export const DownloadPDFButton = () => {
8+
return (
9+
<a download="mintlify-example.pdf" href="/files/mint-full-docs.pdf" className="border border-zinc-200 dark:border-zinc-800 hover:bg-zinc-100 dark:hover:bg-zinc-700 transition-colors w-fit text-sm font-medium flex items-center gap-2 rounded-lg px-3.5 py-1.5 not-prose">
10+
<Icon icon="download" size={16} />
11+
View Example PDF
12+
</a>
13+
)
14+
}
15+
616
<Info>
717
PDF exports are available on [Custom plans](https://mintlify.com/pricing).
818
</Info>
@@ -20,3 +30,7 @@ You can export your docs as a single PDF file for offline viewing. The PDF will
2030
4. Select **Export** to start the export process.
2131
5. Once the export is complete, you will receive an email with a download link.
2232
6. Click the download link to download the PDF file.
33+
34+
35+
<DownloadPDFButton />
36+

0 commit comments

Comments
 (0)