Skip to content

Commit f9a7f36

Browse files
committed
Convert from docusaurus to nextra
1 parent 2562ce0 commit f9a7f36

Some content is hidden

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

47 files changed

+18198
-15885
lines changed

.eslintrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,7 @@ overrides:
470470
parser: '@typescript-eslint/parser'
471471
parserOptions:
472472
sourceType: module
473-
project: ['tsconfig.json']
473+
project: ['./tsconfig.json', './website/tsconfig.json']
474474
plugins:
475475
- '@typescript-eslint'
476476
- 'eslint-plugin-tsdoc'

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ jobs:
192192
uses: actions/setup-node@v2
193193
with:
194194
cache: npm
195-
node-version-file: '.node-version'
195+
node-version: 18
196196

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

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,4 @@
1414
/npmDist
1515
/denoDist
1616
/websiteDist
17+
website/.next

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77
/npmDist
88
/denoDist
99
/websiteDist
10+
.next

package-lock.json

Lines changed: 14655 additions & 15586 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
"prettier:check": "prettier --check .",
4545
"check:spelling": "cspell --cache --no-progress '**/*'",
4646
"check:integrations": "npm run build:npm && npm run build:deno && mocha --full-trace integrationTests/*-test.js",
47-
"start": "DOCUSAURUS_GENERATED_FILES_DIR_NAME=\"$(pwd)/.docusaurus\" docusaurus start ./website",
48-
"build:website": "DOCUSAURUS_GENERATED_FILES_DIR_NAME=\"$(pwd)/.docusaurus\" docusaurus build --out-dir=\"$(pwd)/websiteDist\" ./website",
47+
"start": "cd website && next dev",
48+
"build:website": "cd website && next build",
4949
"build:npm": "node resources/build-npm.js",
5050
"build:deno": "node resources/build-deno.js",
5151
"gitpublish:npm": "bash ./resources/gitpublish.sh npm npmDist",
@@ -57,9 +57,6 @@
5757
"@babel/plugin-transform-typescript": "7.16.8",
5858
"@babel/preset-env": "7.16.11",
5959
"@babel/register": "7.17.7",
60-
"@docusaurus/core": "2.0.0-beta.18",
61-
"@docusaurus/preset-classic": "2.0.0-beta.18",
62-
"@mdx-js/react": "1.6.22",
6360
"@svgr/webpack": "6.2.1",
6461
"@types/chai": "4.3.1",
6562
"@types/mocha": "9.1.0",
@@ -70,7 +67,6 @@
7067
"chai": "4.3.6",
7168
"clsx": "1.1.1",
7269
"cspell": "5.19.7",
73-
"docusaurus-plugin-typedoc-api": "1.10.0",
7470
"eslint": "8.13.0",
7571
"eslint-plugin-import": "2.26.0",
7672
"eslint-plugin-internal-rules": "file:./resources/eslint-internal-rules",
@@ -81,10 +77,13 @@
8177
"eslint-plugin-tsdoc": "0.2.16",
8278
"file-loader": "6.2.0",
8379
"mocha": "9.2.2",
80+
"next": "^14.2.15",
81+
"next-with-less": "^3.0.1",
82+
"nextra": "^3.0.12",
83+
"nextra-theme-docs": "^3.0.12",
8484
"prettier": "2.6.2",
85-
"prism-react-renderer": "1.3.1",
86-
"react": "17.0.2",
87-
"react-dom": "17.0.2",
85+
"react": "18.2.0",
86+
"react-dom": "18.2.0",
8887
"typedoc": "0.22.15",
8988
"typescript": "4.6.3",
9089
"url-loader": "4.1.1"

website/.babelrc.json

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

0 commit comments

Comments
 (0)