Skip to content
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

Fix apiURL for autoAPIMappings #252

Merged
merged 1 commit into from Sep 20, 2023

Conversation

mdedetrich
Copy link
Contributor

@mdedetrich mdedetrich commented Sep 20, 2023

Pekko projects use a feature called autoAPIMappings which allows a project itself to specify where its docs are published to so that when other projects include this project as a dependency, scaladoc/javadoc automatically know. where to link the URL.

This is was the core issue behind apache/pekko-persistence-cassandra#102 (comment).

@pjfanning This may be strong enough grounds for a new release because basically any project that references anything in Pekko Connectors will have incorrect links in docs.

@@ -111,8 +111,10 @@ object Common extends AutoPlugin {
case _ => Seq.empty[String]
}),
autoAPIMappings := true,
apiURL := Some(url(
s"https://pekko.apache.org/api/pekko-connectors/${version.value}/org/apache/pekko/stream/connectors/index.html")),
apiURL := {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Copy link
Member

@He-Pin He-Pin left a comment

Choose a reason for hiding this comment

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

lgtm

@mdedetrich mdedetrich merged commit 529ed8d into apache:main Sep 20, 2023
50 checks passed
@mdedetrich mdedetrich deleted the fix-auto-api-mappings branch September 20, 2023 09:10
@pjfanning pjfanning added this to the 1.0.1 milestone Oct 7, 2023
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.

None yet

3 participants