-
Notifications
You must be signed in to change notification settings - Fork 75
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
Total makeover: split into modules per generator #203
Conversation
Split into separate plugins per site generator to avoid dependency overload in the using sbt builds.
This split makes dependency hell slightly cooler and I have tested the Paradox taste on some Akka projects locally. I intend to merge and release this as 1.5.0-RC2. |
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.
LGTM
The `previewSite` plugin does not enable itself anymore, you need to explicitly enable the parts of sbt-site you need on the sbt project/module containing the documentation. To allow `previewSite` with Paradox for example | ||
```scala | ||
.enablePlugins(SitePreviewPlugin, ParadoxSitePlugin) | ||
``` |
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 something about the deprecated/no longer working modules here as well?
addSbtPlugin( | ||
("com.github.sbt" % "sbt-ghpages" % "0.7.0") | ||
// sbt-ghpages depends on sbt-site 1.4.1, which pulls Scala XML 1.x | ||
.exclude("org.scala-lang.modules", "scala-xml_2.12") | ||
) |
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.
0.8.0 released https://github.com/sbt/sbt-ghpages/releases/tag/v0.8.0
Split into separate plugins per site generator to avoid dependency overload in the using sbt builds.
Both Scala XML and Scala Parser Generators appear in dependencies, many very outdated and likely unmaintained.
Not all perviously supported site generators are prepared in this PR.
Available are:
Docs still need work to reflect the new structure better.
Another dimension in dependency hell is that sbt-ghpages depends on sbt-site 1.4.4 (not obvious to me why). With sbt-site moving to a different group ID (com.github.sbt) that might create unexpected effects.