Skip to content

Commit 30cb204

Browse files
authored
Mark spec files as archived (#40373)
* Mark spec files as archived Maybe then people won't try to edit them and submit PRs * update README
1 parent d5a646e commit 30cb204

7 files changed

+5
-5
lines changed

Gulpfile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,7 +591,7 @@ task("LKG").flags = {
591591
" --built": "Compile using the built version of the compiler.",
592592
};
593593

594-
const generateSpec = () => exec("cscript", ["//nologo", "scripts/word2md.js", path.resolve("doc/TypeScript Language Specification.docx"), path.resolve("doc/spec.md")]);
594+
const generateSpec = () => exec("cscript", ["//nologo", "scripts/word2md.js", path.resolve("doc/TypeScript Language Specification - ARCHIVED.docx"), path.resolve("doc/spec-ARCHIVED.md")]);
595595
task("generate-spec", series(buildScripts, generateSpec));
596596
task("generate-spec").description = "Generates a Markdown version of the Language Specification";
597597

doc/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
This directory contains miscellaneous documentation such as the TypeScript language specification and logo.
44
If you are looking for more introductory material, you might want to take a look at the [TypeScript Handbook](https://github.com/Microsoft/TypeScript-Handbook).
55

6-
# Spec Contributions
7-
8-
The specification is first authored as a Microsoft Word (docx) file and then generated into Markdown and PDF formats.
9-
Due to the binary format of docx files, and the merging difficulties that may come with it, it is preferred that **any suggestions or problems found in the spec should be [filed as issues](https://github.com/Microsoft/TypeScript/issues/new)** rather than sent as pull requests.
6+
7+
# Archived Spec
8+
9+
NOTE: the files in this directory are NOT meant to be edited. They are a snapshot of the out-of-date specification which is no longer being updated. We will not be accepting changes to these documents.
File renamed without changes.

0 commit comments

Comments
 (0)