From bddcd590f0c3aa18e7ea60dbe3a783922cfa9ef4 Mon Sep 17 00:00:00 2001 From: "Daniel D. Beck" Date: Thu, 3 Feb 2022 18:06:43 +0000 Subject: [PATCH] Migrate some README sections to contributor site (#12534) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * meta docs: move "can I copy content…" to legacy * meta docs: move deployment time question to legacy section * meta docs: remove placeholder on legacy section index page * meta docs: link from README to meta docs * meta docs: move external content to legacy section * meta docs: move archiving to legacy section * meta docs: move adding code examples to legacy section * meta docs: use title/linkTitle instead of title/description * meta docs: move compat tables to legacy docs * Fix README line length * Undo prettier formatting to the whole file * Fix line length for real this time --- README.md | 150 +----------------- meta/content/en/legacy/_index.md | 6 +- meta/content/en/legacy/archiving.md | 39 +++++ meta/content/en/legacy/code-examples.md | 31 ++++ meta/content/en/legacy/compat-tables.md | 16 ++ meta/content/en/legacy/deployment-timeline.md | 20 +++ meta/content/en/legacy/external-content.md | 25 +++ meta/content/en/legacy/reuse.md | 32 ++++ 8 files changed, 168 insertions(+), 151 deletions(-) create mode 100644 meta/content/en/legacy/archiving.md create mode 100644 meta/content/en/legacy/code-examples.md create mode 100644 meta/content/en/legacy/compat-tables.md create mode 100644 meta/content/en/legacy/deployment-timeline.md create mode 100644 meta/content/en/legacy/external-content.md create mode 100644 meta/content/en/legacy/reuse.md diff --git a/README.md b/README.md index 072f73e920d2d76..46eeff577d97bcc 100644 --- a/README.md +++ b/README.md @@ -638,149 +638,7 @@ For example: yarn filecheck files/en-us/web/css/my-cool-image.png --save-compression ``` -### Updating a browser compatibility table - -The browser compatibility table shown near the bottom of many of the -MDN document pages, for example on -[the JavaScript Array page](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array#Browser_compatibility), -is generated from the `npm` package created from the -repository. If you'd like to make or suggest a change to the content of -the browser compatibility table on any given MDN document page, you can either -use the `Report problems with this data on GitHub` link in the upper-right -corner of the table on the page itself to create an issue, or go to - and -[read more to learn how to contribute](https://github.com/mdn/browser-compat-data/blob/master/docs/contributing.md). - -### Adding code examples - -There are a lot of code examples on MDN, and you'll probably want to add -some as you contribute content to the project. There are four types of -code example used on MDN: - -- [Static examples](https://developer.mozilla.org/en-US/docs/MDN/Structures/Code_examples#Static_examples) - — plain code blocks, possibly with a screenshot to statically show the - result of such code if it were to be run. -- [Traditional MDN "live samples"](https://developer.mozilla.org/en-US/docs/MDN/Structures/Code_examples#Traditional_live_samples) - — A macro that takes plain code blocks, dynamically puts - them into a document inside an `