2
0
Эх сурвалжийг харах

Merge pull request #21197 from Mugen87/dev43

Docs: Remove outdated TS setup page.
Mr.doob 4 жил өмнө
parent
commit
44b905c019

+ 0 - 4
docs/list.json

@@ -10,7 +10,6 @@
 				"Browser support": "manual/en/introduction/Browser-support",
 				"WebGL compatibility check": "manual/en/introduction/WebGL-compatibility-check",
 				"How to run things locally": "manual/en/introduction/How-to-run-things-locally",
-				"Typescript setup": "manual/en/introduction/Typescript-setup",
 				"Drawing lines": "manual/en/introduction/Drawing-lines",
 				"Creating text": "manual/en/introduction/Creating-text",
 				"Loading 3D models": "manual/en/introduction/Loading-3D-models",
@@ -450,7 +449,6 @@
 				"دعم المتصفح": "manual/ar/introduction/Browser-support",
 				"فحص توافق WebGL": "manual/ar/introduction/WebGL-compatibility-check",
 				"كيف تدير الأشياء محليًا": "manual/ar/introduction/How-to-run-things-locally",
-				"إعدادات Typescript": "manual/ar/introduction/Typescript-setup",
 				"رسم خطوط": "manual/ar/introduction/Drawing-lines",
 				"إنشاء نص": "manual/ar/introduction/Creating-text",
 				"تحميل نماذج ثلاثية الأبعاد": "manual/ar/introduction/Loading-3D-models",
@@ -523,7 +521,6 @@
 				"浏览器支持": "manual/zh/introduction/Browser-support",
 				"WebGL兼容性检查": "manual/zh/introduction/WebGL-compatibility-check",
 				"如何在本地运行Three.js": "manual/zh/introduction/How-to-run-things-locally",
-				"Typescript设置": "manual/zh/introduction/Typescript-setup",
 				"画线": "manual/zh/introduction/Drawing-lines",
 				"创建文字": "manual/zh/introduction/Creating-text",
 				"载入3D模型": "manual/zh/introduction/Loading-3D-models",
@@ -958,7 +955,6 @@
 				"브라우저 지원": "manual/ko/introduction/Browser-support",
 				"WebGL 호환성 검사": "manual/ko/introduction/WebGL-compatibility-check",
 				"로컬 환경에서 구동 방법": "manual/ko/introduction/How-to-run-things-locally",
-				"Typescript 설정": "manual/ko/introduction/Typescript-setup",
 				"선 그리기": "manual/ko/introduction/Drawing-lines",
 				"텍스트 만들기": "manual/ko/introduction/Creating-text",
 				"3D 모델 불러오기": "manual/ko/introduction/Loading-3D-models",

+ 0 - 42
docs/manual/ar/introduction/Typescript-setup.html

@@ -1,42 +0,0 @@
-<!DOCTYPE html>
-<html lang="ar">
-	<head>
-		<meta charset="utf-8">
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body class="rtl">
-		<h1>Typescript إعدادات</h1>
-
-		<p>
-			three.js هي مكتبة قائمة على JavaScript. ومع ذلك ، من الممكن استخدامه في مشروع TypeScript ، حيث تعرض المكتبة [link:https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html Declaration Files] ملفات التصريح (ملفات * d.ts *).
-		</p>
-
-		<p>
-			الحد الأدنى من التكوين المطلوب لكي يتمكن برنامج التحويل البرمجي TypeScript من
-			اكتشف أنواع three.js.
-			<br>
-			ستحتاج إلى ضبط الخيار [link:https://www.typescriptlang.org/docs/handbook/module-resolution.html moduleResolution] على *node* ، وخيار [link:https://www.typescriptlang.org/docs/handbook/compiler-options.html target] على *es6* أو  ما هو أحدث.
-		</p>
-
-		<code>
-		// Example of minimal `tsconfig.json` file
-		{
-			"compilerOptions": {
-				"target": "es6",
-				"moduleResolution": "node",
-			},
-			"include": [ "./src/**/*.ts" ],
-		}
-		</code>
-
-		<p>
-			ملاحظة: اعتبارًا من اليوم ، ليس من الممكن استخدام كتابة three.js بدون استخدام هذين الخيارين.
-		</p>
-
-		<p>
-			ملاحظة: يحدث أن بعض التصريحات غير صحيحة و / أو مفقودة. تُعد المساهمة في ملفات التصريح مفيدة حقًا للمجتمع ، مما يجعل كتابات three.js أفضل وأكثر دقة.
-		</p>
-	</body>
-</html>

+ 0 - 45
docs/manual/en/introduction/Typescript-setup.html

@@ -1,45 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-	<head>
-		<meta charset="utf-8">
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		<h1>[name]</h1>
-
-		<p>
-			three.js is a JavaScript-based library. However, it's possible to use it in a TypeScript project, as the library
-			exposes [link:https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html Declaration Files] (*d.ts* files).
-		</p>
-
-		<p>
-			A minimal configuration is required for the TypeScript compiler to
-			discover three.js types.<br>
-			You will need to set the [link:https://www.typescriptlang.org/docs/handbook/module-resolution.html moduleResolution]
-			option to *node*, and the [link:https://www.typescriptlang.org/docs/handbook/compiler-options.html target] option to *es6* or newer.
-		</p>
-
-		<code>
-		// Example of minimal `tsconfig.json` file
-		{
-			"compilerOptions": {
-				"target": "es6",
-				"moduleResolution": "node",
-			},
-			"include": [ "./src/**/*.ts" ],
-		}
-		</code>
-
-		<p>
-			Note: As of today, it's not yet possible to use three.js typings without using those two options.
-		</p>
-
-		<p>
-			Note: It happens that some declarations are incorrect and/or missing.
-			Contributing to Declaration Files is really helpful for the community, making three.js
-			typings better and more accurate.
-		</p>
-	</body>
-</html>

+ 0 - 41
docs/manual/ko/introduction/Typescript-setup.html

@@ -1,41 +0,0 @@
-<!DOCTYPE html>
-<html lang="ko">
-	<head>
-		<meta charset="utf-8">
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		<h1>타입스크립트 설정([name])</h1>
-
-		<p>
-			three.js는 자바스크립트 기반 라이브러리입니다. 하지만 TypeScript 프로젝트에도 사용이 가능한데, [link:https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html Declaration Files] (*d.ts* 파일)의 라이브러리 노출 설정을 통해 가능합니다.
-		</p>
-
-		<p>
-			컴파일러가 three.js의 타입을 확인하기 위해 약간의 설정이 필요합니다.<br>
-			[link:https://www.typescriptlang.org/docs/handbook/module-resolution.html moduleResolution]옵션을 *노드*에 설정하고
-			[link:https://www.typescriptlang.org/docs/handbook/compiler-options.html target] 옵션을 *es6* 혹은 최신 버전으로 설정합니다.
-		</p>
-
-		<code>
-		// Example of minimal `tsconfig.json` file
-		{
-			"compilerOptions": {
-				"target": "es6",
-				"moduleResolution": "node",
-			},
-			"include": [ "./src/**/*.ts" ],
-		}
-		</code>
-
-		<p>
-			주의: 현 시점에서 three.js는 위 두 설정을 하지 않고서는 사용할 수 없습니다.
-		</p>
-
-		<p>
-			주의: 몇몇 선언들은 틀리거나 찾을 수 없음으로 나올 것입니다. 선언문 파일들에 대한 교정 작업 지원은 커뮤니티와 three.js를 보다 정확하고 좋게 만드는 데에 도움이 될 것입니다.
-		</p>
-	</body>
-</html>

+ 0 - 40
docs/manual/zh/introduction/Typescript-setup.html

@@ -1,40 +0,0 @@
-<!DOCTYPE html>
-<html lang="zh">
-	<head>
-		<meta charset="utf-8">
-		<base href="../../../" />
-		<script src="page.js"></script>
-		<link type="text/css" rel="stylesheet" href="page.css" />
-	</head>
-	<body>
-		<h1>TypeScript设置([name])</h1>
-
-		<p>
-			three.js是一个基于JavaScript的库。但是,可以在TypeScript项目中使用它,因为该库公开了声明文件 [link:https://www.typescriptlang.org/docs/handbook/declaration-files/introduction.html Declaration Files](*d.ts* 文件)。
-		</p>
-
-		<p>
-			TypeScript编译器需要最少的配置即可发现three.js类型。<br>
-			你将需要设置 [link:https://www.typescriptlang.org/docs/handbook/module-resolution.html moduleResolution] (模块解析)为 *node* 和 [link:https://www.typescriptlang.org/docs/handbook/compiler-options.html target] (目标) 为 *es6* 或更高版本。
-		</p>
-
-		<code>
-		// tsconfig.json文件最少配置例子
-		{
-			"compilerOptions": {
-				"target": "es6",
-				"moduleResolution": "node",
-			},
-			"include": [ "./src/**/*.ts" ],
-		}
-		</code>
-
-		<p>
-			注意:到目前为止,如果不使用这两个选项,则无法使用three.js类型。
-		</p>
-
-		<p>
-			注意:某些声明可能不正确或缺失。为声明文件做贡献对社区真的很有帮助,使Three.js开发会更好更准确。
-		</p>
-	</body>
-</html>