Skip to content

Set environment variable DOCS_RS when building crates #852

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

Merged
merged 3 commits into from
Jun 24, 2020

Conversation

ldm0
Copy link
Contributor

@ldm0 ldm0 commented Jun 24, 2020

cc #147 (comment).

Fixes #147 .

Copy link
Member

@jyn514 jyn514 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good :) I'm going to run a build locally to make sure the env variable shows up (unfortunately we don't have automated build tests: #822). Thanks for the PR!

@jyn514 jyn514 changed the title Set environment variable DOCS_RS when buliding crates Set environment variable DOCS_RS when building crates Jun 24, 2020
@jyn514
Copy link
Member

jyn514 commented Jun 24, 2020

Yes, this looks fine locally (except for me missing some styles which is a separate bug):

image
image
image

@jyn514
Copy link
Member

jyn514 commented Jun 24, 2020

👌

image

@jyn514 jyn514 merged commit 116821e into rust-lang:master Jun 24, 2020
@jyn514
Copy link
Member

jyn514 commented Jun 24, 2020

Just deployed :)

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 this pull request may close these issues.

Detecting docs.rs from build.rs?
2 participants