docToolchain / docker-image

MIT License
3 stars 18 forks source link

inputPath in Config.groovy not taken into account by all tasks #2

Open dbroeglin opened 5 years ago

dbroeglin commented 5 years ago

It looks like changing inputPath in Config.groovy does not work. The value of inputPath defined in gradle.properties is still used by, at least, exportChangelog & exportContributors

So with a standard template downloaded and unzipped I get errors for exportChangelog because it still looks for src/docs. I can fix it with something like this in Config.groovy:

changelog.with {
    dir = 'src'
}

However, at that point, same issue with exportContributors.

The code for my test is in the first commit of this repository: https://github.com/picobank/pico-travel-docs/tree/80d25537b0d88e965b30a502c41df101739a57eb

I'm not blocked, I'm only just doing discovery around docToolchain and it was simpler to just move everything into src/docs as expected by the tools. But I thought I might give you some feedback.