瀏覽代碼

feat(provider:programming): add some language aliases

pull/149/head
mingrammer 4 年之前
父節點
當前提交
87ab7fbe1a
共有 3 個檔案被更改,包括 17 行新增5 行删除
  1. +8
    -1
      config.py
  2. +5
    -0
      diagrams/programming/language.py
  3. +4
    -4
      docs/nodes/programming.md

+ 8
- 1
config.py 查看文件

@@ -332,5 +332,12 @@ ALIASES = {
"DatabaseserviceGrey": "DBServiceGrey",
}
},
"programming": {},
"programming": {
"language": {
"Javascript": "JavaScript",
"Nodejs": "NodeJS",
"Php": "PHP",
"Typescript": "TypeScript"
},
},
}

+ 5
- 0
diagrams/programming/language.py 查看文件

@@ -77,3 +77,8 @@ class Typescript(_Language):


# Aliases

JavaScript = Javascript
NodeJS = Nodejs
PHP = Php
TypeScript = Typescript

+ 4
- 4
docs/nodes/programming.md 查看文件

@@ -28,13 +28,13 @@ Node classes list of programming provider.
- **diagrams.programming.language.Dart**
- **diagrams.programming.language.Go**
- **diagrams.programming.language.Java**
- **diagrams.programming.language.Javascript**
- **diagrams.programming.language.Javascript**, **JavaScript** (alias)
- **diagrams.programming.language.Kotlin**
- **diagrams.programming.language.Matlab**
- **diagrams.programming.language.Nodejs**
- **diagrams.programming.language.Php**
- **diagrams.programming.language.Nodejs**, **NodeJS** (alias)
- **diagrams.programming.language.Php**, **PHP** (alias)
- **diagrams.programming.language.Python**
- **diagrams.programming.language.R**
- **diagrams.programming.language.Ruby**
- **diagrams.programming.language.Swift**
- **diagrams.programming.language.Typescript**
- **diagrams.programming.language.Typescript**, **TypeScript** (alias)

Loading…
取消
儲存