Skip to content

Commit

Permalink
keep the options at one place
Browse files Browse the repository at this point in the history
  • Loading branch information
TingDaoK committed Sep 9, 2024
1 parent 79ac10e commit 5854997
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ jobs:
# check that docs can still build
check-docs:
runs-on: ubuntu-22.04 # latest
runs-on: ubuntu-22.04 # use same version as docs.yml
steps:
- uses: actions/checkout@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
update-docs-branch:
runs-on: ubuntu-20.04 # latest
runs-on: ubuntu-22.04 # use same version as ci.yml's check-docs
permissions:
contents: write # allow push
steps:
Expand Down
7 changes: 0 additions & 7 deletions javadoc.options

This file was deleted.

2 changes: 2 additions & 0 deletions make-docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,7 @@ rm -rf docs/

# build
mvn clean javadoc:javadoc -Prelease
# mvn generates the doc in apidocs/ subfolder, move it out
mv docs/apidocs/* docs/

popd >/dev/null
12 changes: 7 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -294,16 +294,18 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.4.0</version>
<configuration>
<!-- <subpackages>software.amazon.awssdk.crt</subpackages> -->
<reportOutputDirectory>${project.basedir}/docs</reportOutputDirectory>
<windowtitle>AWS Common Runtime for Java/JVM</windowtitle>
<doctitle>AWS Common Runtime for Java/JVM</doctitle>
<header>AWS Common Runtime for Java/JVM</header>
<bottom>Copyright © Amazon.com, Inc. or its affiliates. All Rights Reserved.</bottom>
<reportOutputDirectory>${project.basedir}/docs</reportOutputDirectory>
<show>public</show>
<sourcepath>src/main/java</sourcepath>
<notimestamp>true</notimestamp>
<quiet>true</quiet>
<doclint>all,-missing</doclint>
<failOnWarnings>true</failOnWarnings>
<excludePackageNames>software.amazon.awssdk.crt.internal</excludePackageNames>
<additionalJOptions>
@${project.basedir}/javadoc.options
</additionalJOptions>
</configuration>
<executions>
<execution>
Expand Down

0 comments on commit 5854997

Please sign in to comment.