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

Allow general search and replace in Preprocess #139

Merged
merged 8 commits into from
May 21, 2019

Conversation

2m
Copy link
Member

@2m 2m commented Dec 19, 2018

Introduces preprocessRules which allows general search and replace by regex in Preprocess

Makes it possible to fix akka/alpakka#1378

Copy link
Contributor

@ennru ennru left a 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.

@ennru
Copy link
Contributor

ennru commented May 15, 2019

Would be good to exercise this feature in scripted tests.

@2m 2m self-assigned this May 15, 2019
@2m
Copy link
Member Author

2m commented May 16, 2019

Added scripted test and documentation.

Needed to upgrade paradox theme to be able to generate project documentation locally.

Copy link
Contributor

@ennru ennru left a 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

@2m
Copy link
Member Author

2m commented May 17, 2019

Pushed a scripted test with a useful preprocessing rule.

@2m
Copy link
Member Author

2m commented May 21, 2019

This does not fail locally for me. Investigating...

so the output of the doc task could be used by makeSite
@2m
Copy link
Member Author

2m commented May 21, 2019

Locally it worked, because I had files in the target directory, and those were copied over by the scripted task.

@2m 2m added this to the 1.3.3 milestone May 21, 2019
@2m 2m merged commit 86a69df into sbt:develop May 21, 2019
@2m 2m deleted the wip-general-preprocess-2m branch May 21, 2019 14:13
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.

API docs: make source links work for Java sources
2 participants