Skip to content
This repository has been archived by the owner on Mar 25, 2019. It is now read-only.

Generated documentation in docs folder contain paths to contributors' forks #16

Closed
rikoe opened this issue Sep 10, 2018 · 3 comments · Fixed by #32
Closed

Generated documentation in docs folder contain paths to contributors' forks #16

rikoe opened this issue Sep 10, 2018 · 3 comments · Fixed by #32

Comments

@rikoe
Copy link
Contributor

rikoe commented Sep 10, 2018

The README.md asks contributors to run yarn run doc after making changes, but this produces URI links ("Defined In") to their own forks.

This means that:

  • These files change for every PR by a different contributor, polluting code diffs.
  • These paths to forks get merged into the upstream repo still containing links to the fork, thereby making them incorrect.

These URI paths should either be relative, or always point to the upstream repo. If this is not possible, they should not be included at all, or generated documentation should not be checked in to the repo.

Example:
*Defined in [interface.ts:41](https://github.com/ColinEberhardt/API/blob/eac0696/src/interface.ts#L41)*

@nkolba
Copy link
Member

nkolba commented Sep 22, 2018

added a temp fix with #33

Agree that generated docs should probably not be in git repo long term

@rikoe
Copy link
Contributor Author

rikoe commented Sep 24, 2018

@nkolba Changing the URLs themselves aren't good enough, you need to change the typedoc process, otherwise it is a problem for every PR. Please see my PR #32.

@nkolba
Copy link
Member

nkolba commented Sep 24, 2018 via email

nkolba pushed a commit that referenced this issue Sep 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants