Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not rendering :::info sections correctly #6

Closed
coder0107git opened this issue Mar 5, 2024 · 3 comments · Fixed by #9
Closed

Not rendering :::info sections correctly #6

coder0107git opened this issue Mar 5, 2024 · 3 comments · Fixed by #9

Comments

@coder0107git
Copy link
Contributor

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
Copy link
Collaborator

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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 ¯\_(ツ)_/¯

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants