Quansight-Labs / quansight-labs-site

💻 Development site and blog for Quansight Labs
https://labs.quansight.org
23 stars 44 forks source link

adding the blog migration script to the new website #331

Closed noatamir closed 1 year ago

noatamir commented 2 years ago

As suggested by @gabalafou I've added my blog migration script here for and I will also share a zip of the output via slack so anyone can open PRs. There are a bunch(!) to do now but it is substantially less work per post (though it does still take some time :wink:

Here is a description of the process I had with the last few posts:

  1. create a branch blog-filename
  2. Add the md file under posts/year/month
  3. Add a description in the header (usually easy to do based on an intro line in the first paragraph)
  4. Images are added using a folder structure similar to what we had before, but instead of the images folder we have a public folder and each post has its own unique folder. The pattern is something like this: public/posts/year/month/blog-file-name-as-folder-name/hero.svg 3.1 Add the images if they exist, check for correct sizes (Hero, 1440x696. feature 391x174), and alt text. The easiest way to check if the blog had an image is to open it and see.
    3.2 Add generic images with their alt text (we have a few already and I can go later and create more variations)
  5. Check, using search, if there are any links to our github repository which need to be updated (e.g. search for "github.com/Quansight-Labs"). If you need to add files put them in them public folder similar to the images.
  6. have a look around that everything look alright in the header and text. maybe check that images have alt-text if you have time. When ready commit all changes.
  7. Open a PR & check the file blog_links.md (search for the file name) to see if the blog has links to other blogs, labs or llc. Please add the following to the commit message, and if there were links found paste them in so we can keep track and open issues to update this blog when the other one is migrated as well:
## Links to other Quansight blogs:

no labs links found
no llc links found

Any chance we can get a few more hands involved? It would go a lot faster and I can just share this via Notion with a zip of all the generated files so no one needs to worry about the migration script really.

netlify[bot] commented 2 years ago

Deploy Preview for admiring-northcutt-a5be8c ready!

Name Link
Latest commit c2416a6bcecf8eb7e537af0e9b70779b6b0b81ff
Latest deploy log https://app.netlify.com/sites/admiring-northcutt-a5be8c/deploys/62b314e44e75220009272331
Deploy Preview https://deploy-preview-331--admiring-northcutt-a5be8c.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

rgommers commented 2 years ago

Any chance we can get a few more hands involved? It would go a lot faster and I can just share this via Notion with a zip of all the generated files so no one needs to worry about the migration script really.

We have some people with available bandwidth I think, so this should be possible. Let's discuss on Slack, including @trallard.

rgommers commented 1 year ago

Merging this before archiving the repo.