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

Improve GraphQL reference docs page #4333

Closed
2 tasks
m-allanson opened this issue Mar 2, 2018 · 1 comment
Closed
2 tasks

Improve GraphQL reference docs page #4333

m-allanson opened this issue Mar 2, 2018 · 1 comment
Labels
help wanted Issue with a clear description that the community can help with. type: documentation An issue or pull request for improving or updating Gatsby's documentation

Comments

@m-allanson
Copy link
Contributor

m-allanson commented Mar 2, 2018

On https://www.gatsbyjs.org/docs/graphql-reference/ the GraphiQL instances are a bit cramped for space, there are a couple of things that could be done to give them more room:

  • Increase their width beyond the default content width (mockup)
  • Add a 'pop-out' link below each one (ref)

Would it be possible to create a remark plugin that auto-generates pop-out links for iframes?

Refs: #4143 (comment)

@m-allanson m-allanson added the type: documentation An issue or pull request for improving or updating Gatsby's documentation label Mar 2, 2018
@KyleAMathews
Copy link
Contributor

100% possible for the iframe plugin. It'd just iterate through iframes and you could extend any that are graphiql links. @bvaughn's plugin does something very similar https://github.com/gatsbyjs/gatsby/tree/master/packages/gatsby-remark-code-repls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Issue with a clear description that the community can help with. type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

No branches or pull requests

2 participants