zackradisic / aussieplusplus

Programming language from down under
aussieplusplus.vercel.app
609 stars 15 forks source link

Reflect changes to ./DOCS.md and ./examples/ on https://aussieplusplus.vercel.app/ #33

Open jwfxpr opened 2 years ago

jwfxpr commented 2 years ago

I'm unfamiliar with vercel (I'm not a web dev at all), but I noticed that updates and corrections that have been made to ./DOCS.md and the contents of ./examples/ are not (yet) reflected on the aussieplusplus.vercel.app landing page. 😊

The contents of DOCS.md should be rendered to the Docs section towards the bottom of the page.

The contents of the examples folder should be populated to the drop-down list for the editing area.

Surely there should be a straightforward way to automate that...?

zackradisic commented 2 years ago

The Vercel build step will copy the docs from the root dir for the site (see here), but you're right in that we definitely need to automate populating examples from the folder into the site's dropdown. I can write a quick script to do that 👍

jwfxpr commented 2 years ago

The Vercel build step will copy the docs from the root dir for the site (see here)

Okay, well... Perhaps I'm missing something? Because I can see there in the json that something seems to be happening with the docs (again, web dev is not my thing), and yet the docs on the page are the same as the first version of the docs, so whatever it's doing doesn't appear to be following through to the page correctly.

🤷‍♂️

bbrk24 commented 2 years ago

What's the status on this? I have a branch that fixes this at least temporarily, see the diff here, but if it's supposed to be done automatically that's a deeper issue I wouldn't know how to fix.