jaredly / jaredly/redoc

Somehow getting duplicate output

Open
#21 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
114
Forks
11
PR merge metrics
No merged PRs in 30d

Description

Hi there,

I am getting duplicate output, any idea what could be causing this?

screen shot 2018-08-22 at 15 48 32

here with another project:

screen shot 2018-08-22 at 15 46 26

Here is a screenshot of the terminal output to create a basic demonstration of this issue:

screen shot 2018-08-22 at 15 48 09

I've stored a minimal example with output in a repo here: https://github.com/wires/redoc-issue

Maybe it is because certain directories are listed twice (see [`redoc_debug_output.txt`](https://github.com/wires/redoc-issue/blob/master/redoc_debug_output.txt):

```
compiledDependencyDirectories:
/private/tmp/test/lib/bs : /private/tmp/test/lib/js/
/private/tmp/test/lib/bs : /private/tmp/test/lib/js/
/private/tmp/test/lib/bs/src : /private/tmp/test/lib/js/src
```

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the minimal reproduction repository at https://github.com/wires/redoc-issue and inspect redoc_debug_output.txt, especially the repeated compiledDependencyDirectories entries. Reproduce the duplicate output with the documented terminal example, then trace how those directories are consumed in redoc. Done means the minimal example no longer produces duplicate output.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.