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

Refactor is_crystal_repo based on project name #9070

Merged

Conversation

straight-shoota
Copy link
Member

This changes how the docs generator knows it's working on stdlib. Previously it looked for a git remote pointing to github.com/crystal-lang/crystal. Now with #8792 it can simply tell by the project name. That allows generating stdlib docs outside a git environment (for example from a tarball) which was impossible before.

For refernce: #7904 might add a separate option for enabling ouput of stdlib features which could make this change obsolete. But that's not fleshed out yet, and this is a simple improvement we can do right now.

@straight-shoota straight-shoota force-pushed the feature/docs-crystal-repo branch from de5c0e7 to f8b6284 Compare April 14, 2020 20:04
@RX14
Copy link
Contributor

RX14 commented Apr 15, 2020

Needs CI fixed.

@bcardiff bcardiff added this to the 0.35.0 milestone Apr 15, 2020
@straight-shoota straight-shoota merged commit 07e8a48 into crystal-lang:master Apr 15, 2020
@straight-shoota straight-shoota deleted the feature/docs-crystal-repo branch April 15, 2020 23:11
carlhoerberg pushed a commit to carlhoerberg/crystal that referenced this pull request Apr 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants