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

Migrate docs to Next JS / abandon Gatsby #831

Open
lavelle opened this issue Jun 22, 2022 · 0 comments
Open

Migrate docs to Next JS / abandon Gatsby #831

lavelle opened this issue Jun 22, 2022 · 0 comments
Assignees

Comments

@lavelle
Copy link
Contributor

lavelle commented Jun 22, 2022

The docs for thumbprint.design are currently running on an old version of Gatsby.

I have attempted to upgrade to the latest version in #829, but ran into many issues:

  1. Our Markdown plugins for extracting frontmatter no longer work on the latest version
  2. It gives a cryptic error when attempting to load these files using allSitePage.
  3. These errors prevent the docs from loading at all. This means we can't access the GraphiQL interface to see what the new API should be.
  4. Gatsby also doesn't recognise our use of import styles for CSS Modules, instead requiring us to migrate every component to use import * as styles.

After spending a few hours on this, we decided that it's not worth the trouble, since as a company Thumbtack is moving everything to Nextjs anyway. As such, we should revive the work in #721, and migrate away from Gatsby.

cc @danoc for reference.

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

No branches or pull requests

1 participant