Open azinneera opened 1 month ago
We render the package content in Ballerina Central using the description
field in the api-doc.json
file generated by org.ballerinalang.docgen.docs.BallerinaDocGenerator
(same as bal doc
command). This change should be added to that class in lang.
Description: Related lang issue: https://github.com/ballerina-platform/ballerina-lang/issues/42981
With these changes, the package.json of the BALA will be added with the "docs" field as shown below. BC can read this entry and render the documentation.
Note: With the new structure, documentation for the default module is also expected to be contained in the package documentation MD file. Therefore, the Module.md of the default module will not be packaged into the BALA.