芭蕾舞女演员模块元数据文档?

问题描述

在Ballerina Central中,我看到带有关键字,版本兼容性,作者等的模块。除Ballerina.toml中找不到任何有关如何设置组织和版本的文档。是否有完整指南,说明如何设置隐藏在某处的所有模块信息?我真的想警告人们,我要推送的模块仅与Swan Lake预览版兼容。

解决方法

在Ballerina.toml中,您可以将模块信息指定为波纹管。

orgName= "hevayo"
Version= "1.2.3"
license= "Apache-2.0"
authors= ["hevayo"]
keywords= ["ballerina","Twitter","endpoint","connector"]
repository= "https://github.com/hevayo/module-twitter"

更详细的解释可以在Ballerina spec存储库中找到。

要警告人们兼容性,您可以在Module.md文件中提及该兼容性,该文件将用于在Ballerina Central中生成模块页面。