Skip to content

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

@dbroeglin

Description

@dbroeglin

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions