vogievetsky commented on a change in pull request #8593: Website: stricter
replace
URL: https://github.com/apache/incubator-druid/pull/8593#discussion_r328351435
##########
File path: website/script/fix-path.js
##########
@@ -30,8 +30,8 @@ try {
// Fix doc paths
replace.sync({
files: './build/ApacheDruid/docs/**/*.html',
- from: /\/docs\//g,
- to: '/docs/' + urlVersion + '/',
+ from: /\/docs\/([^">]+\.html)/g,
Review comment:
actually... now that I think about it we could make it even stronger by
making sure that we have `"/docs/...` instead of `/docs/...`
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]