Updated .htaccess copy and release procedure#1010
Merged
Merged
Conversation
…copied to the build output by configuring them in docfx.json instead of using Powershell. Moved the starting location of those files to lucenetemplate (alongside doap_Lucene_Net.rdf and web.config).
…est" or "absoluteLatest" to the current version so we will match what NuGet does.
…file when updating the website for the release.
3 tasks
asfgit
pushed a commit
that referenced
this pull request
Nov 6, 2024
* website: Fixed .htaccess and .gitattributes so they will reliably be copied to the build output by configuring them in docfx.json instead of using Powershell. Moved the starting location of those files to lucenetemplate (alongside doap_Lucene_Net.rdf and web.config). * .htaccess: Updated rewrite rule to redirect from either "absolute-latest" or "absoluteLatest" to the current version so we will match what NuGet does. * website: make-release.md: Added instructions to update the .htaccess file when updating the website for the release.
paulirwin
pushed a commit
to paulirwin/lucene.net
that referenced
this pull request
Jun 16, 2026
* website: Fixed .htaccess and .gitattributes so they will reliably be copied to the build output by configuring them in docfx.json instead of using Powershell. Moved the starting location of those files to lucenetemplate (alongside doap_Lucene_Net.rdf and web.config). * .htaccess: Updated rewrite rule to redirect from either "absolute-latest" or "absoluteLatest" to the current version so we will match what NuGet does. * website: make-release.md: Added instructions to update the .htaccess file when updating the website for the release.
This was referenced Jun 23, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary of the changes (Less than 80 chars)
Fixes #1005
Description
This updates the website:
.htaccessand.gitattributesfiles using docfx during the website build rather than using Powershell to do it, which seems to be flakey.absolute-latestorabsoluteLatestto redirect to the absolute latest version. The latter is the convention that NuGet uses..htaccessfile is in themake-release.mddocument.