Skip to content

Update site copyright year to 2026 in docfx.json#1290

Draft
jbampton wants to merge 1 commit into
apache:masterfrom
jbampton:fix-website-copyright-year
Draft

Update site copyright year to 2026 in docfx.json#1290
jbampton wants to merge 1 commit into
apache:masterfrom
jbampton:fix-website-copyright-year

Conversation

@jbampton

@jbampton jbampton commented May 2, 2026

Copy link
Copy Markdown
Member

There was 2024 and 2025 in two different places so made both 2026

@NightOwl888

Copy link
Copy Markdown
Contributor

Thanks. There is an issue with the copyright date, but the issue is that updating it shouldn't be a manual task, but an automated one. We already have automation to do that in docs.ps1 at the time we build the docs site:

$DocFxJsonContent._appFooter = "Copyright &copy; $((Get-Date).Year) The Apache Software Foundation, Licensed under the <a href='http://www.apache.org/licenses/LICENSE-2.0' target='_blank'>Apache License, Version 2.0</a><br/> <small>Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation. <br/>All other marks mentioned may be trademarks or registered trademarks of their respective owners.</small>"

However, the automation is missing from site.ps1 (the main website):

https://github.com/apache/lucenenet/blob/fa6b6cfe92fa5be74cf7cc8f17ba225cbadb06c3/websites/site/site.ps1

So, in the former, all of that text is replaced and this date never gets deployed. Maybe it would make more sense to change the string to "auto-inserted" so it won't look like a problem that it is out of date to people who maintain the repo.

We have documentation on how to build the website if you want to take a stab at updating the script to insert the footer (and current year) automatically so this is automated in both places.

@paulirwin
paulirwin marked this pull request as draft May 18, 2026 14:32
@paulirwin

Copy link
Copy Markdown
Contributor

Converting this to draft since we need to address the changes @NightOwl888 mentioned above.

@jbampton

Copy link
Copy Markdown
Member Author

Just following up on this issue. My Linux machine is no longer working so now I am using a Mac.

I used Homebrew and installed both the dotnet and powershell formula.

Got the website now running on localhost see the two images of my desktop.

Perhaps going forwards I can work on improving the website and docs.

Screenshot 2026-06-20 at 6 51 39 am Screenshot 2026-06-20 at 6 51 45 am

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 this pull request may close these issues.

3 participants