-
Notifications
You must be signed in to change notification settings - Fork 74
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
Allow general search and replace in Preprocess #139
Conversation
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.
An addition in the docs would be good.
src/main/scala/com/typesafe/sbt/site/preprocess/PreprocessKeys.scala
Outdated
Show resolved
Hide resolved
….scala Co-Authored-By: 2m <[email protected]>
Would be good to exercise this feature in scripted tests. |
Added scripted test and documentation. Needed to upgrade paradox theme to be able to generate project documentation locally. |
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. Great feature.
You could maybe add the example for patching Scaladoc's .scala.java
to .java
in the docs?
Even though it will be fixed in 2.12.9 and 2.13.0 scala/scala#7532 scala/scala#7559
Pushed a scripted test with a useful preprocessing rule. |
This does not fail locally for me. Investigating... |
so the output of the doc task could be used by makeSite
Locally it worked, because I had files in the |
Introduces
preprocessRules
which allows general search and replace by regex inPreprocess
Makes it possible to fix akka/alpakka#1378