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

Manual overwrite filenames when two file has the same name #20

Open
moshest opened this issue Aug 19, 2017 · 1 comment · May be fixed by #83
Open

Manual overwrite filenames when two file has the same name #20

moshest opened this issue Aug 19, 2017 · 1 comment · May be fixed by #83

Comments

@moshest
Copy link
Contributor

moshest commented Aug 19, 2017

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.

@phueper
Copy link

phueper commented Mar 4, 2019

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 added a commit to phueper/js-joda that referenced this issue Mar 4, 2019
the files are named the same and thus overwrite each other (see esdoc/esdoc-plugins#20)
For now, we remove the CHANGELOGs from esdoc generation until esdoc/esdoc-plugins#83 or sth similar has landed in esdoc
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 a pull request may close this issue.

2 participants