Make error page version aware #2935
                
     Merged
            
            
          
  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.
  
    
  
    
Current status:
If you go to https://doc.ibexa.co/en/4.6/ai_actions/configure_ai_actions/ , then all the links from the table of contents redirect to the‼️  ) are about 4.6
latestversion - even though the page look (and the TOC contentAfter this PR:
All links from the TOC redirect to the correct version.
I've also updated the error page a bit, to highlight the presence of search - the missing page is used to create the initial search query.
Local screenshot:

with the search link pointing at http://doc.ibexa.co/en/latest/search_results/?sq=ai%20actions%20install%20ai%20actions1&p=1
The production website will keep the image.