esdoc-plugins icon indicating copy to clipboard operation
esdoc-plugins copied to clipboard

Manual overwrite filenames when two file has the same name

Open moshest opened this issue 8 years ago • 1 comments

Consider the following config:

{
  "source": "./",
  "destination": "./docs",
  "plugins": [{
    "name": "esdoc-standard-plugin",
    "option": {
      "manual": {
        "index": "./API.md",
        "files": [
          "./foo/README.md",
          "./bar/README.md"
        ]
      }
    }
  }]
}

The following config will generate the same file ./manual/README.md twice and therefore will overwrite each other.

moshest avatar Aug 19 '17 17:08 moshest

Hi,

I just hit this myself... just curious, does anyone have a workaround for this? I'm trying to use this in a lerna monorepo and copy together CHANGELOG.md files from several packages. But they get overwritten. I'd rather not have to name my CHANGELOG files different for each package.

Regards, Pattrick

phueper avatar Mar 04 '19 11:03 phueper