Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
修改 mdlint 中的非包容性字词
Fuchsia 使用 mdlint(一个 Markdown linter 来强制执行特定规则)
获取 Fuchsia 源代码树中的文档。mdlint 的值不包含
这种语言检测器使用 JSON 文件,其中包含非包容性字词及其
相应的备选版本
如需更新、移除非包含语言列表或将其添加到列表中,请执行以下操作:
更新列表
- 打开
/tools/mdlint/rules/respectful_code_words.json。
要添加或修改对非包含字词的建议,请将英文逗号和
撰写新的建议。例如:
"master": "main, primary,new suggestion",
从列表中移除
- 打开
/tools/mdlint/rules/respectful_code_words.json。
删除包含非相关字词和建议的整行。
添加到列表
- 打开
/tools/mdlint/rules/respectful_code_words.json。
- 根据列表中单词的字母顺序在单词之间添加一个换行符。
添加字词及其相应建议。例如:
"non-inclusive word": "first inclusive suggestion, second inclusive suggestion...",
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-08-22。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-08-22。"],[],[]]