-
Notifications
You must be signed in to change notification settings - Fork 884
CASSJAVA-109, CASSJAVA-117: Manual and API References after donation, Build CI for Java Driver Doc: #2063
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
base: 4.x
Are you sure you want to change the base?
Conversation
| </dependency> | ||
| <dependency> | ||
| <groupId>com.github.spotbugs</groupId> | ||
| <artifactId>spotbugs-annotations</artifactId> |
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.
Need to figure out how come previously we didn't need to add those annotation dependencies?
| run: | | ||
| cp -r ../java-driver/docs ./docs/latest | ||
| mkdocs build | ||
| cp -r ./out/. . # because the index.html has to be in the root folder |
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.
mv instead of cp
| mvn clean install -DskipTests # or guava-shaded can not be found | ||
| # mvn javadoc:javadoc -pl core,query-builder,mapper-runtime | ||
| mvn javadoc:aggregate | ||
|
|
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.
add the sym links here instead of committing them
Documentation page and GitHub action
Several things this PR do:
docsof symbol links as mkdocs' working directory, and the build script "./build-doc.sh"e.g. Download the zip here. Unzip, and run this command in the root directory to preview the website:
python -m http.server(with python3).gh-pages-stagingon 4.x commit (PR merged). Example run: https://github.com/SiyaoIsHiding/java-driver/actions/runs/19521378245 (someone with write access need to create that branch first)