Skip to content

Commit

Permalink
Merge pull request #43 from jetty/javadoc-links
Browse files Browse the repository at this point in the history
fix javadoc links
  • Loading branch information
olamy authored May 30, 2024
2 parents 5e9eb0b + 8100022 commit 50f431b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs-home/modules/ROOT/pages/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,20 @@ s|Jetty 12
|xref:12@jetty:operations-guide:index.adoc[] +
xref:12@jetty:programming-guide:index.adoc[]

|https://eclipse.dev/jetty/javadoc/jetty-12/index.html?overview-summary.html[api] /
|https://javadoc.jetty.org/jetty-12/index.html[api] /
https://github.com/eclipse/jetty.project/tree/jetty-12.0.x[source]

s|Jetty 11
|xref:11@jetty:operations-guide:index.adoc[] +
xref:11@jetty:programming-guide:index.adoc[]

|https://eclipse.dev/jetty/javadoc/jetty-11/index.html?overview-summary.html[api] /
|https://javadoc.jetty.org/jetty-11/index.html[api] /
https://github.com/eclipse/jetty.project/tree/jetty-11.0.x[source]

s|Jetty 10
|xref:10@jetty:operations-guide:index.adoc[] +
xref:10@jetty:programming-guide:index.adoc[]

|https://eclipse.dev/jetty/javadoc/jetty-10/index.html?overview-summary.html[api] /
|https://javadoc.jetty.org/jetty-10/index.html[api] /
https://github.com/eclipse/jetty.project/tree/jetty-10.0.x[source]
|===
4 changes: 2 additions & 2 deletions lib/jetty-downloads-extension.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const MAVEN_REPO_URL = 'https://repo1.maven.org/maven2'
const JAVADOC_ROOT_URL = 'https://eclipse.dev/jetty/javadoc'
const JAVADOC_ROOT_URL = 'https://javadoc.jetty.org'
const REPOSITORY = 'jetty/jetty.project'
const GROUP_ID = 'org.eclipse.jetty'
const ARTIFACT_ID = 'jetty-home'
Expand Down Expand Up @@ -53,7 +53,7 @@ function collectLatestReleases ({ octokit, owner, repo, firstMajorVersion, lastM
zip,
zipHash,
url: release.html_url,
api: `${JAVADOC_ROOT_URL}/jetty-${majorVersion}/index.html?overview-summary.html`,
api: `${JAVADOC_ROOT_URL}/jetty-${majorVersion}/index.html`,
}
}
if (lastMajorVersion && createRange(firstMajorVersion, lastMajorVersion).every((it) => it in accum)) return accum
Expand Down

0 comments on commit 50f431b

Please sign in to comment.