Closed halsaphi closed 2 days ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
docs2 | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Nov 19, 2024 7:56am |
Someone is attempting to deploy a commit to the o1labs Team on Vercel.
A member of the Team first needs to authorize it.
@45930 -> I'm not aware of a way to do this in Docusaurus - though I'm no expert, so if you can find a way please let me know - other option is to set it to "2024" - though this would require an update next year.
@halsaphi So one thing you can do is export a new constant from src/constants.ts
and set it to '2024'. Then either add a ci rule that tests the constant against the current year, or write a prebuild script (just some js that gets run automatically before build) to check the value and re-write the file if it's wrong.
I don't think updating it manually once per year is a bad idea either.
@45930 - hardcoded the value -> can you merge so docs have correct copyright notice. This will need updating again in a few months.
Hi guys, can we get this merged please ? It's 5 days this is open just to change the year. Thanks.
Update to footer to have the correct copyright date.
Adding a getdate function and using it to always have correct copyright date.