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

Fix Links #57

Merged
merged 1 commit into from
May 21, 2019
Merged

Fix Links #57

merged 1 commit into from
May 21, 2019

Conversation

sophstad
Copy link
Member

@sophstad sophstad commented May 21, 2019

[Staging] Roles of type Doc are internal links and require prefixing to work in staging.

  • In a build environment, prefix them with GATSBY_PREFIX, if specified, or GATSBY_SITE/GATSBY_USER/GATSBY_BRANCH if not (all of which are defined in the .env.production file).
  • In a local development environment, do not include a prefix.

This is a stopgap until relative links are implemented.

@danielborowski
Copy link
Contributor

LGTM

@sophstad sophstad merged commit de28d6c into master May 21, 2019
@sophstad sophstad deleted the fix-links branch May 21, 2019 17:32
graysonhicks pushed a commit that referenced this pull request Jan 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants