Skip to content

Commit 7ae16c8

Browse files
Convert website to nextra (graphql#4240)
This converts the existing website to nextra just like https://github.com/graphql/graphql.github.io. This is a first step in moving the documentation here and having a redirect from graphql.org to graphql-js.org. Not sure yet why codecov started failing 😅 when I run `testonly:cover` locally it tells me we are 100% covered. WDYT about isolating the dependencies for the website in that folder? As seen in graphql@9c7d615 this prevents the weird CI leaks that we're seeing Resolves graphql#4200 --------- Co-authored-by: Yaacov Rydzinski <[email protected]>
1 parent cd0e08e commit 7ae16c8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+11053
-838
lines changed

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
/diff-npm-package.html
99
/.eslintcache
1010
/.cspellcache
11-
/node_modules
11+
node_modules
1212
/reports
1313
/npmDist
1414
/npmEsmDist
1515
/denoDist
16-
/websiteDist
16+
/website/.next
17+
/website/out

.prettierignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,6 @@
66
/npmDist
77
/npmEsmDist
88
/denoDist
9-
/websiteDist
9+
/website/.next
10+
/website/out
11+
.next

cspell.yml

Lines changed: 106 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,24 +7,19 @@ ignorePaths:
77
- package.json
88
- benchmark/github-schema.graphql
99
- benchmark/github-schema.json
10+
- website/icons
11+
- website/css
1012
overrides:
1113
- filename: 'eslint.config.*'
1214
words:
1315
- chunkname
1416
- nonconstructor
1517
- nonoctal
16-
- filename: '**/docs-old/APIReference-*.md'
17-
ignoreRegExpList: ['/href="[^"]*"/']
18-
words:
19-
- sublinks
20-
- instanceof
2118
- filename: 'website/**'
2219
dictionaries:
2320
- fullstack
2421
- html
2522
words:
26-
- clsx
27-
- infima
2823
- noopener
2924
- Vite
3025
- craco
@@ -59,6 +54,110 @@ words:
5954
- deno
6055
- hashbang
6156

57+
# Website tech
58+
- Nextra
59+
- headlessui
60+
- Fastify
61+
- svgr
62+
- ruru
63+
64+
# used as href anchors
65+
- graphqlerror
66+
- syntaxerror
67+
- formaterror
68+
- graphqlschema
69+
- graphqlscalartype
70+
- graphqlobjecttype
71+
- graphqlinterfacetype
72+
- graphqluniontype
73+
- graphqlenumtype
74+
- graphqlinputobjecttype
75+
- graphqllist
76+
- graphqlnonnull
77+
- graphqlint
78+
- graphqlfloat
79+
- graphqlstring
80+
- graphqlboolean
81+
- graphqlid
82+
- getlocation
83+
- isinputtype
84+
- isoutputtype
85+
- isleaftype
86+
- iscompositetype
87+
- isabstracttype
88+
- getnullabletype
89+
- getnamedtype
90+
- introspectionquery
91+
- buildclientschema
92+
- buildschema
93+
- printschema
94+
- printintrospectionschema
95+
- buildastschema
96+
- typefromast
97+
- astfromvalue
98+
- typeinfo
99+
- isvalidjsvalue
100+
- isvalidliteralvalue
101+
- specifiedrules
102+
- Wordmark
103+
- codeofconduct
104+
- graphqlconf
105+
106+
# website words
107+
- runtimes
108+
109+
# Website tech
110+
- Nextra
111+
- headlessui
112+
- Fastify
113+
- svgr
114+
- ruru
115+
116+
# used as href anchors
117+
- graphqlerror
118+
- syntaxerror
119+
- formaterror
120+
- graphqlschema
121+
- graphqlscalartype
122+
- graphqlobjecttype
123+
- graphqlinterfacetype
124+
- graphqluniontype
125+
- graphqlenumtype
126+
- graphqlinputobjecttype
127+
- graphqllist
128+
- graphqlnonnull
129+
- graphqlint
130+
- graphqlfloat
131+
- graphqlstring
132+
- graphqlboolean
133+
- graphqlid
134+
- getlocation
135+
- isinputtype
136+
- isoutputtype
137+
- isleaftype
138+
- iscompositetype
139+
- isabstracttype
140+
- getnullabletype
141+
- getnamedtype
142+
- introspectionquery
143+
- buildclientschema
144+
- buildschema
145+
- printschema
146+
- printintrospectionschema
147+
- buildastschema
148+
- typefromast
149+
- astfromvalue
150+
- typeinfo
151+
- isvalidjsvalue
152+
- isvalidliteralvalue
153+
- specifiedrules
154+
- Wordmark
155+
- codeofconduct
156+
- graphqlconf
157+
158+
# website words
159+
- runtimes
160+
62161
# TODO: remove bellow words
63162
- QLID # GraphQLID
64163
- QLJS # GraphQLJS

docs-old/APIReference-GraphQL.md

Lines changed: 0 additions & 179 deletions
This file was deleted.

0 commit comments

Comments
 (0)