Skip to content

Convert from docusaurus to nextra #4240

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

Merged
merged 3 commits into from
Oct 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# Copied from '.gitignore', please keep it in sync.
/.eslintcache
/.docusaurus
/node_modules
/coverage
/npmDist
/denoDist
/websiteDist
/website

# Ignore TS files inside integration test
/integrationTests/ts/*.ts
9 changes: 4 additions & 5 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -466,11 +466,13 @@ rules:
yield-star-spacing: off

overrides:
- files: '**/*.ts'
- files:
- '**/*.ts'
- '**/*.tsx'
parser: '@typescript-eslint/parser'
parserOptions:
sourceType: module
project: ['tsconfig.json']
project: ['./tsconfig.json', './website/tsconfig.json']
plugins:
- '@typescript-eslint'
- 'eslint-plugin-tsdoc'
Expand Down Expand Up @@ -726,6 +728,3 @@ overrides:
import/no-commonjs: off
import/no-nodejs-modules: off
import/no-extraneous-dependencies: off
# Ignore docusarus related webpack aliases
import/no-unresolved:
['error', { 'ignore': ['^@theme', '^@docusaurus', '^@generated'] }]
32 changes: 0 additions & 32 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,10 +72,6 @@ jobs:
- name: Install Dependencies
run: npm ci --ignore-scripts

# Disabled due to https://github.com/milesj/docusaurus-plugin-typedoc-api/pull/19
# - name: Check that package-lock.json doesn't have conflicts
# run: npm ls --depth 999

- name: Run npm install
run: npm install --ignore-scripts --force --package-lock-only --engine-strict --strict-peer-deps

Expand Down Expand Up @@ -219,7 +215,6 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
cache: npm
node-version-file: '.node-version'

- name: Install Dependencies
Expand All @@ -233,30 +228,3 @@ jobs:
with:
name: denoDist
path: ./denoDist

build-website-dist:
name: Build website
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
persist-credentials: false

- name: Setup Node.js
uses: actions/setup-node@v2
with:
cache: npm
node-version-file: '.node-version'

- name: Install Dependencies
run: npm ci --ignore-scripts

- name: Build Docs
run: npm run build:website

- name: Upload denoDist package
uses: actions/upload-artifact@v4
with:
name: websiteDist
path: ./websiteDist
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,10 @@
/diff-npm-package.html
/.eslintcache
/.cspellcache
/.docusaurus
/node_modules
node_modules
/coverage
/npmDist
/denoDist
/websiteDist
/website/.next
/website/out
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
# Copied from '.gitignore', please keep it in sync.
/diff-npm-package.html
/.eslintcache
/.docusaurus
/node_modules
/coverage
/npmDist
/denoDist
/websiteDist
/website/out
.next
56 changes: 54 additions & 2 deletions cspell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ ignorePaths:
- tsconfig.json
- benchmark/github-schema.graphql
- benchmark/github-schema.json
- website/icons
- website/css
overrides:
- filename: '**/docs-old/APIReference-*.md'
ignoreRegExpList: ['/href="[^"]*"/']
- filename: 'website/**'
dictionaries:
- fullstack
Expand Down Expand Up @@ -52,6 +52,58 @@ words:
- deno
- codecov

# Website tech
- Nextra
- headlessui
- Fastify
- svgr
- ruru

# used as href anchors
- graphqlerror
- syntaxerror
- formaterror
- graphqlschema
- graphqlscalartype
- graphqlobjecttype
- graphqlinterfacetype
- graphqluniontype
- graphqlenumtype
- graphqlinputobjecttype
- graphqllist
- graphqlnonnull
- graphqlint
- graphqlfloat
- graphqlstring
- graphqlboolean
- graphqlid
- getlocation
- isinputtype
- isoutputtype
- isleaftype
- iscompositetype
- isabstracttype
- getnullabletype
- getnamedtype
- introspectionquery
- buildclientschema
- buildschema
- printschema
- printintrospectionschema
- buildastschema
- typefromast
- astfromvalue
- typeinfo
- isvalidjsvalue
- isvalidliteralvalue
- specifiedrules
- Wordmark
- codeofconduct
- graphqlconf

# website words
- runtimes

# TODO: remove bellow words
- QLID # GraphQLID
- QLJS # GraphQLJS
Expand Down
179 changes: 0 additions & 179 deletions docs-old/APIReference-GraphQL.md

This file was deleted.

Loading
Loading