Skip to content

Commit

Permalink
Update to Docusaurus 3 (#462)
Browse files Browse the repository at this point in the history
* update to docusaurus 3

* remove react import

* fix package lock

* prefer node 18

* java is required to build the website

* fix command

* explicitly require java

* move java elsewhere

* add java parameter

* correct gitignore

* tsconfig has been moved

* typescript update

* fix ts error

* update ts config stuff

* remove archive directory
  • Loading branch information
XVincentX authored Dec 1, 2023
1 parent 801a2e3 commit 965228a
Show file tree
Hide file tree
Showing 70 changed files with 16,259 additions and 26,048 deletions.
7 changes: 5 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "cd website && npm ci && npm run build",
"postCreateCommand": "npm ci && npm run build",
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
"remoteUser": "node",
"features": {
"ghcr.io/devcontainers/features/java:1": {}
}
}
7 changes: 7 additions & 0 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,16 @@ jobs:

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3

with:
node-version: ${{ matrix.node-version }}
cache: "npm"

- uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: '17'
check-latest: true

- run: npm ci
- run: npm run build
Expand Down
32 changes: 0 additions & 32 deletions archive/.github-workflows/node.js.yml

This file was deleted.

247 changes: 0 additions & 247 deletions archive/reference/.eslintrc.json

This file was deleted.

42 changes: 0 additions & 42 deletions archive/reference/.gitignore

This file was deleted.

16 changes: 0 additions & 16 deletions archive/reference/README.md

This file was deleted.

2 changes: 0 additions & 2 deletions archive/reference/example/.dockerignore

This file was deleted.

6 changes: 0 additions & 6 deletions archive/reference/example/.env

This file was deleted.

6 changes: 0 additions & 6 deletions archive/reference/example/.gitignore

This file was deleted.

Loading

0 comments on commit 965228a

Please sign in to comment.