Add documentation pages
Browse files- docs/astro.config.mjs +3 -2
- docs/package.json +1 -0
- docs/pnpm-lock.yaml +413 -0
- docs/public/driver-head.svg +17 -0
- docs/public/github.svg +1 -1
- docs/public/star.svg +1 -0
- docs/src/components/DocsHeader.astro +20 -0
- docs/src/components/Sidebar.astro +32 -0
- docs/src/content/config.ts +14 -0
- docs/src/content/guides/basic-usage.mdx +5 -0
- docs/src/content/guides/configuration.mdx +5 -0
- docs/src/content/guides/installation.mdx +5 -0
- docs/src/env.d.ts +1 -0
- docs/src/layouts/BaseLayout.astro +2 -0
- docs/src/layouts/DocsLayout.astro +24 -89
- docs/src/lib/github.ts +30 -0
- docs/src/pages/docs/[guideId].astro +27 -0
- docs/src/pages/docs/installation.md +0 -7
- docs/src/pages/index.astro +15 -12
- docs/tsconfig.json +2 -1
docs/astro.config.mjs
CHANGED
@@ -1,9 +1,10 @@
|
|
1 |
import { defineConfig } from 'astro/config';
|
2 |
import tailwind from "@astrojs/tailwind";
|
3 |
-
|
4 |
import react from "@astrojs/react";
|
5 |
|
|
|
|
|
6 |
// https://astro.build/config
|
7 |
export default defineConfig({
|
8 |
-
integrations: [tailwind(), react()]
|
9 |
});
|
|
|
1 |
import { defineConfig } from 'astro/config';
|
2 |
import tailwind from "@astrojs/tailwind";
|
|
|
3 |
import react from "@astrojs/react";
|
4 |
|
5 |
+
import mdx from "@astrojs/mdx";
|
6 |
+
|
7 |
// https://astro.build/config
|
8 |
export default defineConfig({
|
9 |
+
integrations: [tailwind(), react(), mdx()]
|
10 |
});
|
docs/package.json
CHANGED
@@ -10,6 +10,7 @@
|
|
10 |
"astro": "astro"
|
11 |
},
|
12 |
"dependencies": {
|
|
|
13 |
"@astrojs/react": "^2.2.1",
|
14 |
"@astrojs/tailwind": "^4.0.0",
|
15 |
"@types/react": "^18.0.21",
|
|
|
10 |
"astro": "astro"
|
11 |
},
|
12 |
"dependencies": {
|
13 |
+
"@astrojs/mdx": "^0.19.7",
|
14 |
"@astrojs/react": "^2.2.1",
|
15 |
"@astrojs/tailwind": "^4.0.0",
|
16 |
"@types/react": "^18.0.21",
|
docs/pnpm-lock.yaml
CHANGED
@@ -5,6 +5,9 @@ settings:
|
|
5 |
excludeLinksFromLockfile: false
|
6 |
|
7 |
dependencies:
|
|
|
|
|
|
|
8 |
'@astrojs/react':
|
9 |
specifier: ^2.2.1
|
10 |
version: 2.2.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
@@ -98,6 +101,33 @@ packages:
|
|
98 |
- supports-color
|
99 |
dev: false
|
100 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
/@astrojs/[email protected]:
|
102 |
resolution: {integrity: sha512-3antim1gb34689GHRQFJ88JEo93HuZKQBnmxDT5W/nxiNz1p/iRxnCTEhIbJhqMOTRbbo5h2ldm5qSxx+TMFQA==}
|
103 |
engines: {node: '>=16.12.0'}
|
@@ -644,6 +674,30 @@ packages:
|
|
644 |
resolution: {integrity: sha512-4/RWEeXDO6bocPONheFe6gX/oQdP/bEpv0oL4HqjPP5DCenBSt0mHgahppY49N0CpsaqffdwPq+TlX9CYOq2Dw==}
|
645 |
dev: false
|
646 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
647 |
/@nodelib/[email protected]:
|
648 |
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
649 |
engines: {node: '>= 8'}
|
@@ -677,6 +731,12 @@ packages:
|
|
677 |
tslib: 2.5.3
|
678 |
dev: false
|
679 |
|
|
|
|
|
|
|
|
|
|
|
|
|
680 |
/@types/[email protected]:
|
681 |
resolution: {integrity: sha512-aACu/U/omhdk15O4Nfb+fHgH/z3QsfQzpnvRZhYhThms83ZnAOZz7zZAWO7mn2yyNQaA4xTO8GLK3uqFU4bYYw==}
|
682 |
dependencies:
|
@@ -712,6 +772,16 @@ packages:
|
|
712 |
'@types/ms': 0.7.31
|
713 |
dev: false
|
714 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
715 |
/@types/[email protected]:
|
716 |
resolution: {integrity: sha512-wLEm0QvaoawEDoTRwzTXp4b4jpwiJDvR5KMnFnVodm3scufTlBOWRD6N1OBf9TZMhjlNsSfcO5V+7AF4+Vy+9g==}
|
717 |
dependencies:
|
@@ -728,6 +798,10 @@ packages:
|
|
728 |
'@types/unist': 2.0.6
|
729 |
dev: false
|
730 |
|
|
|
|
|
|
|
|
|
731 |
/@types/[email protected]:
|
732 |
resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==}
|
733 |
dev: false
|
@@ -790,6 +864,14 @@ packages:
|
|
790 |
resolution: {integrity: sha512-/yrv59IEnmh655z1oeDnGcvMYwnEzNzHLgeYcQCkhYX0xBvYWrAuefoiLcPBUkMpJsb46bqQ6Yv4pwTTQ4d3Qg==}
|
791 |
dev: false
|
792 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
793 | |
794 |
resolution: {integrity: sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==}
|
795 |
engines: {node: '>=0.4.0'}
|
@@ -865,6 +947,11 @@ packages:
|
|
865 |
resolution: {integrity: sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==}
|
866 |
dev: false
|
867 |
|
|
|
|
|
|
|
|
|
|
|
868 | |
869 |
resolution: {integrity: sha512-gUYx2R0V7fpZtFRN9f4nE0We95qYhJyAr+VW0nVFqlMMF1of9MzrjjJ+8rIGJ/6RooFK8XAaXWTQMGTok3ZzEA==}
|
870 |
engines: {node: '>=16.12.0', npm: '>=6.14.0'}
|
@@ -1107,6 +1194,10 @@ packages:
|
|
1107 |
resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}
|
1108 |
dev: false
|
1109 |
|
|
|
|
|
|
|
|
|
1110 | |
1111 |
resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
|
1112 |
engines: {node: '>= 8.10.0'}
|
@@ -1372,6 +1463,39 @@ packages:
|
|
1372 |
hasBin: true
|
1373 |
dev: false
|
1374 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1375 | |
1376 |
resolution: {integrity: sha512-s6ceX0NFiU/vKPiKvFdR83U1Zffu7upwZsGwpoqfg5rbbq1l50WQ5hCeIvM6E6oD4shUHCYMsiFPns4Jk0YfMQ==}
|
1377 |
dev: false
|
@@ -1454,6 +1578,12 @@ packages:
|
|
1454 |
reusify: 1.0.4
|
1455 |
dev: false
|
1456 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1457 | |
1458 |
resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
|
1459 |
engines: {node: '>=8'}
|
@@ -1484,6 +1614,11 @@ packages:
|
|
1484 |
pkg-dir: 4.2.0
|
1485 |
dev: false
|
1486 |
|
|
|
|
|
|
|
|
|
|
|
1487 | |
1488 |
resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==}
|
1489 |
dev: false
|
@@ -1623,6 +1758,28 @@ packages:
|
|
1623 |
zwitch: 2.0.4
|
1624 |
dev: false
|
1625 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1626 | |
1627 |
resolution: {integrity: sha512-4tpQTUOr9BMjtYyNlt0P50mH7xj0Ks2xpo8M943Vykljf99HW6EzulIoJP1N3eKOSScEHzyzi9dm7/cn0RfGwA==}
|
1628 |
dependencies:
|
@@ -1706,6 +1863,21 @@ packages:
|
|
1706 |
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
|
1707 |
dev: false
|
1708 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1709 | |
1710 |
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
|
1711 |
engines: {node: '>=8'}
|
@@ -1724,6 +1896,10 @@ packages:
|
|
1724 |
has: 1.0.3
|
1725 |
dev: false
|
1726 |
|
|
|
|
|
|
|
|
|
1727 | |
1728 |
resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==}
|
1729 |
engines: {node: '>=8'}
|
@@ -1758,6 +1934,10 @@ packages:
|
|
1758 |
is-extglob: 2.1.1
|
1759 |
dev: false
|
1760 |
|
|
|
|
|
|
|
|
|
1761 | |
1762 |
resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==}
|
1763 |
engines: {node: '>=14.16'}
|
@@ -1781,6 +1961,12 @@ packages:
|
|
1781 |
engines: {node: '>=12'}
|
1782 |
dev: false
|
1783 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1784 | |
1785 |
resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
|
1786 |
engines: {node: '>=8'}
|
@@ -1938,6 +2124,11 @@ packages:
|
|
1938 |
'@jridgewell/sourcemap-codec': 1.4.15
|
1939 |
dev: false
|
1940 |
|
|
|
|
|
|
|
|
|
|
|
1941 | |
1942 |
resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==}
|
1943 |
dev: false
|
@@ -1978,6 +2169,14 @@ packages:
|
|
1978 |
- supports-color
|
1979 |
dev: false
|
1980 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1981 | |
1982 |
resolution: {integrity: sha512-My8KJ57FYEy2W2LyNom4n3E7hKTuQk/0SES0u16tjA9Z3oFkF4RrC/hPAPgjlSpezsOvI8ObcXcElo92wn5IGA==}
|
1983 |
dependencies:
|
@@ -2034,6 +2233,61 @@ packages:
|
|
2034 |
- supports-color
|
2035 |
dev: false
|
2036 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2037 | |
2038 |
resolution: {integrity: sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==}
|
2039 |
dependencies:
|
@@ -2103,6 +2357,15 @@ packages:
|
|
2103 |
uvu: 0.5.6
|
2104 |
dev: false
|
2105 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2106 | |
2107 |
resolution: {integrity: sha512-z3wJSLrDf8kRDOh2qBtoTRD53vJ+CWIyo7uyZuxf/JAbNJjiHsOpG1y5wxk8drtv3ETAHutCu6N3thkOOgueWg==}
|
2108 |
dependencies:
|
@@ -2175,6 +2438,67 @@ packages:
|
|
2175 |
micromark-util-types: 1.1.0
|
2176 |
dev: false
|
2177 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2178 | |
2179 |
resolution: {integrity: sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg==}
|
2180 |
dependencies:
|
@@ -2192,6 +2516,19 @@ packages:
|
|
2192 |
uvu: 0.5.6
|
2193 |
dev: false
|
2194 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2195 | |
2196 |
resolution: {integrity: sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ==}
|
2197 |
dependencies:
|
@@ -2264,6 +2601,19 @@ packages:
|
|
2264 |
resolution: {integrity: sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw==}
|
2265 |
dev: false
|
2266 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2267 | |
2268 |
resolution: {integrity: sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q==}
|
2269 |
dev: false
|
@@ -2511,6 +2861,19 @@ packages:
|
|
2511 |
engines: {node: '>=6'}
|
2512 |
dev: false
|
2513 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2514 | |
2515 |
resolution: {integrity: sha512-b/K8ExXaWC9t34kKeDV8kGXBkXZ1HCSAZRYE7HR14eA1GlXX5L8iWhs8USJNhQU9q5ci413jCKF0gOyovvyRBg==}
|
2516 |
dependencies:
|
@@ -2551,6 +2914,14 @@ packages:
|
|
2551 |
resolution: {integrity: sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==}
|
2552 |
dev: false
|
2553 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2554 | |
2555 |
resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
|
2556 |
dev: false
|
@@ -2782,6 +3153,15 @@ packages:
|
|
2782 |
unified: 10.1.2
|
2783 |
dev: false
|
2784 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2785 | |
2786 |
resolution: {integrity: sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==}
|
2787 |
dependencies:
|
@@ -2793,6 +3173,15 @@ packages:
|
|
2793 |
- supports-color
|
2794 |
dev: false
|
2795 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2796 | |
2797 |
resolution: {integrity: sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==}
|
2798 |
dependencies:
|
@@ -2990,6 +3379,11 @@ packages:
|
|
2990 |
engines: {node: '>=0.10.0'}
|
2991 |
dev: false
|
2992 |
|
|
|
|
|
|
|
|
|
|
|
2993 | |
2994 |
resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}
|
2995 |
dev: false
|
@@ -3080,6 +3474,12 @@ packages:
|
|
3080 |
engines: {node: '>=12'}
|
3081 |
dev: false
|
3082 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3083 | |
3084 |
resolution: {integrity: sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==}
|
3085 |
engines: {node: '>=8'}
|
@@ -3278,12 +3678,25 @@ packages:
|
|
3278 |
array-iterate: 2.0.1
|
3279 |
dev: false
|
3280 |
|
|
|
|
|
|
|
|
|
|
|
|
|
3281 | |
3282 |
resolution: {integrity: sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==}
|
3283 |
dependencies:
|
3284 |
'@types/unist': 2.0.6
|
3285 |
dev: false
|
3286 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3287 | |
3288 |
resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==}
|
3289 |
dependencies:
|
|
|
5 |
excludeLinksFromLockfile: false
|
6 |
|
7 |
dependencies:
|
8 |
+
'@astrojs/mdx':
|
9 |
+
specifier: ^0.19.7
|
10 |
+
version: 0.19.7([email protected])
|
11 |
'@astrojs/react':
|
12 |
specifier: ^2.2.1
|
13 |
version: 2.2.1(@types/[email protected])(@types/[email protected])([email protected])([email protected])
|
|
|
101 |
- supports-color
|
102 |
dev: false
|
103 |
|
104 |
+
/@astrojs/[email protected]([email protected]):
|
105 |
+
resolution: {integrity: sha512-mfEbBD7oi8yBHhcJucEjnrquREkJ3os+jioURP8BR2B8tOV2rV2j8trvmLUgfS+P/+HevGObxCTjcRYxn6T7eg==}
|
106 |
+
engines: {node: '>=16.12.0'}
|
107 |
+
dependencies:
|
108 |
+
'@astrojs/markdown-remark': 2.2.1([email protected])
|
109 |
+
'@astrojs/prism': 2.1.2
|
110 |
+
'@mdx-js/mdx': 2.3.0
|
111 |
+
acorn: 8.9.0
|
112 |
+
es-module-lexer: 1.3.0
|
113 |
+
estree-util-visit: 1.2.1
|
114 |
+
github-slugger: 1.5.0
|
115 |
+
gray-matter: 4.0.3
|
116 |
+
hast-util-to-html: 8.0.4
|
117 |
+
kleur: 4.1.5
|
118 |
+
rehype-raw: 6.1.1
|
119 |
+
remark-frontmatter: 4.0.1
|
120 |
+
remark-gfm: 3.0.1
|
121 |
+
remark-smartypants: 2.0.0
|
122 |
+
shiki: 0.14.2
|
123 |
+
source-map: 0.7.4
|
124 |
+
unist-util-visit: 4.1.2
|
125 |
+
vfile: 5.3.7
|
126 |
+
transitivePeerDependencies:
|
127 |
+
- astro
|
128 |
+
- supports-color
|
129 |
+
dev: false
|
130 |
+
|
131 |
/@astrojs/[email protected]:
|
132 |
resolution: {integrity: sha512-3antim1gb34689GHRQFJ88JEo93HuZKQBnmxDT5W/nxiNz1p/iRxnCTEhIbJhqMOTRbbo5h2ldm5qSxx+TMFQA==}
|
133 |
engines: {node: '>=16.12.0'}
|
|
|
674 |
resolution: {integrity: sha512-4/RWEeXDO6bocPONheFe6gX/oQdP/bEpv0oL4HqjPP5DCenBSt0mHgahppY49N0CpsaqffdwPq+TlX9CYOq2Dw==}
|
675 |
dev: false
|
676 |
|
677 |
+
/@mdx-js/[email protected]:
|
678 |
+
resolution: {integrity: sha512-jLuwRlz8DQfQNiUCJR50Y09CGPq3fLtmtUQfVrj79E0JWu3dvsVcxVIcfhR5h0iXu+/z++zDrYeiJqifRynJkA==}
|
679 |
+
dependencies:
|
680 |
+
'@types/estree-jsx': 1.0.0
|
681 |
+
'@types/mdx': 2.0.5
|
682 |
+
estree-util-build-jsx: 2.2.2
|
683 |
+
estree-util-is-identifier-name: 2.1.0
|
684 |
+
estree-util-to-js: 1.2.0
|
685 |
+
estree-walker: 3.0.0
|
686 |
+
hast-util-to-estree: 2.3.3
|
687 |
+
markdown-extensions: 1.1.1
|
688 |
+
periscopic: 3.1.0
|
689 |
+
remark-mdx: 2.3.0
|
690 |
+
remark-parse: 10.0.2
|
691 |
+
remark-rehype: 10.1.0
|
692 |
+
unified: 10.1.2
|
693 |
+
unist-util-position-from-estree: 1.1.2
|
694 |
+
unist-util-stringify-position: 3.0.3
|
695 |
+
unist-util-visit: 4.1.2
|
696 |
+
vfile: 5.3.7
|
697 |
+
transitivePeerDependencies:
|
698 |
+
- supports-color
|
699 |
+
dev: false
|
700 |
+
|
701 |
/@nodelib/[email protected]:
|
702 |
resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}
|
703 |
engines: {node: '>= 8'}
|
|
|
731 |
tslib: 2.5.3
|
732 |
dev: false
|
733 |
|
734 |
+
/@types/[email protected]:
|
735 |
+
resolution: {integrity: sha512-veQTnWP+1D/xbxVrPC3zHnCZRjSrKfhbMUlEA43iMZLu7EsnTtkJklIuwrCPbOi8YkvDQAiW05VQQFvvz9oieQ==}
|
736 |
+
dependencies:
|
737 |
+
'@types/estree': 1.0.1
|
738 |
+
dev: false
|
739 |
+
|
740 |
/@types/[email protected]:
|
741 |
resolution: {integrity: sha512-aACu/U/omhdk15O4Nfb+fHgH/z3QsfQzpnvRZhYhThms83ZnAOZz7zZAWO7mn2yyNQaA4xTO8GLK3uqFU4bYYw==}
|
742 |
dependencies:
|
|
|
772 |
'@types/ms': 0.7.31
|
773 |
dev: false
|
774 |
|
775 |
+
/@types/[email protected]:
|
776 |
+
resolution: {integrity: sha512-3qvGd0z8F2ENTGr/GG1yViqfiKmRfrXVx5sJyHGFu3z7m5g5utCQtGp/g29JnjflhtQJBv1WDQukHiT58xPcYQ==}
|
777 |
+
dependencies:
|
778 |
+
'@types/estree': 1.0.1
|
779 |
+
dev: false
|
780 |
+
|
781 |
+
/@types/[email protected]:
|
782 |
+
resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==}
|
783 |
+
dev: false
|
784 |
+
|
785 |
/@types/[email protected]:
|
786 |
resolution: {integrity: sha512-wLEm0QvaoawEDoTRwzTXp4b4jpwiJDvR5KMnFnVodm3scufTlBOWRD6N1OBf9TZMhjlNsSfcO5V+7AF4+Vy+9g==}
|
787 |
dependencies:
|
|
|
798 |
'@types/unist': 2.0.6
|
799 |
dev: false
|
800 |
|
801 |
+
/@types/[email protected]:
|
802 |
+
resolution: {integrity: sha512-76CqzuD6Q7LC+AtbPqrvD9AqsN0k8bsYo2bM2J8pmNldP1aIPAbzUQ7QbobyXL4eLr1wK5x8FZFe8eF/ubRuBg==}
|
803 |
+
dev: false
|
804 |
+
|
805 |
/@types/[email protected]:
|
806 |
resolution: {integrity: sha512-iiUgKzV9AuaEkZqkOLDIvlQiL6ltuZd9tGcW3gwpnX8JbuiuhFlEGmmFXEXkN50Cvq7Os88IY2v0dkDqXYWVgA==}
|
807 |
dev: false
|
|
|
864 |
resolution: {integrity: sha512-/yrv59IEnmh655z1oeDnGcvMYwnEzNzHLgeYcQCkhYX0xBvYWrAuefoiLcPBUkMpJsb46bqQ6Yv4pwTTQ4d3Qg==}
|
865 |
dev: false
|
866 |
|
867 | |
868 |
+
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
|
869 |
+
peerDependencies:
|
870 |
+
acorn: ^6.0.0 || ^7.0.0 || ^8.0.0
|
871 |
+
dependencies:
|
872 |
+
acorn: 8.9.0
|
873 |
+
dev: false
|
874 |
+
|
875 | |
876 |
resolution: {integrity: sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==}
|
877 |
engines: {node: '>=0.4.0'}
|
|
|
947 |
resolution: {integrity: sha512-I1jXZMjAgCMmxT4qxXfPXa6SthSoE8h6gkSI9BGGNv8mP8G/v0blc+qFnZu6K42vTOiuME596QaLO0TP3Lk0xg==}
|
948 |
dev: false
|
949 |
|
950 | |
951 |
+
resolution: {integrity: sha512-ISvCdHdlTDlH5IpxQJIex7BWBywFWgjJSVdwst+/iQCoEYnyOaQ95+X1JGshuBjGp6nxKUy1jMgE3zPqN7fQdg==}
|
952 |
+
hasBin: true
|
953 |
+
dev: false
|
954 |
+
|
955 | |
956 |
resolution: {integrity: sha512-gUYx2R0V7fpZtFRN9f4nE0We95qYhJyAr+VW0nVFqlMMF1of9MzrjjJ+8rIGJ/6RooFK8XAaXWTQMGTok3ZzEA==}
|
957 |
engines: {node: '>=16.12.0', npm: '>=6.14.0'}
|
|
|
1194 |
resolution: {integrity: sha512-shx7oQ0Awen/BRIdkjkvz54PnEEI/EjwXDSIZp86/KKdbafHh1Df/RYGBhn4hbe2+uKC9FnT5UCEdyPz3ai9hQ==}
|
1195 |
dev: false
|
1196 |
|
1197 | |
1198 |
+
resolution: {integrity: sha512-iBZ4F4wRbyORVsu0jPV7gXkOsGYjGHPmAyv+HiHG8gi5PtC9KI2j1+v8/tlibRvjoWX027ypmG/n0HtO5t7unw==}
|
1199 |
+
dev: false
|
1200 |
+
|
1201 | |
1202 |
resolution: {integrity: sha512-Dr3sfKRP6oTcjf2JmUmFJfeVMvXBdegxB0iVQ5eb2V10uFJUCAS8OByZdVAyVb8xXNz3GjjTgj9kLWsZTqE6kw==}
|
1203 |
engines: {node: '>= 8.10.0'}
|
|
|
1463 |
hasBin: true
|
1464 |
dev: false
|
1465 |
|
1466 | |
1467 |
+
resolution: {integrity: sha512-+5Ba/xGGS6mnwFbXIuQiDPTbuTxuMCooq3arVv7gPZtYpjp+VXH/NkHAP35OOefPhNG/UGqU3vt/LTABwcHX0w==}
|
1468 |
+
dependencies:
|
1469 |
+
'@types/estree': 1.0.1
|
1470 |
+
dev: false
|
1471 |
+
|
1472 | |
1473 |
+
resolution: {integrity: sha512-m56vOXcOBuaF+Igpb9OPAy7f9w9OIkb5yhjsZuaPm7HoGi4oTOQi0h2+yZ+AtKklYFZ+rPC4n0wYCJCEU1ONqg==}
|
1474 |
+
dependencies:
|
1475 |
+
'@types/estree-jsx': 1.0.0
|
1476 |
+
estree-util-is-identifier-name: 2.1.0
|
1477 |
+
estree-walker: 3.0.0
|
1478 |
+
dev: false
|
1479 |
+
|
1480 | |
1481 |
+
resolution: {integrity: sha512-bEN9VHRyXAUOjkKVQVvArFym08BTWB0aJPppZZr0UNyAqWsLaVfAqP7hbaTJjzHifmB5ebnR8Wm7r7yGN/HonQ==}
|
1482 |
+
dev: false
|
1483 |
+
|
1484 | |
1485 |
+
resolution: {integrity: sha512-IzU74r1PK5IMMGZXUVZbmiu4A1uhiPgW5hm1GjcOfr4ZzHaMPpLNJjR7HjXiIOzi25nZDrgFTobHTkV5Q6ITjA==}
|
1486 |
+
dependencies:
|
1487 |
+
'@types/estree-jsx': 1.0.0
|
1488 |
+
astring: 1.8.6
|
1489 |
+
source-map: 0.7.4
|
1490 |
+
dev: false
|
1491 |
+
|
1492 | |
1493 |
+
resolution: {integrity: sha512-xbgqcrkIVbIG+lI/gzbvd9SGTJL4zqJKBFttUl5pP27KhAjtMKbX/mQXJ7qgyXpMgVy/zvpm0xoQQaGL8OloOw==}
|
1494 |
+
dependencies:
|
1495 |
+
'@types/estree-jsx': 1.0.0
|
1496 |
+
'@types/unist': 2.0.6
|
1497 |
+
dev: false
|
1498 |
+
|
1499 | |
1500 |
resolution: {integrity: sha512-s6ceX0NFiU/vKPiKvFdR83U1Zffu7upwZsGwpoqfg5rbbq1l50WQ5hCeIvM6E6oD4shUHCYMsiFPns4Jk0YfMQ==}
|
1501 |
dev: false
|
|
|
1578 |
reusify: 1.0.4
|
1579 |
dev: false
|
1580 |
|
1581 | |
1582 |
+
resolution: {integrity: sha512-WtySTkS4OKev5JtpHXnib4Gxiurzh5NCGvWrFaZ34m6JehfTUhKZvn9njTfw48t6JumVQOmrKqpmGcdwxnhqBQ==}
|
1583 |
+
dependencies:
|
1584 |
+
format: 0.2.2
|
1585 |
+
dev: false
|
1586 |
+
|
1587 | |
1588 |
resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==}
|
1589 |
engines: {node: '>=8'}
|
|
|
1614 |
pkg-dir: 4.2.0
|
1615 |
dev: false
|
1616 |
|
1617 | |
1618 |
+
resolution: {integrity: sha512-wzsgA6WOq+09wrU1tsJ09udeR/YZRaeArL9e1wPbFg3GG2yDnC2ldKpxs4xunpFF9DgqCqOIra3bc1HWrJ37Ww==}
|
1619 |
+
engines: {node: '>=0.4.x'}
|
1620 |
+
dev: false
|
1621 |
+
|
1622 | |
1623 |
resolution: {integrity: sha512-MhLuK+2gUcnZe8ZHlaaINnQLl0xRIGRfcGk2yl8xoQAfHrSsL3rYu6FCmBdkdbhc9EPlwyGHewaRsvwRMJtAlA==}
|
1624 |
dev: false
|
|
|
1758 |
zwitch: 2.0.4
|
1759 |
dev: false
|
1760 |
|
1761 | |
1762 |
+
resolution: {integrity: sha512-ihhPIUPxN0v0w6M5+IiAZZrn0LH2uZomeWwhn7uP7avZC6TE7lIiEh2yBMPr5+zi1aUCXq6VoYRgs2Bw9xmycQ==}
|
1763 |
+
dependencies:
|
1764 |
+
'@types/estree': 1.0.1
|
1765 |
+
'@types/estree-jsx': 1.0.0
|
1766 |
+
'@types/hast': 2.3.4
|
1767 |
+
'@types/unist': 2.0.6
|
1768 |
+
comma-separated-tokens: 2.0.3
|
1769 |
+
estree-util-attach-comments: 2.1.1
|
1770 |
+
estree-util-is-identifier-name: 2.1.0
|
1771 |
+
hast-util-whitespace: 2.0.1
|
1772 |
+
mdast-util-mdx-expression: 1.3.2
|
1773 |
+
mdast-util-mdxjs-esm: 1.3.1
|
1774 |
+
property-information: 6.2.0
|
1775 |
+
space-separated-tokens: 2.0.2
|
1776 |
+
style-to-object: 0.4.1
|
1777 |
+
unist-util-position: 4.0.4
|
1778 |
+
zwitch: 2.0.4
|
1779 |
+
transitivePeerDependencies:
|
1780 |
+
- supports-color
|
1781 |
+
dev: false
|
1782 |
+
|
1783 | |
1784 |
resolution: {integrity: sha512-4tpQTUOr9BMjtYyNlt0P50mH7xj0Ks2xpo8M943Vykljf99HW6EzulIoJP1N3eKOSScEHzyzi9dm7/cn0RfGwA==}
|
1785 |
dependencies:
|
|
|
1863 |
resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==}
|
1864 |
dev: false
|
1865 |
|
1866 | |
1867 |
+
resolution: {integrity: sha512-7NXolsK4CAS5+xvdj5OMMbI962hU/wvwoxk+LWR9Ek9bVtyuuYScDN6eS0rUm6TxApFpw7CX1o4uJzcd4AyD3Q==}
|
1868 |
+
dev: false
|
1869 |
+
|
1870 | |
1871 |
+
resolution: {integrity: sha512-FWyyY60MeTNyeSRpkM2Iry0G9hpr7/9kD40mD/cGQEuilcZYS4okz8SN2Q6rLCJ8gbCt6fN+rC+6tMGS99LaxQ==}
|
1872 |
+
dev: false
|
1873 |
+
|
1874 | |
1875 |
+
resolution: {integrity: sha512-hmbYhX/9MUMF5uh7tOXyK/n0ZvWpad5caBA17GsC6vyuCqaWliRG5K1qS9inmUhEMaOBIW7/whAnSwveW/LtZw==}
|
1876 |
+
dependencies:
|
1877 |
+
is-alphabetical: 2.0.1
|
1878 |
+
is-decimal: 2.0.1
|
1879 |
+
dev: false
|
1880 |
+
|
1881 | |
1882 |
resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==}
|
1883 |
engines: {node: '>=8'}
|
|
|
1896 |
has: 1.0.3
|
1897 |
dev: false
|
1898 |
|
1899 | |
1900 |
+
resolution: {integrity: sha512-AAB9hiomQs5DXWcRB1rqsxGUstbRroFOPPVAomNk/3XHR5JyEZChOyTWe2oayKnsSsr/kcGqF+z6yuH6HHpN0A==}
|
1901 |
+
dev: false
|
1902 |
+
|
1903 | |
1904 |
resolution: {integrity: sha512-F+i2BKsFrH66iaUFc0woD8sLy8getkwTwtOBjvs56Cx4CgJDeKQeqfz8wAYiSb8JOprWhHH5p77PbmYCvvUuXQ==}
|
1905 |
engines: {node: '>=8'}
|
|
|
1934 |
is-extglob: 2.1.1
|
1935 |
dev: false
|
1936 |
|
1937 | |
1938 |
+
resolution: {integrity: sha512-DgZQp241c8oO6cA1SbTEWiXeoxV42vlcJxgH+B3hi1AiqqKruZR3ZGF8In3fj4+/y/7rHvlOZLZtgJ/4ttYGZg==}
|
1939 |
+
dev: false
|
1940 |
+
|
1941 | |
1942 |
resolution: {integrity: sha512-KIYLCCJghfHZxqjYBE7rEy0OBuTd5xCHS7tHVgvCLkx7StIoaxwNW3hCALgEUjFfeRk+MG/Qxmp/vtETEF3tRA==}
|
1943 |
engines: {node: '>=14.16'}
|
|
|
1961 |
engines: {node: '>=12'}
|
1962 |
dev: false
|
1963 |
|
1964 | |
1965 |
+
resolution: {integrity: sha512-baJJdQLiYaJdvFbJqXrcGv3WU3QCzBlUcI5QhbesIm6/xPsvmO+2CDoi/GMOFBQEQm+PXkwOPrp9KK5ozZsp2w==}
|
1966 |
+
dependencies:
|
1967 |
+
'@types/estree': 1.0.1
|
1968 |
+
dev: false
|
1969 |
+
|
1970 | |
1971 |
resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==}
|
1972 |
engines: {node: '>=8'}
|
|
|
2124 |
'@jridgewell/sourcemap-codec': 1.4.15
|
2125 |
dev: false
|
2126 |
|
2127 | |
2128 |
+
resolution: {integrity: sha512-WWC0ZuMzCyDHYCasEGs4IPvLyTGftYwh6wIEOULOF0HXcqZlhwRzrK0w2VUlxWA98xnvb/jszw4ZSkJ6ADpM6Q==}
|
2129 |
+
engines: {node: '>=0.10.0'}
|
2130 |
+
dev: false
|
2131 |
+
|
2132 | |
2133 |
resolution: {integrity: sha512-Z1NL3Tb1M9wH4XESsCDEksWoKTdlUafKc4pt0GRwjUyXaCFZ+dc3g2erqB6zm3szA2IUSi7VnPI+o/9jnxh9hw==}
|
2134 |
dev: false
|
|
|
2169 |
- supports-color
|
2170 |
dev: false
|
2171 |
|
2172 | |
2173 |
+
resolution: {integrity: sha512-JjA2OjxRqAa8wEG8hloD0uTU0kdn8kbtOWpPP94NBkfAlbxn4S8gCGf/9DwFtEeGPXrDcNXdiDjVaRdUFqYokw==}
|
2174 |
+
dependencies:
|
2175 |
+
'@types/mdast': 3.0.11
|
2176 |
+
mdast-util-to-markdown: 1.5.0
|
2177 |
+
micromark-extension-frontmatter: 1.1.1
|
2178 |
+
dev: false
|
2179 |
+
|
2180 | |
2181 |
resolution: {integrity: sha512-My8KJ57FYEy2W2LyNom4n3E7hKTuQk/0SES0u16tjA9Z3oFkF4RrC/hPAPgjlSpezsOvI8ObcXcElo92wn5IGA==}
|
2182 |
dependencies:
|
|
|
2233 |
- supports-color
|
2234 |
dev: false
|
2235 |
|
2236 | |
2237 |
+
resolution: {integrity: sha512-xIPmR5ReJDu/DHH1OoIT1HkuybIfRGYRywC+gJtI7qHjCJp/M9jrmBEJW22O8lskDWm562BX2W8TiAwRTb0rKA==}
|
2238 |
+
dependencies:
|
2239 |
+
'@types/estree-jsx': 1.0.0
|
2240 |
+
'@types/hast': 2.3.4
|
2241 |
+
'@types/mdast': 3.0.11
|
2242 |
+
mdast-util-from-markdown: 1.3.1
|
2243 |
+
mdast-util-to-markdown: 1.5.0
|
2244 |
+
transitivePeerDependencies:
|
2245 |
+
- supports-color
|
2246 |
+
dev: false
|
2247 |
+
|
2248 | |
2249 |
+
resolution: {integrity: sha512-DtMn9CmVhVzZx3f+optVDF8yFgQVt7FghCRNdlIaS3X5Bnym3hZwPbg/XW86vdpKjlc1PVj26SpnLGeJBXD3JA==}
|
2250 |
+
dependencies:
|
2251 |
+
'@types/estree-jsx': 1.0.0
|
2252 |
+
'@types/hast': 2.3.4
|
2253 |
+
'@types/mdast': 3.0.11
|
2254 |
+
'@types/unist': 2.0.6
|
2255 |
+
ccount: 2.0.1
|
2256 |
+
mdast-util-from-markdown: 1.3.1
|
2257 |
+
mdast-util-to-markdown: 1.5.0
|
2258 |
+
parse-entities: 4.0.1
|
2259 |
+
stringify-entities: 4.0.3
|
2260 |
+
unist-util-remove-position: 4.0.2
|
2261 |
+
unist-util-stringify-position: 3.0.3
|
2262 |
+
vfile-message: 3.1.4
|
2263 |
+
transitivePeerDependencies:
|
2264 |
+
- supports-color
|
2265 |
+
dev: false
|
2266 |
+
|
2267 | |
2268 |
+
resolution: {integrity: sha512-38w5y+r8nyKlGvNjSEqWrhG0w5PmnRA+wnBvm+ulYCct7nsGYhFVb0lljS9bQav4psDAS1eGkP2LMVcZBi/aqw==}
|
2269 |
+
dependencies:
|
2270 |
+
mdast-util-from-markdown: 1.3.1
|
2271 |
+
mdast-util-mdx-expression: 1.3.2
|
2272 |
+
mdast-util-mdx-jsx: 2.1.4
|
2273 |
+
mdast-util-mdxjs-esm: 1.3.1
|
2274 |
+
mdast-util-to-markdown: 1.5.0
|
2275 |
+
transitivePeerDependencies:
|
2276 |
+
- supports-color
|
2277 |
+
dev: false
|
2278 |
+
|
2279 | |
2280 |
+
resolution: {integrity: sha512-SXqglS0HrEvSdUEfoXFtcg7DRl7S2cwOXc7jkuusG472Mmjag34DUDeOJUZtl+BVnyeO1frIgVpHlNRWc2gk/w==}
|
2281 |
+
dependencies:
|
2282 |
+
'@types/estree-jsx': 1.0.0
|
2283 |
+
'@types/hast': 2.3.4
|
2284 |
+
'@types/mdast': 3.0.11
|
2285 |
+
mdast-util-from-markdown: 1.3.1
|
2286 |
+
mdast-util-to-markdown: 1.5.0
|
2287 |
+
transitivePeerDependencies:
|
2288 |
+
- supports-color
|
2289 |
+
dev: false
|
2290 |
+
|
2291 | |
2292 |
resolution: {integrity: sha512-WmI1gTXUBJo4/ZmSk79Wcb2HcjPJBzM1nlI/OUWA8yk2X9ik3ffNbBGsU+09BFmXaL1IBb9fiuvq6/KMiNycSg==}
|
2293 |
dependencies:
|
|
|
2357 |
uvu: 0.5.6
|
2358 |
dev: false
|
2359 |
|
2360 | |
2361 |
+
resolution: {integrity: sha512-m2UH9a7n3W8VAH9JO9y01APpPKmNNNs71P0RbknEmYSaZU5Ghogv38BYO94AI5Xw6OYfxZRdHZZ2nYjs/Z+SZQ==}
|
2362 |
+
dependencies:
|
2363 |
+
fault: 2.0.1
|
2364 |
+
micromark-util-character: 1.2.0
|
2365 |
+
micromark-util-symbol: 1.1.0
|
2366 |
+
micromark-util-types: 1.1.0
|
2367 |
+
dev: false
|
2368 |
+
|
2369 | |
2370 |
resolution: {integrity: sha512-z3wJSLrDf8kRDOh2qBtoTRD53vJ+CWIyo7uyZuxf/JAbNJjiHsOpG1y5wxk8drtv3ETAHutCu6N3thkOOgueWg==}
|
2371 |
dependencies:
|
|
|
2438 |
micromark-util-types: 1.1.0
|
2439 |
dev: false
|
2440 |
|
2441 | |
2442 |
+
resolution: {integrity: sha512-zZpeQtc5wfWKdzDsHRBY003H2Smg+PUi2REhqgIhdzAa5xonhP03FcXxqFSerFiNUr5AWmHpaNPQTBVOS4lrXw==}
|
2443 |
+
dependencies:
|
2444 |
+
'@types/estree': 1.0.1
|
2445 |
+
micromark-factory-mdx-expression: 1.0.9
|
2446 |
+
micromark-factory-space: 1.1.0
|
2447 |
+
micromark-util-character: 1.2.0
|
2448 |
+
micromark-util-events-to-acorn: 1.2.3
|
2449 |
+
micromark-util-symbol: 1.1.0
|
2450 |
+
micromark-util-types: 1.1.0
|
2451 |
+
uvu: 0.5.6
|
2452 |
+
dev: false
|
2453 |
+
|
2454 | |
2455 |
+
resolution: {integrity: sha512-gPH+9ZdmDflbu19Xkb8+gheqEDqkSpdCEubQyxuz/Hn8DOXiXvrXeikOoBA71+e8Pfi0/UYmU3wW3H58kr7akA==}
|
2456 |
+
dependencies:
|
2457 |
+
'@types/acorn': 4.0.6
|
2458 |
+
'@types/estree': 1.0.1
|
2459 |
+
estree-util-is-identifier-name: 2.1.0
|
2460 |
+
micromark-factory-mdx-expression: 1.0.9
|
2461 |
+
micromark-factory-space: 1.1.0
|
2462 |
+
micromark-util-character: 1.2.0
|
2463 |
+
micromark-util-symbol: 1.1.0
|
2464 |
+
micromark-util-types: 1.1.0
|
2465 |
+
uvu: 0.5.6
|
2466 |
+
vfile-message: 3.1.4
|
2467 |
+
dev: false
|
2468 |
+
|
2469 | |
2470 |
+
resolution: {integrity: sha512-7MSuj2S7xjOQXAjjkbjBsHkMtb+mDGVW6uI2dBL9snOBCbZmoNgDAeZ0nSn9j3T42UE/g2xVNMn18PJxZvkBEA==}
|
2471 |
+
dependencies:
|
2472 |
+
micromark-util-types: 1.1.0
|
2473 |
+
dev: false
|
2474 |
+
|
2475 | |
2476 |
+
resolution: {integrity: sha512-xNRBw4aoURcyz/S69B19WnZAkWJMxHMT5hE36GtDAyhoyn/8TuAeqjFJQlwk+MKQsUD7b3l7kFX+vlfVWgcX1w==}
|
2477 |
+
dependencies:
|
2478 |
+
'@types/estree': 1.0.1
|
2479 |
+
micromark-core-commonmark: 1.1.0
|
2480 |
+
micromark-util-character: 1.2.0
|
2481 |
+
micromark-util-events-to-acorn: 1.2.3
|
2482 |
+
micromark-util-symbol: 1.1.0
|
2483 |
+
micromark-util-types: 1.1.0
|
2484 |
+
unist-util-position-from-estree: 1.1.2
|
2485 |
+
uvu: 0.5.6
|
2486 |
+
vfile-message: 3.1.4
|
2487 |
+
dev: false
|
2488 |
+
|
2489 | |
2490 |
+
resolution: {integrity: sha512-7YA7hF6i5eKOfFUzZ+0z6avRG52GpWR8DL+kN47y3f2KhxbBZMhmxe7auOeaTBrW2DenbbZTf1ea9tA2hDpC2Q==}
|
2491 |
+
dependencies:
|
2492 |
+
acorn: 8.9.0
|
2493 |
+
acorn-jsx: 5.3.2([email protected])
|
2494 |
+
micromark-extension-mdx-expression: 1.0.8
|
2495 |
+
micromark-extension-mdx-jsx: 1.0.5
|
2496 |
+
micromark-extension-mdx-md: 1.0.1
|
2497 |
+
micromark-extension-mdxjs-esm: 1.0.5
|
2498 |
+
micromark-util-combine-extensions: 1.1.0
|
2499 |
+
micromark-util-types: 1.1.0
|
2500 |
+
dev: false
|
2501 |
+
|
2502 | |
2503 |
resolution: {integrity: sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg==}
|
2504 |
dependencies:
|
|
|
2516 |
uvu: 0.5.6
|
2517 |
dev: false
|
2518 |
|
2519 | |
2520 |
+
resolution: {integrity: sha512-jGIWzSmNfdnkJq05c7b0+Wv0Kfz3NJ3N4cBjnbO4zjXIlxJr+f8lk+5ZmwFvqdAbUy2q6B5rCY//g0QAAaXDWA==}
|
2521 |
+
dependencies:
|
2522 |
+
'@types/estree': 1.0.1
|
2523 |
+
micromark-util-character: 1.2.0
|
2524 |
+
micromark-util-events-to-acorn: 1.2.3
|
2525 |
+
micromark-util-symbol: 1.1.0
|
2526 |
+
micromark-util-types: 1.1.0
|
2527 |
+
unist-util-position-from-estree: 1.1.2
|
2528 |
+
uvu: 0.5.6
|
2529 |
+
vfile-message: 3.1.4
|
2530 |
+
dev: false
|
2531 |
+
|
2532 | |
2533 |
resolution: {integrity: sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ==}
|
2534 |
dependencies:
|
|
|
2601 |
resolution: {integrity: sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw==}
|
2602 |
dev: false
|
2603 |
|
2604 | |
2605 |
+
resolution: {integrity: sha512-ij4X7Wuc4fED6UoLWkmo0xJQhsktfNh1J0m8g4PbIMPlx+ek/4YdW5mvbye8z/aZvAPUoxgXHrwVlXAPKMRp1w==}
|
2606 |
+
dependencies:
|
2607 |
+
'@types/acorn': 4.0.6
|
2608 |
+
'@types/estree': 1.0.1
|
2609 |
+
'@types/unist': 2.0.6
|
2610 |
+
estree-util-visit: 1.2.1
|
2611 |
+
micromark-util-symbol: 1.1.0
|
2612 |
+
micromark-util-types: 1.1.0
|
2613 |
+
uvu: 0.5.6
|
2614 |
+
vfile-message: 3.1.4
|
2615 |
+
dev: false
|
2616 |
+
|
2617 | |
2618 |
resolution: {integrity: sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q==}
|
2619 |
dev: false
|
|
|
2861 |
engines: {node: '>=6'}
|
2862 |
dev: false
|
2863 |
|
2864 | |
2865 |
+
resolution: {integrity: sha512-SWzvYcSJh4d/SGLIOQfZ/CoNv6BTlI6YEQ7Nj82oDVnRpwe/Z/F1EMx42x3JAOwGBlCjeCH0BRJQbQ/opHL17w==}
|
2866 |
+
dependencies:
|
2867 |
+
'@types/unist': 2.0.6
|
2868 |
+
character-entities: 2.0.2
|
2869 |
+
character-entities-legacy: 3.0.0
|
2870 |
+
character-reference-invalid: 2.0.1
|
2871 |
+
decode-named-character-reference: 1.0.2
|
2872 |
+
is-alphanumerical: 2.0.1
|
2873 |
+
is-decimal: 2.0.1
|
2874 |
+
is-hexadecimal: 2.0.1
|
2875 |
+
dev: false
|
2876 |
+
|
2877 | |
2878 |
resolution: {integrity: sha512-b/K8ExXaWC9t34kKeDV8kGXBkXZ1HCSAZRYE7HR14eA1GlXX5L8iWhs8USJNhQU9q5ci413jCKF0gOyovvyRBg==}
|
2879 |
dependencies:
|
|
|
2914 |
resolution: {integrity: sha512-JLyh7xT1kizaEvcaXOQwOc2/Yhw6KZOvPf1S8401UyLk86CU79LN3vl7ztXGm/pZ+YjoyAJ4rxmHwbkBXJX+yw==}
|
2915 |
dev: false
|
2916 |
|
2917 | |
2918 |
+
resolution: {integrity: sha512-vKiQ8RRtkl9P+r/+oefh25C3fhybptkHKCZSPlcXiJux2tJF55GnEj3BVn4A5gKfq9NWWXXrxkHBwVPUfH0opw==}
|
2919 |
+
dependencies:
|
2920 |
+
'@types/estree': 1.0.1
|
2921 |
+
estree-walker: 3.0.0
|
2922 |
+
is-reference: 3.0.1
|
2923 |
+
dev: false
|
2924 |
+
|
2925 | |
2926 |
resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==}
|
2927 |
dev: false
|
|
|
3153 |
unified: 10.1.2
|
3154 |
dev: false
|
3155 |
|
3156 | |
3157 |
+
resolution: {integrity: sha512-38fJrB0KnmD3E33a5jZC/5+gGAC2WKNiPw1/fdXJvijBlhA7RCsvJklrYJakS0HedninvaCYW8lQGf9C918GfA==}
|
3158 |
+
dependencies:
|
3159 |
+
'@types/mdast': 3.0.11
|
3160 |
+
mdast-util-frontmatter: 1.0.1
|
3161 |
+
micromark-extension-frontmatter: 1.1.1
|
3162 |
+
unified: 10.1.2
|
3163 |
+
dev: false
|
3164 |
+
|
3165 | |
3166 |
resolution: {integrity: sha512-lEFDoi2PICJyNrACFOfDD3JlLkuSbOa5Wd8EPt06HUdptv8Gn0bxYTdbU/XXQ3swAPkEaGxxPN9cbnMHvVu1Ig==}
|
3167 |
dependencies:
|
|
|
3173 |
- supports-color
|
3174 |
dev: false
|
3175 |
|
3176 | |
3177 |
+
resolution: {integrity: sha512-g53hMkpM0I98MU266IzDFMrTD980gNF3BJnkyFcmN+dD873mQeD5rdMO3Y2X+x8umQfbSE0PcoEDl7ledSA+2g==}
|
3178 |
+
dependencies:
|
3179 |
+
mdast-util-mdx: 2.0.1
|
3180 |
+
micromark-extension-mdxjs: 1.0.1
|
3181 |
+
transitivePeerDependencies:
|
3182 |
+
- supports-color
|
3183 |
+
dev: false
|
3184 |
+
|
3185 | |
3186 |
resolution: {integrity: sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==}
|
3187 |
dependencies:
|
|
|
3379 |
engines: {node: '>=0.10.0'}
|
3380 |
dev: false
|
3381 |
|
3382 | |
3383 |
+
resolution: {integrity: sha512-l3BikUxvPOcn5E74dZiq5BGsTb5yEwhaTSzccU6t4sDOH8NWJCstKO5QT2CvtFoK6F0saL7p9xHAqHOlCPJygA==}
|
3384 |
+
engines: {node: '>= 8'}
|
3385 |
+
dev: false
|
3386 |
+
|
3387 | |
3388 |
resolution: {integrity: sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q==}
|
3389 |
dev: false
|
|
|
3474 |
engines: {node: '>=12'}
|
3475 |
dev: false
|
3476 |
|
3477 | |
3478 |
+
resolution: {integrity: sha512-HFpbb5gr2ypci7Qw+IOhnP2zOU7e77b+rzM+wTzXzfi1PrtBCX0E7Pk4wL4iTLnhzZ+JgEGAhX81ebTg/aYjQw==}
|
3479 |
+
dependencies:
|
3480 |
+
inline-style-parser: 0.1.1
|
3481 |
+
dev: false
|
3482 |
+
|
3483 | |
3484 |
resolution: {integrity: sha512-ydQOU34rpSyj2TGyz4D2p8rbktIOZ8QY9s+DGLvFU1i5pWJE8vkpruCjGCMHsdXwnD7JDcS+noSwM/a7zyNFDQ==}
|
3485 |
engines: {node: '>=8'}
|
|
|
3678 |
array-iterate: 2.0.1
|
3679 |
dev: false
|
3680 |
|
3681 | |
3682 |
+
resolution: {integrity: sha512-poZa0eXpS+/XpoQwGwl79UUdea4ol2ZuCYguVaJS4qzIOMDzbqz8a3erUCOmubSZkaOuGamb3tX790iwOIROww==}
|
3683 |
+
dependencies:
|
3684 |
+
'@types/unist': 2.0.6
|
3685 |
+
dev: false
|
3686 |
+
|
3687 | |
3688 |
resolution: {integrity: sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==}
|
3689 |
dependencies:
|
3690 |
'@types/unist': 2.0.6
|
3691 |
dev: false
|
3692 |
|
3693 | |
3694 |
+
resolution: {integrity: sha512-TkBb0HABNmxzAcfLf4qsIbFbaPDvMO6wa3b3j4VcEzFVaw1LBKwnW4/sRJ/atSLSzoIg41JWEdnE7N6DIhGDGQ==}
|
3695 |
+
dependencies:
|
3696 |
+
'@types/unist': 2.0.6
|
3697 |
+
unist-util-visit: 4.1.2
|
3698 |
+
dev: false
|
3699 |
+
|
3700 | |
3701 |
resolution: {integrity: sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==}
|
3702 |
dependencies:
|
docs/public/driver-head.svg
ADDED
|
docs/public/github.svg
CHANGED
|
|
docs/public/star.svg
ADDED
|
docs/src/components/DocsHeader.astro
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
import { getFormattedStars } from "../lib/github";
|
3 |
+
|
4 |
+
const starCount = await getFormattedStars('kamranahmedse/driver.js');
|
5 |
+
---
|
6 |
+
<div class="border-b flex items-center justify-between">
|
7 |
+
<div class="w-[300px] text-right flex justify-end">
|
8 |
+
<a href="/" class="flex items-center py-4 pr-5 border-r">
|
9 |
+
<img src="/driver-head.svg" alt="Astro" class="w-8 h-8 mr-2" />
|
10 |
+
<span class="text-xl font-bold">driver.js</span>
|
11 |
+
</a>
|
12 |
+
</div>
|
13 |
+
<div class="flex items-center pr-12">
|
14 |
+
<a href="https://github.com/kamranahmedse/driver.js" target="_blank"
|
15 |
+
class="text-black font-medium hover:border-gray-300 hover:bg-gray-50 text-sm flex items-center border rounded-md py-1.5 px-2">
|
16 |
+
<img src="/star.svg" class="mr-1" />
|
17 |
+
{starCount} GitHub Stars
|
18 |
+
</a>
|
19 |
+
</div>
|
20 |
+
</div>
|
docs/src/components/Sidebar.astro
ADDED
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
import { getCollection, getEntry } from "astro:content";
|
3 |
+
|
4 |
+
const allGuides = await getCollection("guides");
|
5 |
+
const sortedGuides = allGuides.sort((a, b) => a.data.sort - b.data.sort);
|
6 |
+
const groupedGuides = sortedGuides.reduce((acc, curr) => {
|
7 |
+
const { groupTitle } = curr.data;
|
8 |
+
acc[groupTitle] = acc[groupTitle] || [];
|
9 |
+
acc[groupTitle].push(curr);
|
10 |
+
|
11 |
+
return acc;
|
12 |
+
}, {});
|
13 |
+
---
|
14 |
+
<div class="w-[300px] border-r border-gray-200 text-right min-h-screen py-5">
|
15 |
+
|
16 |
+
{Object.keys(groupedGuides).map(groupTitle => {
|
17 |
+
const guides = groupedGuides[groupTitle];
|
18 |
+
|
19 |
+
return (
|
20 |
+
<>
|
21 |
+
<h2 class="text-xl font-bold mb-2 pr-5 relative">{ groupTitle }</h2>
|
22 |
+
<ul class="text-gray-400 mb-5">
|
23 |
+
{guides.map(guide => (
|
24 |
+
<li class="mb-2">
|
25 |
+
<a href={`/docs/${guide.slug}`} class="hover:text-black pr-5 py-2">{guide.data.title}</a>
|
26 |
+
</li>
|
27 |
+
))}
|
28 |
+
</ul>
|
29 |
+
</>
|
30 |
+
);
|
31 |
+
})}
|
32 |
+
</div>
|
docs/src/content/config.ts
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { z, defineCollection } from "astro:content";
|
2 |
+
|
3 |
+
const guidesCollection = defineCollection({
|
4 |
+
type: "content",
|
5 |
+
schema: z.object({
|
6 |
+
groupTitle: z.string(),
|
7 |
+
title: z.string(),
|
8 |
+
sort: z.number(),
|
9 |
+
}),
|
10 |
+
});
|
11 |
+
|
12 |
+
export const collections = {
|
13 |
+
guides: guidesCollection,
|
14 |
+
};
|
docs/src/content/guides/basic-usage.mdx
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: "Basic Usage"
|
3 |
+
groupTitle: "Introduction"
|
4 |
+
sort: 3
|
5 |
+
---
|
docs/src/content/guides/configuration.mdx
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: "Configuration"
|
3 |
+
groupTitle: "Introduction"
|
4 |
+
sort: 2
|
5 |
+
---
|
docs/src/content/guides/installation.mdx
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
title: "Installation"
|
3 |
+
groupTitle: "Introduction"
|
4 |
+
sort: 1
|
5 |
+
---
|
docs/src/env.d.ts
CHANGED
@@ -1 +1,2 @@
|
|
|
|
1 |
/// <reference types="astro/client" />
|
|
|
1 |
+
/// <reference path="../.astro/types.d.ts" />
|
2 |
/// <reference types="astro/client" />
|
docs/src/layouts/BaseLayout.astro
CHANGED
@@ -3,6 +3,8 @@ export interface Props {
|
|
3 |
title: string;
|
4 |
}
|
5 |
|
|
|
|
|
6 |
const { title } = Astro.props;
|
7 |
---
|
8 |
|
|
|
3 |
title: string;
|
4 |
}
|
5 |
|
6 |
+
export interface BaseLayoutProps extends Props {}
|
7 |
+
|
8 |
const { title } = Astro.props;
|
9 |
---
|
10 |
|
docs/src/layouts/DocsLayout.astro
CHANGED
@@ -1,97 +1,32 @@
|
|
1 |
---
|
2 |
import BaseLayout from "./BaseLayout.astro";
|
|
|
3 |
import Container from "../components/Container.astro";
|
|
|
|
|
|
|
4 |
|
5 |
-
|
6 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
---
|
8 |
|
9 |
-
<BaseLayout {
|
10 |
-
<
|
11 |
-
|
12 |
-
<
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
<svg aria-hidden="true" viewBox="0 0 36 36" fill="none" class="h-9 w-9 lg:hidden">
|
21 |
-
<g fill="none" stroke="#38BDF8" stroke-linejoin="round" stroke-width="3">
|
22 |
-
<path d="M10.308 5L18 17.5 10.308 30 2.615 17.5 10.308 5z"></path>
|
23 |
-
<path d="M18 17.5L10.308 5h15.144l7.933 12.5M18 17.5h15.385L25.452 30H10.308L18 17.5z"></path>
|
24 |
-
</g>
|
25 |
-
</svg>
|
26 |
-
<svg aria-hidden="true" viewBox="0 0 227 36" fill="none"
|
27 |
-
class="hidden h-9 w-auto fill-slate-700 dark:fill-sky-100 lg:block">
|
28 |
-
<g fill="none" stroke="#38BDF8" stroke-linejoin="round" stroke-width="3">
|
29 |
-
<path d="M10.308 5L18 17.5 10.308 30 2.615 17.5 10.308 5z"></path>
|
30 |
-
<path d="M18 17.5L10.308 5h15.144l7.933 12.5M18 17.5h15.385L25.452 30H10.308L18 17.5z"></path>
|
31 |
-
</g>
|
32 |
-
<path
|
33 |
-
d="M55.96 26.2c-1.027 0-1.973-.173-2.84-.52a6.96 6.96 0 01-2.24-1.5 6.979 6.979 0 01-1.46-2.3c-.347-.893-.52-1.867-.52-2.92 0-1.027.18-1.973.54-2.84a6.71 6.71 0 011.52-2.28 6.922 6.922 0 012.3-1.52 7.48 7.48 0 012.86-.54c.667 0 1.32.093 1.96.28a6.12 6.12 0 011.78.78 5.7 5.7 0 011.4 1.24l-1.88 2.08a6.272 6.272 0 00-1-.82 3.728 3.728 0 00-1.08-.54 3.542 3.542 0 00-1.2-.2 4.14 4.14 0 00-1.62.32 3.991 3.991 0 00-1.3.9 4.197 4.197 0 00-.9 1.38 4.755 4.755 0 00-.32 1.78c0 .667.107 1.273.32 1.82.213.533.513.993.9 1.38.387.373.847.667 1.38.88.547.2 1.147.3 1.8.3a4.345 4.345 0 002.34-.68c.347-.213.653-.46.92-.74l1.46 2.34c-.32.36-.753.687-1.3.98a7.784 7.784 0 01-1.8.7c-.667.16-1.34.24-2.02.24zm6.99-.2l5.48-14h2.68l5.46 14h-3.08l-2.82-7.54c-.08-.213-.18-.487-.3-.82a922.595 922.595 0 00-.68-2.12 13.694 13.694 0 01-.24-.86l.54-.02c-.08.307-.174.627-.28.96-.094.32-.194.653-.3 1-.108.333-.22.66-.34.98-.12.32-.234.633-.34.94L65.91 26h-2.96zm2.54-2.94l.98-2.42h6.42l1 2.42h-8.4zm19.794 3.14c-1.026 0-1.973-.173-2.84-.52a6.96 6.96 0 01-2.24-1.5 6.98 6.98 0 01-1.46-2.3c-.346-.893-.52-1.867-.52-2.92 0-1.027.18-1.973.54-2.84a6.71 6.71 0 011.52-2.28 6.923 6.923 0 012.3-1.52 7.48 7.48 0 012.86-.54c.667 0 1.32.093 1.96.28a6.118 6.118 0 011.78.78c.547.347 1.014.76 1.4 1.24l-1.88 2.08a6.272 6.272 0 00-1-.82 3.728 3.728 0 00-1.08-.54 3.542 3.542 0 00-1.2-.2 4.14 4.14 0 00-1.62.32 3.992 3.992 0 00-1.3.9 4.197 4.197 0 00-.9 1.38 4.755 4.755 0 00-.32 1.78c0 .667.107 1.273.32 1.82.214.533.514.993.9 1.38.387.373.847.667 1.38.88.547.2 1.147.3 1.8.3a4.345 4.345 0 002.34-.68 4.53 4.53 0 00.92-.74l1.46 2.34c-.32.36-.753.687-1.3.98a7.784 7.784 0 01-1.8.7c-.666.16-1.34.24-2.02.24zm17.469-.2V12h3v14h-3zm-8.82 0V12h3v14h-3zm1.2-5.62l.02-2.72h9.14v2.72h-9.16zM110.402 26V12h9.46v2.64h-6.54v8.72h6.68V26h-9.6zm1.4-5.86v-2.56h7.1v2.56h-7.1zM122.437 26l5.48-14h2.68l5.46 14h-3.08l-2.82-7.54c-.08-.213-.18-.487-.3-.82l-.34-1.06-.34-1.06a14.73 14.73 0 01-.24-.86l.54-.02c-.08.307-.173.627-.28.96a63.3 63.3 0 01-.3 1c-.106.333-.22.66-.34.98-.12.32-.233.633-.34.94l-2.82 7.48h-2.96zm2.54-2.94l.98-2.42h6.42l1 2.42h-8.4zM139.023 26V12h5.74c1.027 0 1.953.173 2.78.52.84.333 1.56.813 2.16 1.44a6.097 6.097 0 011.4 2.2c.32.853.48 1.8.48 2.84 0 1.027-.16 1.973-.48 2.84a6.438 6.438 0 01-1.38 2.22 6.394 6.394 0 01-2.16 1.44c-.84.333-1.773.5-2.8.5h-5.74zm3-2.18l-.32-.52h2.96c.6 0 1.14-.1 1.62-.3.48-.213.887-.5 1.22-.86.347-.373.607-.827.78-1.36.173-.533.26-1.127.26-1.78a5.56 5.56 0 00-.26-1.76 3.595 3.595 0 00-.78-1.36 3.323 3.323 0 00-1.22-.86 3.948 3.948 0 00-1.62-.32h-3.02l.38-.48v9.6zM158.671 26l-5.58-14h3.18l2.92 7.58c.16.413.293.78.4 1.1.12.307.22.6.3.88.093.267.18.533.26.8.08.253.16.533.24.84l-.58.02c.107-.413.213-.793.32-1.14.107-.36.227-.733.36-1.12.133-.387.3-.847.5-1.38l2.76-7.58h3.16l-5.62 14h-2.62zm8.114 0l5.48-14h2.68l5.46 14h-3.08l-2.82-7.54c-.08-.213-.18-.487-.3-.82l-.34-1.06-.34-1.06a13.293 13.293 0 01-.24-.86l.54-.02c-.08.307-.173.627-.28.96a63.3 63.3 0 01-.3 1c-.107.333-.22.66-.34.98-.12.32-.233.633-.34.94l-2.82 7.48h-2.96zm2.54-2.94l.98-2.42h6.42l1 2.42h-8.4zM183.371 26V12h2.68l7.74 10.46h-.56c-.054-.413-.1-.813-.14-1.2l-.12-1.2c-.027-.413-.054-.833-.08-1.26-.014-.44-.027-.9-.04-1.38a56.825 56.825 0 01-.02-1.6V12h2.94v14h-2.72l-7.9-10.56.76.02c.066.693.12 1.287.16 1.78a36.623 36.623 0 01.18 2.2c.026.267.04.52.04.76.013.24.02.493.02.76V26h-2.94zm23.175.2c-1.027 0-1.973-.173-2.84-.52-.853-.36-1.6-.86-2.24-1.5a6.979 6.979 0 01-1.46-2.3c-.347-.893-.52-1.867-.52-2.92 0-1.027.18-1.973.54-2.84a6.71 6.71 0 011.52-2.28 6.919 6.919 0 012.3-1.52 7.48 7.48 0 012.86-.54c.667 0 1.32.093 1.96.28a6.12 6.12 0 011.78.78 5.7 5.7 0 011.4 1.24l-1.88 2.08a6.259 6.259 0 00-1-.82 3.721 3.721 0 00-1.08-.54 3.54 3.54 0 00-1.2-.2 4.14 4.14 0 00-1.62.32 3.991 3.991 0 00-1.3.9 4.206 4.206 0 00-.9 1.38 4.76 4.76 0 00-.32 1.78c0 .667.107 1.273.32 1.82.213.533.513.993.9 1.38.387.373.847.667 1.38.88.547.2 1.147.3 1.8.3a4.35 4.35 0 002.34-.68c.347-.213.653-.46.92-.74l1.46 2.34c-.32.36-.753.687-1.3.98a7.773 7.773 0 01-1.8.7c-.667.16-1.34.24-2.02.24zm8.649-.2V12h9.46v2.64h-6.54v8.72h6.68V26h-9.6zm1.4-5.86v-2.56h7.1v2.56h-7.1z"></path>
|
34 |
-
</svg>
|
35 |
-
</a></div>
|
36 |
-
<div class="-my-5 mr-6 sm:mr-8 md:mr-0">
|
37 |
-
<button type="button"
|
38 |
-
class="group flex h-6 w-6 items-center justify-center sm:justify-start md:h-auto md:w-80 md:flex-none md:rounded-lg md:py-2.5 md:pl-4 md:pr-3.5 md:text-sm md:ring-1 md:ring-slate-200 md:hover:ring-slate-300 dark:md:bg-slate-800/75 dark:md:ring-inset dark:md:ring-white/5 dark:md:hover:bg-slate-700/40 dark:md:hover:ring-slate-500 lg:w-96">
|
39 |
-
<svg aria-hidden="true" viewBox="0 0 20 20"
|
40 |
-
class="h-5 w-5 flex-none fill-slate-400 group-hover:fill-slate-500 dark:fill-slate-500 md:group-hover:fill-slate-400">
|
41 |
-
<path
|
42 |
-
d="M16.293 17.707a1 1 0 0 0 1.414-1.414l-1.414 1.414ZM9 14a5 5 0 0 1-5-5H2a7 7 0 0 0 7 7v-2ZM4 9a5 5 0 0 1 5-5V2a7 7 0 0 0-7 7h2Zm5-5a5 5 0 0 1 5 5h2a7 7 0 0 0-7-7v2Zm8.707 12.293-3.757-3.757-1.414 1.414 3.757 3.757 1.414-1.414ZM14 9a4.98 4.98 0 0 1-1.464 3.536l1.414 1.414A6.98 6.98 0 0 0 16 9h-2Zm-1.464 3.536A4.98 4.98 0 0 1 9 14v2a6.98 6.98 0 0 0 4.95-2.05l-1.414-1.414Z"></path>
|
43 |
-
</svg>
|
44 |
-
<span class="sr-only md:not-sr-only md:ml-2 md:text-slate-500 md:dark:text-slate-400">Search docs</span><kbd
|
45 |
-
class="ml-auto hidden font-medium text-slate-400 dark:text-slate-500 md:block"><kbd
|
46 |
-
class="font-sans">⌘</kbd><kbd class="font-sans">K</kbd></kbd></button>
|
47 |
-
<div
|
48 |
-
style="position:fixed;top:1px;left:1px;width:1px;height:0;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0;display:none"></div>
|
49 |
-
</div>
|
50 |
-
<div class="relative flex basis-0 justify-end gap-6 sm:gap-8 md:flex-grow">
|
51 |
-
<div class="relative z-10" data-headlessui-state=""><label class="sr-only" id="headlessui-listbox-label-:R1j36:"
|
52 |
-
data-headlessui-state="">Theme</label>
|
53 |
-
<button
|
54 |
-
class="flex h-6 w-6 items-center justify-center rounded-lg shadow-md shadow-black/5 ring-1 ring-black/5 dark:bg-slate-700 dark:ring-inset dark:ring-white/5"
|
55 |
-
id="headlessui-listbox-button-:R2j36:" type="button" aria-haspopup="listbox" aria-expanded="false"
|
56 |
-
data-headlessui-state="" aria-labelledby="headlessui-listbox-label-:R1j36: headlessui-listbox-button-:R2j36:"
|
57 |
-
aria-label="Light">
|
58 |
-
<svg aria-hidden="true" viewBox="0 0 16 16"
|
59 |
-
class="hidden h-4 w-4 fill-sky-400 [[data-theme=light]_&]:block">
|
60 |
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
61 |
-
d="M7 1a1 1 0 0 1 2 0v1a1 1 0 1 1-2 0V1Zm4 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm2.657-5.657a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm-1.415 11.313-.707-.707a1 1 0 0 1 1.415-1.415l.707.708a1 1 0 0 1-1.415 1.414ZM16 7.999a1 1 0 0 0-1-1h-1a1 1 0 1 0 0 2h1a1 1 0 0 0 1-1ZM7 14a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0v-1Zm-2.536-2.464a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm0-8.486A1 1 0 0 1 3.05 4.464l-.707-.707a1 1 0 0 1 1.414-1.414l.707.707ZM3 8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1Z"></path>
|
62 |
-
</svg>
|
63 |
-
<svg aria-hidden="true" viewBox="0 0 16 16"
|
64 |
-
class="hidden h-4 w-4 fill-sky-400 [[data-theme=dark]_&]:block">
|
65 |
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
66 |
-
d="M7.23 3.333C7.757 2.905 7.68 2 7 2a6 6 0 1 0 0 12c.68 0 .758-.905.23-1.332A5.989 5.989 0 0 1 5 8c0-1.885.87-3.568 2.23-4.668ZM12 5a1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0 1 1 0 2 1 1 0 0 0-1 1 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 1 1 0-2 1 1 0 0 0 1-1 1 1 0 0 1 1-1Z"></path>
|
67 |
-
</svg>
|
68 |
-
<svg aria-hidden="true" viewBox="0 0 16 16"
|
69 |
-
class="hidden h-4 w-4 fill-slate-400 [:not(.dark)[data-theme=system]_&]:block">
|
70 |
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
71 |
-
d="M7 1a1 1 0 0 1 2 0v1a1 1 0 1 1-2 0V1Zm4 7a3 3 0 1 1-6 0 3 3 0 0 1 6 0Zm2.657-5.657a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm-1.415 11.313-.707-.707a1 1 0 0 1 1.415-1.415l.707.708a1 1 0 0 1-1.415 1.414ZM16 7.999a1 1 0 0 0-1-1h-1a1 1 0 1 0 0 2h1a1 1 0 0 0 1-1ZM7 14a1 1 0 1 1 2 0v1a1 1 0 1 1-2 0v-1Zm-2.536-2.464a1 1 0 0 0-1.414 0l-.707.707a1 1 0 0 0 1.414 1.414l.707-.707a1 1 0 0 0 0-1.414Zm0-8.486A1 1 0 0 1 3.05 4.464l-.707-.707a1 1 0 0 1 1.414-1.414l.707.707ZM3 8a1 1 0 0 0-1-1H1a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1Z"></path>
|
72 |
-
</svg>
|
73 |
-
<svg aria-hidden="true" viewBox="0 0 16 16"
|
74 |
-
class="hidden h-4 w-4 fill-slate-400 [.dark[data-theme=system]_&]:block">
|
75 |
-
<path fill-rule="evenodd" clip-rule="evenodd"
|
76 |
-
d="M7.23 3.333C7.757 2.905 7.68 2 7 2a6 6 0 1 0 0 12c.68 0 .758-.905.23-1.332A5.989 5.989 0 0 1 5 8c0-1.885.87-3.568 2.23-4.668ZM12 5a1 1 0 0 1 1 1 1 1 0 0 0 1 1 1 1 0 1 1 0 2 1 1 0 0 0-1 1 1 1 0 1 1-2 0 1 1 0 0 0-1-1 1 1 0 1 1 0-2 1 1 0 0 0 1-1 1 1 0 0 1 1-1Z"></path>
|
77 |
-
</svg>
|
78 |
-
</button>
|
79 |
-
</div>
|
80 |
-
<a class="group" aria-label="GitHub" href="https://github.com">
|
81 |
-
<svg aria-hidden="true" viewBox="0 0 16 16"
|
82 |
-
class="h-6 w-6 fill-slate-400 group-hover:fill-slate-500 dark:group-hover:fill-slate-300">
|
83 |
-
<path
|
84 |
-
d="M8 0C3.58 0 0 3.58 0 8C0 11.54 2.29 14.53 5.47 15.59C5.87 15.66 6.02 15.42 6.02 15.21C6.02 15.02 6.01 14.39 6.01 13.72C4 14.09 3.48 13.23 3.32 12.78C3.23 12.55 2.84 11.84 2.5 11.65C2.22 11.5 1.82 11.13 2.49 11.12C3.12 11.11 3.57 11.7 3.72 11.94C4.44 13.15 5.59 12.81 6.05 12.6C6.12 12.08 6.33 11.73 6.56 11.53C4.78 11.33 2.92 10.64 2.92 7.58C2.92 6.71 3.23 5.99 3.74 5.43C3.66 5.23 3.38 4.41 3.82 3.31C3.82 3.31 4.49 3.1 6.02 4.13C6.66 3.95 7.34 3.86 8.02 3.86C8.7 3.86 9.38 3.95 10.02 4.13C11.55 3.09 12.22 3.31 12.22 3.31C12.66 4.41 12.38 5.23 12.3 5.43C12.81 5.99 13.12 6.7 13.12 7.58C13.12 10.65 11.25 11.33 9.47 11.53C9.76 11.78 10.01 12.26 10.01 13.01C10.01 14.08 10 14.94 10 15.21C10 15.42 10.15 15.67 10.55 15.59C13.71 14.53 16 11.53 16 8C16 3.58 12.42 0 8 0Z"></path>
|
85 |
-
</svg>
|
86 |
-
</a></div>
|
87 |
-
</header>
|
88 |
-
<Container>
|
89 |
-
<div class="flex">
|
90 |
-
<div class="border-r min-h-screen">
|
91 |
-
<a href="#" class="py-2 px-6 block border-b">Installation</a>
|
92 |
-
<a href="#" class="py-2 px-6 block">Basic Tour</a>
|
93 |
-
</div>
|
94 |
-
<div class="flex-grow"></div>
|
95 |
</div>
|
96 |
-
</
|
97 |
</BaseLayout>
|
|
|
1 |
---
|
2 |
import BaseLayout from "./BaseLayout.astro";
|
3 |
+
import DocsHeader from "../components/DocsHeader.astro";
|
4 |
import Container from "../components/Container.astro";
|
5 |
+
import { getFormattedStars } from "../lib/github";
|
6 |
+
import Sidebar from "../components/Sidebar.astro";
|
7 |
+
import type { CollectionEntry } from "astro:content";
|
8 |
|
9 |
+
type GuideType = CollectionEntry<"guides">;
|
10 |
+
|
11 |
+
export interface Props {
|
12 |
+
guide: GuideType;
|
13 |
+
}
|
14 |
+
|
15 |
+
const { guide } = Astro.props;
|
16 |
+
const { groupTitle, sort, title } = guide.data;
|
17 |
---
|
18 |
|
19 |
+
<BaseLayout title={title}>
|
20 |
+
<DocsHeader />
|
21 |
+
<div class="flex">
|
22 |
+
<Sidebar />
|
23 |
+
<div class="flex-1 px-2 py-6">
|
24 |
+
<Container>
|
25 |
+
<h1 class="text-5xl font-bold mb-2">{title}</h1>
|
26 |
+
<div class="prose">
|
27 |
+
<slot />
|
28 |
+
</div>
|
29 |
+
</Container>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
</div>
|
31 |
+
</div>
|
32 |
</BaseLayout>
|
docs/src/lib/github.ts
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
const formatter = Intl.NumberFormat("en-US", {
|
2 |
+
notation: "compact",
|
3 |
+
});
|
4 |
+
|
5 |
+
const defaultStarCount = 17000;
|
6 |
+
let starCount: number | undefined = undefined;
|
7 |
+
|
8 |
+
export async function countStars(repo = "kamranahmedse/driver.js"): Promise<number> {
|
9 |
+
if (starCount) {
|
10 |
+
return starCount;
|
11 |
+
}
|
12 |
+
|
13 |
+
try {
|
14 |
+
const repoData = await fetch(`https://api.github.com/repos/${repo}`);
|
15 |
+
const json = await repoData.json();
|
16 |
+
|
17 |
+
starCount = json.stargazers_count * 1 || defaultStarCount;
|
18 |
+
} catch (e) {
|
19 |
+
console.log("Failed to fetch stars", e);
|
20 |
+
starCount = defaultStarCount;
|
21 |
+
}
|
22 |
+
|
23 |
+
return starCount;
|
24 |
+
}
|
25 |
+
|
26 |
+
export async function getFormattedStars(repo = "kamranahmedse/driver.js"): Promise<string> {
|
27 |
+
const stars = import.meta.env.DEV ? defaultStarCount : await countStars(repo);
|
28 |
+
|
29 |
+
return formatter.format(stars);
|
30 |
+
}
|
docs/src/pages/docs/[guideId].astro
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
import { CollectionEntry, getCollection } from "astro:content";
|
3 |
+
import DocsLayout from "../../layouts/DocsLayout.astro";
|
4 |
+
|
5 |
+
export interface Props {
|
6 |
+
guide: CollectionEntry<"guides">;
|
7 |
+
}
|
8 |
+
|
9 |
+
export async function getStaticPaths() {
|
10 |
+
const guides = await getCollection("guides");
|
11 |
+
|
12 |
+
return guides.map(guide => ({
|
13 |
+
params: { guideId: guide.slug },
|
14 |
+
props: { guide },
|
15 |
+
}));
|
16 |
+
}
|
17 |
+
|
18 |
+
const { guideId } = Astro.params;
|
19 |
+
const { guide } = Astro.props;
|
20 |
+
|
21 |
+
const { Content, headings } = await guide.render();
|
22 |
+
---
|
23 |
+
|
24 |
+
<DocsLayout guide={guide}>
|
25 |
+
<h1>{guide.data.title}</h1>
|
26 |
+
<Content />
|
27 |
+
</DocsLayout>
|
docs/src/pages/docs/installation.md
DELETED
@@ -1,7 +0,0 @@
|
|
1 |
-
---
|
2 |
-
layout: '../../layouts/DocsLayout.astro'
|
3 |
-
title: Installation
|
4 |
-
description: Installation instructions for the React Native Firebase library.
|
5 |
-
---
|
6 |
-
|
7 |
-
# Installation
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
docs/src/pages/index.astro
CHANGED
@@ -14,7 +14,8 @@ import { ExampleButton } from "../components/examples/ExampleButton";
|
|
14 |
<p class="text-3xl">Product tours, highlights, contextual help and more.</p>
|
15 |
<div class="mt-12 mb-2 flex gap-2 items-stretch">
|
16 |
<button class="bg-black rounded-xl py-4 px-5 font-medium text-white text-xl">Show Demo Tour</button>
|
17 |
-
<a href="
|
|
|
18 |
Get Started
|
19 |
</a>
|
20 |
</div>
|
@@ -33,7 +34,7 @@ import { ExampleButton } from "../components/examples/ExampleButton";
|
|
33 |
<Container>
|
34 |
<h2 class="text-6xl font-bold mb-6">Examples</h2>
|
35 |
<p class="text-2xl text-black mb-12">Here are just a few examples; find more <a
|
36 |
-
class="text-black underline underline-offset-4" href="
|
37 |
|
38 |
<div class="flex flex-wrap gap-3">
|
39 |
<ExampleButton text="Animated Tour" />
|
@@ -81,18 +82,20 @@ import { ExampleButton } from "../components/examples/ExampleButton";
|
|
81 |
<Container>
|
82 |
<div class="flex items-center">
|
83 |
<div>
|
84 |
-
<h2 class="text-6xl font-bold mb-4">Loved by
|
85 |
-
<p class="text-2xl text-black mb-8">Driver.js is an <span class="font-bold">MIT licensed</span>
|
86 |
-
|
87 |
-
|
|
|
88 |
|
89 |
<div class="flex gap-3">
|
90 |
-
<a href="
|
|
|
91 |
class="flex items-center font-bold text-2xl rounded-xl py-3 px-5 bg-yellow-300 border-black hover:bg-yellow-400">
|
92 |
-
<span class="mr-3 inline-flex items-center"><img src="/
|
93 |
GitHub Stars
|
94 |
</a>
|
95 |
-
<a href="
|
96 |
class="bg-black text-white flex items-center font-bold text-2xl border-4 border-black rounded-xl py-3 px-5 hover:bg-gray-800">
|
97 |
Start Using Driver.js
|
98 |
</a>
|
@@ -107,14 +110,14 @@ import { ExampleButton } from "../components/examples/ExampleButton";
|
|
107 |
<Container>
|
108 |
<p class="text-lg text-white text-center">
|
109 |
MIT Licensed © 2023 <span class="mx-3">·</span>
|
110 |
-
<a href="
|
111 |
Docs
|
112 |
</a>
|
113 |
-
<a href="
|
114 |
GitHub
|
115 |
<img src="/arrow.svg" class="h-3 inline-block ml-2" alt="GitHub" />
|
116 |
</a>
|
117 |
-
<a href="
|
118 |
Twitter
|
119 |
<img src="/arrow.svg" class="h-3 inline-block ml-2" alt="GitHub" />
|
120 |
</a>
|
|
|
14 |
<p class="text-3xl">Product tours, highlights, contextual help and more.</p>
|
15 |
<div class="mt-12 mb-2 flex gap-2 items-stretch">
|
16 |
<button class="bg-black rounded-xl py-4 px-5 font-medium text-white text-xl">Show Demo Tour</button>
|
17 |
+
<a href="/docs/installation"
|
18 |
+
class="flex items-center font-bold text-xl border-4 border-black rounded-xl px-5 bg-white">
|
19 |
Get Started
|
20 |
</a>
|
21 |
</div>
|
|
|
34 |
<Container>
|
35 |
<h2 class="text-6xl font-bold mb-6">Examples</h2>
|
36 |
<p class="text-2xl text-black mb-12">Here are just a few examples; find more <a
|
37 |
+
class="text-black underline underline-offset-4" href="/docs/installation">in the documentation</a>.</p>
|
38 |
|
39 |
<div class="flex flex-wrap gap-3">
|
40 |
<ExampleButton text="Animated Tour" />
|
|
|
82 |
<Container>
|
83 |
<div class="flex items-center">
|
84 |
<div>
|
85 |
+
<h2 class="text-6xl font-bold mb-4">Loved by Many</h2>
|
86 |
+
<p class="text-2xl text-black mb-8">With millions of downloads, Driver.js is an <span class="font-bold">MIT licensed</span>
|
87 |
+
opensource
|
88 |
+
project and is used by
|
89 |
+
thousands of companies around the world.</p>
|
90 |
|
91 |
<div class="flex gap-3">
|
92 |
+
<a href="https://github.com/kamranahmedse/driver.js"
|
93 |
+
target="_blank"
|
94 |
class="flex items-center font-bold text-2xl rounded-xl py-3 px-5 bg-yellow-300 border-black hover:bg-yellow-400">
|
95 |
+
<span class="mr-3 inline-flex items-center"><img src="/star.svg" alt="Hero Image" class="h-7 mr-2" /> 14.7k</span>
|
96 |
GitHub Stars
|
97 |
</a>
|
98 |
+
<a href="/docs/installation"
|
99 |
class="bg-black text-white flex items-center font-bold text-2xl border-4 border-black rounded-xl py-3 px-5 hover:bg-gray-800">
|
100 |
Start Using Driver.js
|
101 |
</a>
|
|
|
110 |
<Container>
|
111 |
<p class="text-lg text-white text-center">
|
112 |
MIT Licensed © 2023 <span class="mx-3">·</span>
|
113 |
+
<a href="/docs/installation" class="">
|
114 |
Docs
|
115 |
</a>
|
116 |
+
<a href="https://github.com/kamranahmedse/driver.js" target="_blank" class="ml-5">
|
117 |
GitHub
|
118 |
<img src="/arrow.svg" class="h-3 inline-block ml-2" alt="GitHub" />
|
119 |
</a>
|
120 |
+
<a href="https://twitter.com/kamranahmedse" target="_blank" class=" ml-5">
|
121 |
Twitter
|
122 |
<img src="/arrow.svg" class="h-3 inline-block ml-2" alt="GitHub" />
|
123 |
</a>
|
docs/tsconfig.json
CHANGED
@@ -2,6 +2,7 @@
|
|
2 |
"extends": "astro/tsconfigs/strict",
|
3 |
"compilerOptions": {
|
4 |
"jsx": "react-jsx",
|
5 |
-
"jsxImportSource": "react"
|
|
|
6 |
}
|
7 |
}
|
|
|
2 |
"extends": "astro/tsconfigs/strict",
|
3 |
"compilerOptions": {
|
4 |
"jsx": "react-jsx",
|
5 |
+
"jsxImportSource": "react",
|
6 |
+
"strictNullChecks": true
|
7 |
}
|
8 |
}
|