Repository navigation
JavaDoc as HTML and JARs #58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
fbca468
Try to add javadoc source path
KevinHudemann 0c926c6
Comment our sourcepath
KevinHudemann 321181d
Fix target dirs
KevinHudemann fe6b2df
Set source path
KevinHudemann 895297c
Comment out overview
KevinHudemann b6a6f19
Small corrections
stippi2 49a8f50
Build with "docs" mvn profile
stippi2 27ac120
Merge branch 'main' into add-javadoc
stippi2 85fc37c
Add script to generate the javadoc.properties
stippi2 730eb01
Disable Blackduck temporarily
stippi2 d38fd34
Add javadoc:aggregate goal
stippi2 7ffdb0b
Add aggregated javadoc as artifact
KevinHudemann 4fc0c27
Comment out notify job
KevinHudemann b5eba12
Add overview html
KevinHudemann 1837cf6
Add javadoc as release asset
KevinHudemann e046bc3
Add potentially missing path
KevinHudemann 048ccf5
Add debug output
KevinHudemann fde05b5
Add sap-
KevinHudemann dbd519c
Cleanup generate-release-artifacts.py
stippi2 f3a8723
WIP: Checkout cloud-sdk and update docs
stippi2 ba91b2f
Improve commit message
stippi2 5850a93
Create branch and PR in SAP/cloud-sdk...
stippi2 189d8b4
Tree the runner's working directory
stippi2 eed4b8d
Add manual workflow dispatch
stippi2 c1400e3
Fix extraction of JavaDocs
stippi2 ef85910
Move ZIP contents instead of directly extracting
stippi2 df17dc5
Use PAT for cross repo access
stippi2 28508bd
Add missing "
stippi2 00f496d
Test skipping of PR creation
stippi2 9d5c02b
Set GH token for gh
stippi2 2291c81
Re-enable docs extraction
stippi2 1181250
Use squash merge for release branch merging
stippi2 308f38d
We need to git add to detect changes
stippi2 ce1a678
Release 0.0.2 (#64)
github-actions[bot] 2ba8809
Fix detecting changes for PR
stippi2 d4d1e1f
RøRevert "Release 0.0.2 (#64)"
stippi2 dfb8c38
Revert "Release 0.0.2 (#64)"
KevinHudemann 4ea4e2b
Fix contents of release branch
KevinHudemann bff0aa0
Release 0.0.2 (#65)
github-actions[bot] 9be245e
Merge branch 'add-javadoc' of https://github.com/SAP/cloud-sdk-java i…
stippi2 6ce7cad
Remove manual workflow trigger
stippi2 73c7566
Merge branch 'main' into add-javadoc
stippi2 e391a62
Revert changes done for testing only
stippi2 fa67179
Cleanup and update token to technical user
KevinHudemann c9d1b90
Update perform release for testing
KevinHudemann bb4055a
Add SAP to Cloud SDK
KevinHudemann 685d462
Update git config for sdk bot
KevinHudemann d51121b
Revert "Update perform release for testing"
KevinHudemann f555ffc
Add upload artifact again and cleanup
KevinHudemann 97e8222
Remove unused imports
KevinHudemann f5331be
Fix github secret
KevinHudemann File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
.pipeline/scripts/generate-javadoc-sourcepath-properties.py
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| import json | ||
|
|
||
|
|
||
| def write_javadoc_sourcepath_properties(): | ||
| with open("module-inventory.json", "r") as file: | ||
| module_inventory = json.load(file) | ||
|
|
||
| with open("javadoc.properties", "w") as output: | ||
| output.write("javadoc.sourcepath = ") | ||
|
|
||
| for i, module in enumerate(module_inventory, start=1): | ||
| if module["releaseAudience"] != "Public": | ||
| continue | ||
| target_path = module["pomFile"].replace("pom.xml", "target/delombok;") | ||
|
MatKuhr marked this conversation as resolved.
Resolved
|
||
| if i == len(module_inventory): | ||
| output.write(target_path) | ||
| else: | ||
| output.write(target_path + "\\\n") | ||
|
|
||
|
|
||
| def main(): | ||
| write_javadoc_sourcepath_properties() | ||
|
|
||
|
|
||
| if __name__ == '__main__': | ||
| main() | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.