openhab / website

This repository contains the final artifacts from which the project website is served.
https://www.openhab.org/
21 stars 47 forks source link

Search returns broken duplicates for "Developer Guide" #98

Open wborn opened 6 years ago

wborn commented 6 years ago

The search seems to return broken duplicates for "Developer Guide".

"Static Code Analysis" Example

Search for "code":

staticcodeanalysis

Hit Result Link
1 Broken https://www.openhab.org/docs/developer/development/guidelines/#static-code-analysis
2 OK https://www.openhab.org/docs/developer/development/guidelines.html#static-code-analysis

"Sign your Work" Example

Search for "sign":

signyourwork

Hit Result Link
1 Broken https://www.openhab.org/docs/developer/contributing/contributing/#sign-your-work
2 OK https://www.openhab.org/docs/developer/contributing/contributing.html#contribution-guidelines
ghys commented 6 years ago

Indeed. This seems to be the same problem as https://github.com/openhab/website/issues/73#issuecomment-407542705. Still haven't identified the root cause why those broken URLs return a 200 response.

@s-pace could we get your help again with some stop_urls for the 2 broken pages above (the others in the developer guide seem OK)? 😓 I can try submitting a PR to https://github.com/algolia/docsearch-configs/blob/master/configs/openhab.json if you prefer but I'm afraid to get it wrong. Thanks in advance!