Browse Source

clean up remaining references to docs-translations content

Zeke Sikelianos 7 years ago
parent
commit
2ad1d8ba28
3 changed files with 3 additions and 18 deletions
  1. 0 2
      CONTRIBUTING.md
  2. 1 14
      docs/styleguide.md
  3. 2 2
      package.json

+ 0 - 2
CONTRIBUTING.md

@@ -1,7 +1,5 @@
 # Contributing to Electron
 
-:memo: Available Translations: [Korean](https://github.com/electron/electron/tree/master/docs-translations/ko-KR/project/CONTRIBUTING.md) | [Simplified Chinese](https://github.com/electron/electron/tree/master/docs-translations/zh-CN/project/CONTRIBUTING.md) | [Brazilian Portuguese](https://github.com/electron/electron/tree/master/docs-translations/pt-BR/project/CONTRIBUTING.md) | [Dutch](https://github.com/electron/electron/tree/master/docs-translations/nl/project/CONTRIBUTING.md)
-
 :+1::tada: First off, thanks for taking the time to contribute! :tada::+1:
 
 This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.md).

+ 1 - 14
docs/styleguide.md

@@ -230,17 +230,4 @@ a module or a class.
 
 ## Documentation Translations
 
-Translations of the Electron docs are located within the `docs-translations`
-directory.
-
-To add another set (or partial set):
-
-* Create a subdirectory named by language abbreviation.
-* Translate the files.
-* Update the `README.md` within your language directory to link to the files
-  you have translated.
-* Add a link to your translation directory on the main Electron
-  [README](https://github.com/electron/electron#documentation-translations).
-
-Note that the files under `docs-translations` must only include the translated
-ones, the original English files should not be copied there.
+See [electron/electron-i18n](https://github.com/electron/electron-i18n#readme)

+ 2 - 2
package.json

@@ -48,8 +48,8 @@
     "lint-js": "standard && cd spec && standard",
     "lint-cpp": "python ./script/cpplint.py",
     "lint-py": "python ./script/pylint.py",
-    "lint-docs": "npm run lint-api-docs-js && npm run create-typescript-definitions",
-    "lint-api-docs-js": "standard-markdown docs && standard-markdown docs-translations",
+    "lint-docs": "npm run lint-js-in-markdown && npm run create-typescript-definitions",
+    "lint-js-in-markdown": "standard-markdown docs",
     "create-api-json": "electron-docs-linter docs --outfile=out/electron-api.json --version=$npm_package_version",
     "create-typescript-definitions": "npm run create-api-json && electron-typescript-definitions --in=out/electron-api.json --out=out/electron.d.ts",
     "merge-release": "node ./script/merge-release.js",