Problem 2270

Summary: Search results return invalid URLs (".html" file suffix replaced with "undefined")
Product: Documentation Reporter: Michael Kelsey <kelsey>
Component: Application Developers GuideAssignee: alexander.howard
Status: RESOLVED FIXED    
Severity: major    
Priority: P4    
Version: 10.6   
Hardware: All   
OS: All   

Description Michael Kelsey 2020-08-29 22:57:15 CEST
Using the Search box within the App Guide Web version (http://cern.ch/geant4-userdoc/UsersGuides/ForApplicationDeveloper/html/index.html), the returned search results cause 404 Errors.  

The problem is that the generated URLs are malformed; for instance, searching for "G4ParticleGun" (http://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/ForApplicationDeveloper/html/search.html?q=G4ParticleGun&check_keywords=yes&area=default) returns several results, the top two of which are 

"Geant4 General Particle Source": http://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/ForApplicationDeveloper/html/GettingStarted/generalParticleSourceundefined?highlight=g4particlegun

"How to Generate a Primary Event": http://geant4-userdoc.web.cern.ch/geant4-userdoc/UsersGuides/ForApplicationDeveloper/html/GettingStarted/eventDefundefined?highlight=g4particlegun

Replacing the "undefined" string just before the question mark with ".html" produces a valid URL to the right part of the App Guide.
Comment 1 alexander.howard 2020-09-18 17:56:31 CEST
This was an issue with sphinx v3 being incompatible with the sphinx_rtd_theme.
Should now be fixed. Thanks for identifying it!