Skip to content

JavaDoc as HTML and JARs - #58

Merged
KevinHudemann merged 51 commits into
mainfrom
add-javadoc
Sep 14, 2023
Merged

KevinHudemann merged 51 commits into
mainfrom
add-javadoc

Conversation

@KevinHudemann

@KevinHudemann KevinHudemann commented Sep 11, 2023 •

Copy link
Copy Markdown
Member

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

KevinHudemann and others added 30 commits September 11, 2023 16:48
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
stippi2 and others added 13 commits September 13, 2023 11:39
* 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>
* 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.
@stippi2
stippi2 marked this pull request as ready for review September 13, 2023 11:41

@MatKuhr MatKuhr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

generally looks good! I don't understand everything, but we can verify things work correctly when switching development and publishing to OSSRH staging.

Comment thread .github/workflows/perform_release.yml Resolved
# 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

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

does it matter if this is run before or after install?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we need to run the script to generate the properties file before the install, otherwise we cannot generate the docs.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, the properties file is not part of the repo but only generated on the fly.

Comment thread javadoc.overview.html
<h3>Key Features:</h3>
<ul>
<li>Abstractions for SAP Business Technology Platform features</li>
<li>Virtual Data Model for the S4/HANA APIs</li>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@KevinHudemann
KevinHudemann merged commit d359d38 into main Sep 14, 2023
Comment thread javadoc.overview.html
Comment on lines +19 to +20
<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>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These links don't work

@CharlesDuboisSAP
CharlesDuboisSAP deleted the add-javadoc branch September 27, 2023 07:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants