- 
                Notifications
    You must be signed in to change notification settings 
- Fork 188
Generate API Docs locally
Follow the steps below to generate API Docs locally.
Note: The instructions below are tested for Swan Lake Beta.
- 
Do your change(s) in the repositories below. - 
Standard library modules: In the masterbranch of the respective repository of the module (e.g.,module-ballerina-timefor thetimemodule)
- 
Lang library modules: In the masterbranch of theballerina-langrepository
 
- 
Standard library modules: In the 
- 
Build the module repo or the ballerina-langrepo by executing the command below../gradlew clean build publishToMavenLocal -x test -x check --no-build-cache
- 
Change the appended timestamp to SNAPSHOTin thegradle.propertiesfile inballerina-distributionrepo.E.g., If you changed the timemodule, change the below.stdlibTimeVersion=2.0.0-beta.1-20210528-223700-397e4d0tostdlibTimeVersion=2.0.0-beta.1-SNAPSHOTNote: Make sure the version in the module’s gradle.propertiesfile matches the entry you make in thegradle.propertiesfile of theballerina-distributionrepo. Both should be the same.
- 
Build the ballerina-distributionrepo by executing the command below../gradlew clean build -x test -x checkNote: If you are building the <ballerina-distribution>repo for the first time, execute the commands below.- export packageUser=<Your github username>
- export packagePAT=<Your personal access token>
 
- 
Extract the pack built in the <ballerina-distribution>/ballerina/build/distributionsdirectory.
- 
Double click on the /docs/index.htmlfile, and verify your fixes in the simulated view of the API Docs in Central.
- 
Send the PR to the repos below, and get it merged. - 
Standard library modules: Respective module repo (e.g., module-ballerina-time)
- 
Language library modules: ballerina-langrepo
 
- 
Standard library modules: Respective module repo (e.g.,