@writedocs/generator 0.10.13 → 0.10.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/astro.config.mjs +610 -562
- package/package.json +32 -32
- package/src/cli/generate-api-pages.js +418 -384
- package/src/cli/write-redirects-file.js +125 -116
- package/src/components/Image.astro +19 -3
- package/src/icons/README.md +12 -0
- package/src/layout/BaseLayout.astro +877 -831
- package/src/layout/components/AnalyticsScripts.astro +45 -77
- package/src/layout/components/ConsentBanner.astro +118 -0
- package/src/layout/styles/base.css +8 -0
- package/src/lib/config-schema.js +97 -10
- package/src/lib/config-schema.ts +1882 -1768
- package/src/lib/consent.js +102 -0
- package/src/lib/image-size.js +130 -0
- package/src/lib/item-pages.js +63 -0
- package/src/lib/json-ld.js +127 -0
- package/src/lib/json-schema-descriptions.js +226 -212
- package/src/lib/last-modified.js +52 -0
- package/src/lib/link-check.js +506 -500
- package/src/lib/meta-description.js +41 -0
- package/src/lib/mintlify-convert.js +605 -603
- package/src/lib/moved-api-pages.js +54 -0
- package/src/lib/project-files-integration.js +61 -0
- package/src/lib/project-files.js +126 -0
- package/src/lib/rehype-image-loading.js +71 -0
- package/src/lib/robots-txt.js +16 -0
- package/src/lib/seo-tags.js +137 -0
- package/src/lib/styles-asset-integration.js +21 -3
- package/src/pages/[...slug].astro +19 -0
- package/src/scripts/consent.ts +62 -0
- package/writedocs.schema.json +100 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@writedocs/generator",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.15",
|
|
4
4
|
"description": "Static site generator for docs — a writedocs.json + MDX folder in, a static site out.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -48,40 +48,40 @@
|
|
|
48
48
|
"access": "public"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@apidevtools/swagger-parser": "
|
|
51
|
+
"@apidevtools/swagger-parser": "12.1.0",
|
|
52
52
|
"@astrojs/markdown-remark": "7.2.4",
|
|
53
|
-
"@astrojs/mdx": "
|
|
54
|
-
"@astrojs/react": "
|
|
55
|
-
"@astrojs/sitemap": "
|
|
56
|
-
"@iconify-json/bi": "
|
|
57
|
-
"@iconify-json/fa6-brands": "
|
|
58
|
-
"@iconify-json/fa6-solid": "
|
|
59
|
-
"@iconify-json/heroicons": "
|
|
60
|
-
"@iconify-json/ion": "
|
|
61
|
-
"@iconify-json/lucide": "
|
|
62
|
-
"@iconify-json/mdi": "
|
|
63
|
-
"@iconify-json/ri": "
|
|
64
|
-
"@iconify-json/simple-icons": "
|
|
65
|
-
"@iconify-json/tabler": "
|
|
66
|
-
"@mdx-js/mdx": "
|
|
67
|
-
"@shikijs/transformers": "
|
|
68
|
-
"@tailwindcss/vite": "
|
|
53
|
+
"@astrojs/mdx": "7.0.8",
|
|
54
|
+
"@astrojs/react": "6.0.2",
|
|
55
|
+
"@astrojs/sitemap": "3.7.3",
|
|
56
|
+
"@iconify-json/bi": "1.2.7",
|
|
57
|
+
"@iconify-json/fa6-brands": "1.2.6",
|
|
58
|
+
"@iconify-json/fa6-solid": "1.2.4",
|
|
59
|
+
"@iconify-json/heroicons": "1.2.3",
|
|
60
|
+
"@iconify-json/ion": "1.2.7",
|
|
61
|
+
"@iconify-json/lucide": "1.2.123",
|
|
62
|
+
"@iconify-json/mdi": "1.2.3",
|
|
63
|
+
"@iconify-json/ri": "1.2.10",
|
|
64
|
+
"@iconify-json/simple-icons": "1.2.93",
|
|
65
|
+
"@iconify-json/tabler": "1.2.38",
|
|
66
|
+
"@mdx-js/mdx": "3.1.1",
|
|
67
|
+
"@shikijs/transformers": "4.4.3",
|
|
68
|
+
"@tailwindcss/vite": "4.3.3",
|
|
69
69
|
"astro": "7.2.9",
|
|
70
|
-
"astro-icon": "
|
|
71
|
-
"commander": "
|
|
72
|
-
"dotenv": "
|
|
73
|
-
"gray-matter": "
|
|
70
|
+
"astro-icon": "1.1.5",
|
|
71
|
+
"commander": "15.0.0",
|
|
72
|
+
"dotenv": "17.4.2",
|
|
73
|
+
"gray-matter": "4.0.3",
|
|
74
74
|
"jsonc-parser": "3.3.1",
|
|
75
|
-
"katex": "
|
|
76
|
-
"mermaid": "
|
|
77
|
-
"pagefind": "
|
|
78
|
-
"react": "
|
|
79
|
-
"react-dom": "
|
|
80
|
-
"rehype-katex": "
|
|
81
|
-
"remark-math": "
|
|
82
|
-
"shiki": "
|
|
83
|
-
"tailwindcss": "
|
|
84
|
-
"zod": "
|
|
75
|
+
"katex": "0.16.47",
|
|
76
|
+
"mermaid": "11.16.1",
|
|
77
|
+
"pagefind": "1.5.2",
|
|
78
|
+
"react": "19.2.8",
|
|
79
|
+
"react-dom": "19.2.8",
|
|
80
|
+
"rehype-katex": "7.0.1",
|
|
81
|
+
"remark-math": "6.0.0",
|
|
82
|
+
"shiki": "4.4.3",
|
|
83
|
+
"tailwindcss": "4.3.3",
|
|
84
|
+
"zod": "4.4.3"
|
|
85
85
|
},
|
|
86
86
|
"engines": {
|
|
87
87
|
"node": ">=22.12.0"
|