소스 검색

website: update docusaurus

Currently, we cannot deploy the website because trying to run Docusaurus
on a version of Node newer than v16 causes SSL errors. This commit
updates docusaurus and adds a newly required slug field to the
front-matter of the introduction page.

Node > 16 is required because older base images in Netlify have been
deprecated and installing an old version of node is very slow.

Signed-off-by: Lucas Servén Marín <lserven@gmail.com>
Lucas Servén Marín 3 년 전
부모
커밋
57d26dd390
3개의 변경된 파일423개의 추가작업 그리고 451개의 파일을 삭제
  1. 1 0
      website/docs/README
  2. 2 2
      website/package.json
  3. 420 449
      website/yarn.lock

+ 1 - 0
website/docs/README

@@ -1,5 +1,6 @@
 ---
 id: introduction
+slug: /introduction
 title: Introduction
 hide_title: true
 custom_edit_url: https://github.com/squat/kilo/edit/master/README.md

+ 2 - 2
website/package.json

@@ -9,8 +9,8 @@
     "deploy": "docusaurus deploy"
   },
   "dependencies": {
-    "@docusaurus/core": "^2.0.0-beta.3",
-    "@docusaurus/preset-classic": "^2.0.0-beta.3",
+    "@docusaurus/core": "^2.2.0",
+    "@docusaurus/preset-classic": "^2.2.0",
     "classnames": "^2.3.1",
     "react": "^17.0.2",
     "react-dom": "^17.0.2"

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 420 - 449
website/yarn.lock


이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.