question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

feat: website with GatsbyJS

See original GitHub issue

This is the first try using GatsbyJS as website:

Goals

  • To have a more flexible website
  • Be able to add new pages based on different sources (GitHub, Markdown, etc etc)
  • Improve SEO experience
  • Custom versioning (nice to have): We don’t want to build versioning for each change, versioning should be immutable. Eg: If we are on v5.0.0 and we release a patch version, the v5.0.0 will pass a subfolder in the CDN and we do no to have to build it again, the master would be the one is under the root domain. This reduce the amount of MB we need to upload to the CDN every time we do a release.
  • Translations, with Crowdin we can fetch all translations on CI and build the website, we don’t want to merge big PR every time someone change something on the crowdin platform.
  • Custom design https://github.com/verdaccio/website/issues/75#issuecomment-544070908

❤️ help is very welcome, otherwise it will take a while 😊

This is only for 5.x branch

In reference to https://github.com/verdaccio/website/issues/248

Development

pnpm install
cd website
pnpm develop

Gatsby.js documentation applies to this website.

Tasks

Each task might be a new PR on top of this branch feat-website

  • Integrate with crowdin (currently I copied some translations to make it work): Translations should be downloaded in compile time, unpackage them and generate all pages.
  • Restore auto deployment to the CDN (already works here https://github.com/verdaccio/website_2.0)
  • Mobile ready (should be easy to navigate on mobile)
  • Create layout (layout for mobile and desktop
  • Improve navigation (navigation, switch languages, forward and backwards according the sidebar navigation)
  • Create design (there is one proposal already)
  • Create doc pages
  • Create scaffolding with GatsbyJS #1843

⚠️ If you want to just PR something small, any typo, linting, new TS type or micro change is very welcome.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
ploh007commented, Jul 12, 2021

@semoal I replied to you on twitter.

But here is the link to the XD Design regenerated. Hopefully this works. I’ve removed the need for a password.

Verdaccio Website XD

Given how dated the design is. It will require some updates. But looking at your work with the Rematch website, it’ll be good. 😉

2reactions
semoalcommented, Apr 26, 2021

Hey folks 👋🏻, I don’t want to join on something where no one has called me, but what about of using Docusaurus v2? Natively accepts i18n with platforms like Crowdin, has a good SEO experience, works really nice to be honest.

I’ve built Rematch website with it and fitted for me perfectly. In a few weeks I’ll could be a bit free to help on this task, if you’re agree of course =)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Gatsby: The Fastest Frontend for the Headless Web
Gatsby is a React-based open source framework with performance, scalability and security built-in. Collaborate, build and deploy 1000x faster with Gatsby ...
Read more >
Build a blazing fast website with GatsbyJS and Contentful
In this tutorial, you will learn to take a simple getting started GatsbyJS example and transform it into a Contentful powered website.
Read more >
Building a Website With Gatsby.js - DEV Community ‍ ‍
Gatsby.js is an open-source framework that utilizes React.js to generate static websites. What is a static website? A static website doesn't ...
Read more >
gatsbyjs/gatsby: The fastest frontend for the headless ... - GitHub
The fastest frontend for the headless web. Build modern websites with React. - GitHub - gatsbyjs/gatsby: The fastest frontend for the headless web....
Read more >
Gatsby ft. Valhalla (@GatsbyJS) / Twitter
Build, preview, and deploy dynamic web experiences with performance that scales. Sign up now: https://gatsbyjs.com/dashboard/signup…
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found