Problem 2270 - Search results return invalid URLs (".html" file suffix replaced with "undefined")
Summary: Search results return invalid URLs (".html" file suffix replaced with "undefi...
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Application Developers Guide (show other problems)
Version: 10.6
Hardware: All All
: P4 major
Assignee: alexander.howard
URL:
Depends on:
Blocks:
 
Reported: 2020-08-29 22:57 CEST by Michael Kelsey
Modified: 2020-09-18 17:56 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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!