You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Every time changes are done to the REST API YAML file in the APK product repo (wso2/apk [1]), we have to manually copy the YAML file and and add it to the APK docs repo (wso2/docs-apk [2] repo).
There is a high possibility that the content in the APK docs will be outdated because APK devs may not remember alert when changes are done in the REST API YAML docs.
Description:
Existing method
When adding REST API catalogs we carryout the following steps:
Download the YAML from the product APK repo (e.g., [2])
Save it in en/docs/catalogs directory in the docs-apk repo
Refer to the YAML in the respective MD file. (e.g., en/docs/catalogs/api-reference-developer-portal.md)
The REST API catalog will rendered as expected. (e.g., https://apk.docs.wso2.com/en/latest/catalogs/api-reference-developer-portal/)
Disadvantage of the above method
[1] https://github.com/wso2/apk
[2] https://github.com/wso2/docs-apk
Proposed Fix
@sanjeewa-malalgoda suggested to also get the https://github.com/wso2/apk repo to build as well in the APK build script [3]. So that we can automate the process.
Note
When trying to add the APK product repo GitHub URL directly in the APK docs repo MD file the REST API Catalog does not work.
[1] en/docs/catalogs/api-reference-developer-portal.md
[2] https://github.com/wso2/apk/blob/main/devportal/devportal-domain-service/ballerina/resources/devportal-api.yaml
[3] https://wso2.org/jenkins/job/docs/job/docs-apk/configure
The text was updated successfully, but these errors were encountered: