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

Feature Request: functionality equivalent to Documenter's warner.js #238

Open
ajinkya-k opened this issue Mar 11, 2025 · 5 comments
Open

Comments

@ajinkya-k
Copy link

Documenter jl has warner.js to add a "warning" banner at the top of each page. Does such a feature exist in DocumenterVitepress? If not this is a feature request I guess :)

@asinghvi17
Copy link
Collaborator

It doesn't, but it could be added relatively easily I think?

@ajinkya-k ajinkya-k changed the title warner.js equivalent Feature Request: functionality equivalent to Documenter's warner.js Mar 11, 2025
@lazarusA
Copy link
Collaborator

lazarusA commented Mar 11, 2025

I could add an adds (warning) bar at the top, as a component, maybe useful also for highlighting news, events, releases.

@thofma
Copy link
Contributor

thofma commented Mar 11, 2025

I have a warner at https://github.com/thofma/Hecke.jl, see https://docs.hecke.thofma.com/v0.35.9/. But it stopped working after I updated DV and I am not sure I fixed it yet.

@ajinkya-k
Copy link
Author

@thofma how did you add it?

@ajinkya-k
Copy link
Author

I could add an adds (warning) bar at the top, as a component, maybe useful also for highlighting news, events, releases.

That sounds great!

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

No branches or pull requests

4 participants