defstudio / telegraph

Telegraph is a Laravel package for fluently interacting with Telegram Bots
MIT License
675 stars 116 forks source link

Upgrade documentation to Nuxt 3 + Docus #459

Closed jorisdrenth closed 8 months ago

jorisdrenth commented 8 months ago

While fixing the WSOD of the documentation I was playing around with Nuxt for a while. The current setup uses Nuxt 2 with some sort of default Nuxt docs template. When running npm install, 16 packages are marked as deprecated and there are vulnerabilities: 24 vulnerabilities (16 moderate, 8 high). This is after I did an npm audit fix earlier this weekend which fixed some critical ones.

While we are waiting for the new documentation I didn't want to hold back more up to date code that I have laying around (eg this build has no vulnerabilities). Here's my PR with Nuxt 3 using the Docus theme (the current theme is not supported in Nuxt 3 and this looks like the new default one).

The result can be previewed here: https://jorisdrenth.github.io/telegraph/

fabio-ivona commented 8 months ago

@jorisdrenth I think it is fine, thanks!