Repository navigation
JavaDoc as HTML and JARs - #58
Conversation
AFAIU, this should build everything the default profile builds, but in addition also -source and -javadoc JAR files. I've added it to the regular build as well, since I guess one would want to know if something is failing in docs generation as well.
TODO: Validate contents, create a branch and PR
... with the updated contents of static/api-java/vX
* Update to version 0.0.2 * Update to version 0.1.0-SNAPSHOT --------- Co-authored-by: Maven Central Release Script <noreply+s4hana-cloud-sdk@sap.com>
This reverts commit ce1a678.
This reverts commit ce1a678.
* Update to version 0.0.2 * Update to version 0.1.0-SNAPSHOT --------- Co-authored-by: Maven Central Release Script <noreply+s4hana-cloud-sdk@sap.com>
- Leave it in the workflow commented with instructions, may come in handy at some point.
Also don't assume default branch is "main" always. From the discussion in the team, I picked up it may also be something like "main/v5" or similar.
This reverts commit c9d1b90.
MatKuhr
left a comment
There was a problem hiding this comment.
generally looks good! I don't understand everything, but we can verify things work correctly when switching development and publishing to OSSRH staging.
| # they require the JARs of all modules to work, so those need to be installed | ||
| run: | | ||
| mvn $MVN_CLI_ARGS install -DskipTests -DskipFormatting | ||
| python .pipeline/scripts/generate-javadoc-sourcepath-properties.py |
There was a problem hiding this comment.
does it matter if this is run before or after install?
There was a problem hiding this comment.
Yes we need to run the script to generate the properties file before the install, otherwise we cannot generate the docs.
There was a problem hiding this comment.
Note, the properties file is not part of the repo but only generated on the fly.
| <h3>Key Features:</h3> | ||
| <ul> | ||
| <li>Abstractions for SAP Business Technology Platform features</li> | ||
| <li>Virtual Data Model for the S4/HANA APIs</li> |
There was a problem hiding this comment.
This will need an update, but we can do that once everything is there. I added a note to https://github.com/SAP/cloud-sdk-java-backlog/issues/281
| <li><a href="/cloudplatform/package-summary.html">cloudplatform</a> contains platform specific features such as access to services, connectivity and resilience</li> | ||
| <li><a href="/s4hana/package-summary.html">s4hana</a> contains VDM representations of the S/4HANA APIs</li> |
There was a problem hiding this comment.
These links don't work
BLI: https://github.com/SAP/cloud-sdk-java-backlog/issues/78
The generated aggregated JavaDoc will be appended as release asset and a PR will be created automatically to update the API docs in the SAP Cloud SDK documentation repo, if there are any changes.
The PR would look like this one: SAP/cloud-sdk#1521
A PR exists which adds an entry in the sidebar of the SAP Cloud SDK for Java documentation: SAP/cloud-sdk#1522