Skip to content

Commit bce9a9d

Browse files
docs: remove dependencies page and link to existing resource (#5480)
1 parent 201d2e3 commit bce9a9d

File tree

14 files changed

+11
-1291
lines changed

14 files changed

+11
-1291
lines changed

TRANSLATION.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ If you're making a new Component and adding Translation Keys for your Component,
4848

4949
- Only add the new translation keys on the `i18n/locales/en.json` file. Crowdin will handle on syncing the files and letting translators know there are new keys to be translated
5050
- The translation keys should have the prefix as the canonical path of your Component. If your Component is `components/Common/MyComponent` the prefix key should be `components.common.myComponent`
51-
- The Translation Key suffix should be easy to undersand and semantic. For example, if the key is about "the text of a button that when interacted it copies content to the clipboard", the suffix should probably be `copyButton.title`. The final translation key would be `components.common.myComponent.copyButton.title`
51+
- The Translation Key suffix should be easy to understand and semantic. For example, if the key is about "the text of a button that when interacted it copies content to the clipboard", the suffix should probably be `copyButton.title`. The final translation key would be `components.common.myComponent.copyButton.title`
5252
- Translation Keys should be in Camel Case only.
5353
- The values of each Translation Key should follow the [ICU Message Syntax](https://formatjs.io/docs/core-concepts/icu-syntax/)
5454
- All new Translation keys should be added at the bottom of the `i18n/locales/en.json` file. Since this makes it easier for Translators to notice that there are new Translation keys to be translated.

navigation.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,10 +60,6 @@
6060
"link": "/docs",
6161
"translationId": "components.header.links.docs",
6262
"items": {
63-
"es6": {
64-
"link": "/docs/es6",
65-
"translationId": "components.navigation.docs.links.es6"
66-
},
6763
"apiLts": {
6864
"link": "https://nodejs.org/dist/latest-{ltsNodeVersion}/docs/api",
6965
"translationId": "components.navigation.docs.links.apiLts"
@@ -72,12 +68,16 @@
7268
"link": "https://nodejs.org/dist/latest-{currentNodeVersion}/docs/api",
7369
"translationId": "components.navigation.docs.links.apiCurrent"
7470
},
71+
"es6": {
72+
"link": "/docs/es6",
73+
"translationId": "components.navigation.docs.links.es6"
74+
},
7575
"guides": {
7676
"link": "/docs/guides",
7777
"translationId": "components.navigation.docs.links.guides"
7878
},
7979
"dependencies": {
80-
"link": "/docs/meta/topics/dependencies",
80+
"link": "https://github.com/nodejs/node/blob/main/doc/contributing/maintaining/maintaining-dependencies.md",
8181
"translationId": "components.navigation.docs.links.dependencies"
8282
}
8383
}

pages/ar/docs/meta/topics/dependencies.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

pages/en/docs/index.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ There are several types of documentation available on this website:
1212
- API reference documentation
1313
- ES6 features
1414
- Guides
15+
- Dependencies
1516

1617
## API reference documentation
1718

@@ -36,3 +37,7 @@ The [ES6 section](/en/docs/es6/) describes the three ES6 feature groups, and det
3637
## Guides
3738

3839
The [Guides section](/en/docs/guides/) has long-form, in-depth articles about Node.js technical features and capabilities.
40+
41+
## Dependencies
42+
43+
Node.js depends on additional components beyond the Node.js code itself. These [dependencies](https://github.com/nodejs/node/blob/main/doc/contributing/maintaining/maintaining-dependencies.md) provide both native and JavaScript code and are built together with the code under the `src` and `lib` directories to create the Node.js binaries.

pages/en/docs/meta/topics/dependencies.md

Lines changed: 0 additions & 102 deletions
This file was deleted.

pages/es/docs/meta/topics/dependencies.md

Lines changed: 0 additions & 79 deletions
This file was deleted.

pages/fr/docs/meta/topics/dependencies.md

Lines changed: 0 additions & 78 deletions
This file was deleted.

0 commit comments

Comments
 (0)