Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: docs v3 refactor #206

Merged
merged 13 commits into from
Jul 20, 2023
9 changes: 9 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,15 @@
"contributions": [
"code"
]
},
{
"login": "0xPenryn",
"name": "Penryn",
"avatar_url": "https://avatars.githubusercontent.com/u/29718876?v=4",
"profile": "https://penryn.xyz/",
"contributions": [
"doc"
]
}
],
"contributorsPerLine": 7,
Expand Down
43 changes: 36 additions & 7 deletions cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,58 @@
"enabled": true,
"language": "en-US",
"allowCompoundWords": true,
"dictionaries": ["typescript", "node", "npm", "html"],
"enabledLanguageIds": ["typescript", "typescriptreact", "javascript", "markdown", "yaml", "json"],
"ignorePaths": ["**/node_modules", "package.json", "pnpm-lock.yaml"],
"ignoreWords": ["signup"],
"ignoreRegExpList": ["app_[a-z0-9]+", "jwk_[a-z0-9]+", "ey[a-zA-Z0-9]+\\.ey[a-zA-Z0-9]+\\.[a-zA-Z0-9]+"],
"dictionaries": [
"typescript",
"node",
"npm",
"html"
],
"enabledLanguageIds": [
"typescript",
"typescriptreact",
"javascript",
"markdown",
"yaml",
"json"
],
"ignorePaths": [
"**/node_modules",
"package.json",
"pnpm-lock.yaml"
],
"ignoreWords": [
"signup"
],
"ignoreRegExpList": [
"app_[a-z0-9]+",
"jwk_[a-z0-9]+",
"ey[a-zA-Z0-9]+\\.ey[a-zA-Z0-9]+\\.[a-zA-Z0-9]+"
],
"words": [
"anonymized",
"clippy",
"clsx",
"Emoy",
"countup",
"defi",
"Emoy",
"ETHSF",
"groth",
"gtag",
"hackathon",
"hackathons",
"Hasura",
"IDKit",
"incentivizes",
"incentivizing",
"JWK",
"JWKs",
"JWT",
"keccak",
"merkle",
"mesha",
"mina",
"minaprotocol",
"mitschabaude",
"NGOs",
"nullifer",
"OIDC",
Expand All @@ -38,14 +65,16 @@
"quix",
"rehype",
"Sismo",
"snarkyjs",
"testid",
"ujfk",
"timestamptz",
"ujfk",
"viem",
"wagmi",
"WalletConnect",
"webp",
"Worldcoin",
"zkhack",
"zustand"
]
}
22 changes: 11 additions & 11 deletions next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,27 +24,32 @@ const nextConfig = {
return [
{
source: '/js',
destination: '/idkit',
destination: '/reference/idkit',
permanent: true,
},
{
source: '/id',
destination: '/id/anonymous-actions',
permanent: true,
},
{
source: '/js/:slug',
destination: '/idkit/:slug',
destination: '/reference/idkit/:slug',
permanent: true,
},
{
source: '/protocol',
destination: '/id/protocol',
destination: '/advanced/protocol',
permanent: false,
},
{
source: '/test',
destination: '/id/testing',
destination: '/quick-start/testing',
permanent: false,
},
{
source: '/simulator',
destination: '/id/testing',
destination: '/quick-start/testing',
permanent: false,
},
{
Expand All @@ -57,18 +62,13 @@ const nextConfig = {
destination: '/advanced/zero-knowledge-proofs',
permanent: false,
},
{
source: '/waitlist',
destination: 'https://toolsforhumanity.typeform.com/sdk-waitlist',
permanent: true,
},
]
},
async rewrites() {
return [
{
source: '/api/:slug*',
destination: '/api-docs/:slug*',
destination: '/reference/api/:slug*',
},
]
},
Expand Down
4 changes: 2 additions & 2 deletions public/favicon/site.webmanifest
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"short_name": "World ID Docs",
"icons": [
{
"src": "/android-chrome-192x192.png",
"src": "/favicon/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"src": "/favicon/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
Expand Down
Binary file added public/images/apps/auth0-lg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/images/apps/auth0.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 15 additions & 10 deletions public/images/apps/discord-lg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
15 changes: 5 additions & 10 deletions public/images/apps/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/apps/ethbogota.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading