elemaudio / website

Elementary Audio Website
https://www.elementary.audio
MIT License
4 stars 5 forks source link

Not rendering `:::info` sections correctly #6

Closed coder0107git closed 5 months ago

coder0107git commented 6 months ago

It seems that the :::info sections in the docs aren't being handled correctly. For example the :::info section in the time docs is just being displayed as :::info Some info :::.

nick-thompson commented 5 months ago

Good catch, yes that's a remnant from hosting the original docs with Docusaurus. The current repo uses Next and Nextra, so those :::info tags are not recognized. Nextra has a similar component called the "Callout", so I think the fix here will just be to switch those :::info tags to using Nextra's Callout (https://nextra.site/docs/guide/built-ins/callout).

Would you be willing to make a small PR to fix that? 🙏 Otherwise I should be able to get to it probably next week

coder0107git commented 5 months ago

I'll make a PR for that. I updated a few pages and noticed that the search still has the old results. Do you know of anyway to reindex the pages or clear the search cache?

coder0107git commented 5 months ago

The PR deploy preview doesn't seem to have the weird search index issue so I guess I was just seeing old search cache stuff ¯\_(ツ)_/¯