« Back to Search  |  Reader Mode  |  Switch to Full Retro Site View Links: Stay in Reader  |  Retro Mode: ON  |  Original »
GitHub · Extracted in 528 ms

en.javascript.info/AUTHORING.md at master · javascript-tutorial/en.javascript.info

Source: https://github.com/javascript-tutorial/en.javascript.info/blob/master/AUTHORING.md

Repository navigation

AUTHORING.md

Latest commit

 

History


History
View commit history for this file.

AUTHORING.md

File metadata and controls

37 lines (23 loc) · 810 Bytes
Raw

Authoring

This describes important stuff about authoring new articles of the tutorial.

Internal links

All tutorial links should start from the root, not including the domain.

✅ OK:

We'll cover that in the chapter [about functions](/function-basics)

❌ Not ok:

We'll cover that in the chapter [about functions](https://javascript.info/function-basics)

Also, to reference a chapter, there's a special "info:" scheme, like this:

We'll cover that in the chapter <info:function-basics>.

Becomes:

We'll cover that in the chapter <a href="/function-basics">Function basics</a>.

The title is auto-inserted from the referenced article. That has the benefit of keeping the right title if the article gets renamed.

TODO

Ask @iliakan to for more details.